Hi,
I have two view modes for my application. In one mode I want to hide some QToolButtons available in the toolbar. Both setHidden and setVisible is not hiding the tool button.
Can someone please help ?
Thanks a lot.
Hi,
I have two view modes for my application. In one mode I want to hide some QToolButtons available in the toolbar. Both setHidden and setVisible is not hiding the tool button.
Can someone please help ?
Thanks a lot.
Mithin
www.mithin.in
Maybe you should use QAction::setVisible() on actions which are represented by the buttons instead?
But if I use QAction::setVisible(), will the action not be removed from the menu also ?
Mithin
www.mithin.in
Yes, it will.
Bookmarks