PDA

View Full Version : Checkboxes in menu items



markcole
4th June 2007, 15:06
I am wanting to have a menu from my main window that will display possible other windows to have open and their status with a check box (like in designer with the various tools), however I am unsure of how to do this.

Any guidance?

wysota
4th June 2007, 15:09
Make the actions you add to menus checkable (QAction::setCheckable(true)).

markcole
4th June 2007, 15:16
Make the actions you add to menus checkable (QAction::setCheckable(true)).

Something so obvious...I would probably have never guessed....Thanks