blob: 6cbf524ec29c19eb2f27cd09207ae092fc79ad8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
import QtQuick 2.0
Item {
id: root
property int input: 1
property int test: 9
states: [
State {
name: "portrait"
when: root.input == 1
PropertyChanges {
target: root
test: 3
}
}
]
}
|