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

Allow signals forwarding in QML

XMLWordPrintable

      In QML it's possible to alias properties. It would be very convenient to be able to alias signals as well, e.g.

      Item {
         property alias text: label.text
         signal clicked: mouseArea.onClicked()
         Text {
            id: label
            text: "default"
         }
         MouseArea {
            id: mouseArea
         }
      }
      

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

            qtqmlteam Qt Qml Team User
            hhartz Henrik Hartz (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes