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

StyleSheet re-apply "qproperty-" and co. on pseudo state changes.

    XMLWordPrintable

Details

    • d71dbe3e9322430dceed9cb2d3f957fbac2ab715 (qt/qtbase/5.15)

    Description

      When using pseudo states, and qproperty in style sheet, then qproperty
      doesn't apply for example:

      QPushButton {
      qproperty-icon: url(:/my/resource/icon.png);
      }

      QPushButton:hover {
      qproperty-icon: url(:/my/resource/icon2.png);
      }

      it will always display one icon.

      Attachments

        1. QTBUG-2982_5.11.1_patch.diff
          2 kB
          Ryan Foster
        2. QTBUG-2982_5.5.1_patch.diff
          2 kB
          Marko Kangas

        Issue Links

          For Gerrit Dashboard: QTBUG-2982
          # Subject Branch Project Status CR V

          Activity

            People

              richard Richard Moe Gustavsen
              engvolds Morten Engvoldsen (Inactive)
              Votes:
              25 Vote for this issue
              Watchers:
              25 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes