Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-73966

When using QMenu::icon:checked inside a stylesheet it is being ignored and has no effect

    XMLWordPrintable

Details

    • 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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vhilshei Volker Hilsheimer
            andysh Andy Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes