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

There's no way to get if a button was toggled by user or by setting checked property

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • 5.7.0 Beta
    • 5.6
    • Quick: Controls 2
    • None

    Description

      Sometimes it is useful to check if the check-state of a button was changed by a click. For this QtWidgets QAbstractButton has clicked(bool checked) signal. However QtQuick Controls 2 Button sends clicked signal before check-state is changed. So there's no any clear way to distinguish the checked property change by a real click from the value assignment.

      Attachments

        Issue Links

          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
              kds Denis Klychkov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes