Right click menu, sub menu item
-
hi. i have been away from qt programming for awhile. i am just coming back to qt now and i need some help. when i right click the combobox, a right menu is shown. i would like to add a sub menu to it but i can't remember how.
-
"Add a new menu to the current menu":http://qt-project.org/doc/qt-5.0/qmenu.html#addMenu
-
i solved it with the following code...
Menu.addMenu(&menu2);