Files correlati : cg0.exe cg0700a.msk cg0700b.msk cg3.exe cg4.exe Bug : Commento: Merge 1.0 libraries
27 lines
445 B
QML
27 lines
445 B
QML
import QtQuick 1.0
|
|
|
|
Rectangle {
|
|
width: 200
|
|
height: 200
|
|
|
|
Rectangle {
|
|
id: rect
|
|
objectName: "greenRect"
|
|
width: 100
|
|
height: 100
|
|
color: "green"
|
|
}
|
|
|
|
states:[
|
|
State {
|
|
name: "a"
|
|
PropertyChanges { target: rect; x: 100 }
|
|
},
|
|
State {
|
|
name: "b"
|
|
extend:"a"
|
|
PropertyChanges { target: rect; y: 100 }
|
|
}
|
|
]
|
|
}
|