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

QToolButton not using programmatically set QIcon variations

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P2: Important P2: Important
    • None
    • 5.13.1
    • None
    • mac or windows
    • macOS, Windows

      if you create a QIcon programmatically, and add QImages to it for all the states, then programmatically set it into a QToolButton, then, when the user clicks the button, the button does not show the "pressed" variant, or when the window is disabled, the button does not show the "disabled" variant

      on Windows, the button "depresses" down and to the right, instead of drawing the "pressed" variant. ??

      see minimal project, attached

        1. buttons.zip
          17 kB
          David M. Cotter
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            davecotter David M. Cotter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes