PDA

View Full Version : Looking for open source Qt menu item class



lni
17th December 2012, 13:49
I need to build a custom pulldown menu, which can have check box, radio button, sub-menu, etc.

I wonder if there is an open source to make those menu items easily?

Thanks

d_stranz
17th December 2012, 16:30
QAction and QMenu together already have built-in support for icons, check boxes, and sub-menus. If you use QActionGroup to group together several QAction instances, you can add support for exclusive checkbox behavior (which is the same as radio button behavior).

No need for any custom source, it is already there in basic Qt.