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

QStyleSheet: implement support for setting icon on a QPushButton

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.15
    • 5.12.3
    • Widgets: Style Sheets
    • None
    • 01ec11507d7ef3de09bad9d1ef8e6d4a3d6c4428 (qt/qtbase/5.15)

    Description

      Implement support for seting a stylesheet that specifies the icon of a QPushButton:

      QPushButton {
         icon: url(:/qt-project.org/styles/commonstyle/images/standardbutton-apply-32.png);
      }
      

      Attachments

        Issue Links

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

          Activity

            People

              richard Richard Moe Gustavsen
              richard Richard Moe Gustavsen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes