Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.12.1
-
1ef8188a086c96722f4546ca015cefbe69d7693e (qt/qtbase/dev) 44308ce1e0b09bddc4af6b4c03e03de5e82a66d3 (qt/qtbase/6.2)
Description
When using QMenu::icon:checked inside a stylesheet it is being ignored and has no effect. Being able to style the icon case would be ideal (and is currently documented to be possible) since now that icons and checkboxes can exist side by side, it would enable the stylesheet to determine what exactly is drawn in this case for a checked icon.
Ideally it will respect this rule and not draw an icon and a checkbox side by side. Alternatively, adding support for something like a hasIcon selector would be good too.