Files correlati : cg0.exe cg0700a.msk cg0700b.msk cg3.exe cg4.exe Bug : Commento: Merge 1.0 libraries
21 lines
323 B
QML
21 lines
323 B
QML
import Qt.test 1.0
|
|
import QtQuick 1.0
|
|
|
|
Item {
|
|
id: item
|
|
width: 100; height: 100
|
|
MyRectangle.foo: 0
|
|
|
|
states: State {
|
|
name: "foo1"
|
|
PropertyChanges {
|
|
target: item
|
|
MyRectangle.foo: 1
|
|
width: 50
|
|
}
|
|
}
|
|
|
|
Component.onCompleted: item.state = "foo1"
|
|
}
|
|
|