Hmmm, thanks. On Apr 29, 2012 9:36 PM, "Albert Astals Cid" <aa...@kde.org> wrote:
> El Diumenge, 29 d'abril de 2012, a les 21:20:47, Yogesh Marwaha va > escriure: > > Kxmlgui might suffice but i have a working implementation on kmainwindow, > > minus the feature i mentioned. Basically, I have 4 dock widgets in main > > window, visibility of which is governed by 3 view profiles. And the main > > window is a plugin. I cannot explain it, but if you really want i can > share > > source - it is a fairly working media player. > > No thanks. > > In my opinion the fact that you are trying to use "advanced" features of > kdeui > like the toggling of text, etc without using xmlgui puts you in a "you are > on > your own" position. Your best bet is having a look at kdelibs code and see > what it does and then do the same yourself. > > Albert > > > > > On Apr 29, 2012 8:44 PM, "Albert Astals Cid" <aa...@kde.org> wrote: > > > El Diumenge, 29 d'abril de 2012, a les 20:33:42, Yogesh Marwaha va > > > > > > escriure: > > > > On 29 April 2012 19:20, Albert Astals Cid <aa...@kde.org> wrote: > > > > > El Diumenge, 29 d'abril de 2012, a les 19:07:57, Yogesh Marwaha va > > > > > > escriure: > > > > >> Hi, > > > > >> > > > > >> I'm using KToolBar inside KMainWindow. Text of KToolBar's buttons > can > > > > >> be changed individually. I have managed to restore toolbar's state > > > > >> accross executions, but i'm finding no way to restore the state of > > > > >> hidden/shown text of buttons. Do anyone has an idea about how can > it > > > > >> be done? > > > > > > > > > > I'm not sure if you mean when the users does Right click on > toolbar -> > > > > > Text > > > > > Position -> something > > > > > > > > > > If you mean that, kxmlgui does that for you for free and you should > > > > > not > > > > > add > > > > > any extra code for it. > > > > > > > > > > If you don't mean that, please explain better what you mean. > > > > > > > > > > Cheers, > > > > > > > > > > Albert > > > > > > > > > >> Regards, > > > > >> > > > > >> Yogesh > > > > > > > > If "Rigth click on toolbar -> Text Position -> Text Alongside Icons", > > > > then one can disable the text of a particular button from being shown > > > > (by right-clicking on it). I want to preserve this setting without > > > > using kxmlgui (because, presumably, it wont offer me fine control > over > > > > my main window (which i'm having atm)). > > > > > > I'm curious as to which fine control over your main window kxmlgui > doesn't > > > provide. > > > > > > Albert > > > > > > > Regards, > > > > > > > > >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to > > > > > > unsubscribe > > > > > > > >> << > > > >> > > > >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to > > > > > > unsubscribe << > > >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to > unsubscribe << >
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<