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:
toolbarMenuButton->setVisible(!hideAction->isChecked());
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:
qmake -project
qmake
make
qmake -project
qmake
make
To copy to clipboard, switch view to plain text mode
Can anyone give me a hint, what am I missing?
Bookmarks