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

Cannot determine sender of a signal

XMLWordPrintable

      The intention is to perform some resetting function on sibling elements when a particular element is triggered. For example, a menu was clicked to expand it; close other open menus.

      It appears comparison doesn't work when the item is passed to a different component. I'm too used to my C++ world

      How can I achieve the effect I want here?

        1. MyItem.qml
          0.3 kB
        2. qobject_sender.qml
          0.6 kB
        3. qobject_sender-workaround.qml
          0.7 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            aakenned Aaron Kennedy
            steveire Stephen Kelly (Personal)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes