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

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

          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