projects
/
profile
/
ivi
/
qtdeclarative.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git]
/
tests
/
auto
/
declarative
/
qdeclarativefocusscope
/
data
/
chain.qml
1
import QtQuick 1.0
2
3
Rectangle {
4
id: root
5
width:300; height:400
6
7
property bool focus1: root.activeFocus
8
property bool focus2: item1.activeFocus
9
property bool focus3: fs1.activeFocus
10
property bool focus4: fs2.activeFocus
11
property bool focus5: theItem.activeFocus
12
13
Item {
14
id: item1
15
FocusScope {
16
id: fs1
17
focus: true
18
FocusScope {
19
id: fs2
20
focus: true
21
Item {
22
id: theItem
23
focus: true
24
}
25
}
26
}
27
}
28
}