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

Allow signals forwarding in QML

    XMLWordPrintable

Details

    Description

      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
         }
      }
      

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes