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

blockSignals() on object and all children

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • None
    • Core: Object Model
    • None

      I'd like to block signals temporarily on some UI elements.

       

      It seems I need to block signals on every object that is within the widget I want disabled.

      It would be nice to have an overload of QObject::blockSignals and QSignalBlocker that can recursively block signals on an object and all its children, so hat I can simply block them form the top-level widget that the children belong to.

       

      Cheers

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

            thiago Thiago Macieira
            stellarpower Ben Southall
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes