-
Task
-
Resolution: Fixed
-
Not Evaluated
-
QSR 2.2
-
None
-
a6e6ea7e8 (2.2), 026cdfe2d (dev)
QUL supports QML states only for root items, so it is impossible to define the visible states as in the following example:
SafePicture {
id: iconBattery
objectName: "iconBattery"
width: 30
height: 30
color: "#e41e25"
fillColor: "black"
source: "iso-icons/iso_grs_7000_4_0247.dat"
states: [
State {
name: "ON"
PropertyChanges {
target: iconBattery
visible: true
}
},
State {
name: "OFF"
PropertyChanges {
target: iconBattery
visible: false
}
}
]
}
We would need to add an API to fetch the clear CRC value for the items that do not have states.