Simple problem:
I have this menu on a toolbar (a QToolButton which has a QMenu attached). Then another checkable action which shows/hides that menu. But it does not. This code does not work:
Qt Code:
toolbarMenuButton->setVisible(!hideAction->isChecked());To copy to clipboard, switch view to plain text mode
Full code attached here. Put it in a new dir, and to compile type:
Can anyone give me a hint, what am I missing?
Bookmarks