Hello,
In my soft, I've got a windows and a menu item and related action to control the window's visibility. The action is checkable, so I can do
Qt Code:
connect(action, SIGNAL(toggled(bool)), window, SLOT(setVisible(bool)));To copy to clipboard, switch view to plain text mode
Is there an easy way to do the opposite -- ie. have the toggled state of the action updated whenever the visibility of the window changes?
TIA,
Antoine
Bookmarks