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

Clear checked in QButtonGroup

    XMLWordPrintable

Details

    Description

      QButtonGroup Class could have a function that would clear out the selections or setCheckedId() which could be given value -1 if none of the buttons are selected.

       

      User use case:

      QButtonGroup has two checkboxes added. Group is wanted to keep exclusive. Is one checkbox button is clicked twice the group should be unchecked.

      Current example workaround 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
            tero.pelkonen Tero Pelkonen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes