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

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

      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.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes