Details
-
Suggestion
-
Resolution: Done
-
Not Evaluated
-
5.4.0
-
None
Description
In the following example, assume mousePressed includes a pos parameter
SignalTransition { signal: mousePressed guard: pos.x > 15 onTriggered: console.log(pos.x) }
In this example, the guard clause has access to the pos parameter, but onTriggered does not (console.log(pos.x) will fail). It would be helpful to have this information available in onTriggered.
Attachments
For Gerrit Dashboard: QTBUG-46897 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
144887,4 | Provide access to signal parameters in SignalTransition::onTriggered. | dev | qt/qtdeclarative | Status: ABANDONED | -2 | 0 |
146111,2 | Provide access to signal parameters in SignalTransition::onTriggered. | 5.6 | qt/qtdeclarative | Status: MERGED | +2 | 0 |