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

add signal checkedButtonChanged() to QButtonGroup

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P3: Somewhat important
    • 5.2.0
    • 4.7.0
    • None
    • fd871694e74debc1bde5a7a19c6a5b94f3069bb2

    Description

      For exclusive QButtonGroup I would like to react to the change of checked button, with information which button got checked (and maybe which got unchecked).

      Right now we get only signals about pressed/released/clicked, which will not be emitted when a button in the group gets checked from the code (right?).

      The best probably would be to have both:

      void checkedButtonChanged(int new_id, int old_id);
      

      and

      void checkedButtonChanged(QAbstractButton * new, QAbstractButton * old);
      

      Attachments

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

        Activity

          People

            tmartsum Thorbjørn Lund Martsum
            wiecko Marek Wieckowski
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes