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

CLONE - ButtonStyle checkable bug

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.2.1
    • Fix Version/s: 5.3.0 RC1
    • Component/s: Quick: Controls 1
    • Labels:
      None
    • Environment:
      Linux, Mac OS X (OS independent), Qt 5.2.1 or higher I suppose
    • Commits:
      qtquickcontrols#stable: 9b206d4b0836f0f89aa667b44c6ac0a963808366

      Description

      Problem with checkable Button when using ButtonStyle. Created a patch, based on QTBUG-32542

      import QtQuick 2.2
      import QtQuick.Controls 1.1
      import QtQuick.Controls.Styles 1.1
      //...
      Button {
          text: "test"
          checkable: true // doesn't work when using "style"
          style: ButtonStyle {
              }
      }

        Attachments

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

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            yetanotherandreyev Alexey Andreyev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes