checkbox in floating menu (MainWindow ui)
-
Is it possible to put checkbox or any other kind of modifier near 1 2 3 4 ?
Kindly advise
-
@JacobNovitsky
If I understand right from the symbols at the right of the picture your items are sub-menus, right? Then as I discovered a while ago you cannot usefully have a checkbox against them. You can have a checkbox against items which invoke an action rather than open a sub-menu. -
@JacobNovitsky hi,
You were already answered to that question in this thread of yours.
-
@JacobNovitsky said in checkbox in floating menu (MainWindow ui):
checkbox here before sub-menus
Then you will lose the menu-functionality. Either you have a submenu or an action with checkbox to toggle on and off. Both wont work.
There is a topic from @JonB about this, where we tested and discussed multiple options. Cant find it right now, you could use the forum search function. -
@JacobNovitsky
Exactly as I and @Pl45m4 wrote. As we said, I asked and tried just this maybe a year ago, and it does not work. Checkboxes do not work if the item is a sub-menu, they only work and are intended for use on an item which performs an action.Found the topic: Is a
QMenu
item supposed to be able to be checkable?