Registered Member
|
Hi all
Apparently, a submenu can be added to an ...ui.rc file like so:
I can access the actions defined like so:
But how can I access the "bar" menu's menu action to assign an icon and/or enable or disable the menu? And can the menu's text also be set programatically (using the menu action) or do I have to define the translatable string in the ui.rc file? Thanks in advance! Cheers, Tobias |
Registered Member
|
Thanks to the kde-devel mailing list (thanks a lot Alexander Semke!), I can finally answer this myself:
After having called
It's possible to get a pointer to a menu like so:
To do things like that:
|
Registered Member
|
Look this video about this
https://www.youtube.com/watch?v=NfsCqGv3W60 |
Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]