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

QToolButton not using programmatically set QIcon variations

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

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

        Activity

          People

            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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes