Details
-
User Story
-
Resolution: Done
-
Not Evaluated
-
None
-
QSR 1.2
-
None
-
Ib80aba895ae173678e6e77b2ec2b7c09e65f0cc0
Description
In 1.2 it possible to define states for the safety elements using QML state.
SafePicture { id: engineIcon width: 40 height: 40 x: 40 y: 40 source: "iso_grs_7000_4_2423.dat" states: [ State { name: "warning" PropertyChanges { target: icon; width: 80; height: 80; color: "yellow"} }, State { name: "fault" PropertyChanges \{ target: icon; width: 80; height: 80; color: "red"} } ] }
In the safe renderer there is introduced the event which changes the item state:
QSafeEventChangeState(item id, state name)
Attachments
Issue Links
- is required for
-
QSR-695 Update Safety manual for QSR 1.2
-
- Closed
-
For Gerrit Dashboard: QSR-751 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
307371,3 | Doc: Update instructions how to change state in animations | 1.2 | tqtc-boot2qt/qtsaferenderer | Status: MERGED | +2 | 0 |