Files correlati : cg0.exe cg0700a.msk cg0700b.msk cg3.exe cg4.exe Bug : Commento: Merge 1.0 libraries
20 lines
345 B
QML
20 lines
345 B
QML
import Qt.test 1.0
|
|
import QtQuick 1.0
|
|
|
|
MyRectangle {
|
|
id: rect
|
|
width: 100; height: 100
|
|
color: "red"
|
|
|
|
states: State {
|
|
name: "aBlueDay"
|
|
PropertyChanges {
|
|
target: rect
|
|
onPropertyWithNotifyChanged: { rect.color = "blue"; }
|
|
}
|
|
}
|
|
|
|
Component.onCompleted: rect.state = "aBlueDay"
|
|
}
|
|
|