aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickitem/data/focusSubItemInNonFocusScope.qml
blob: 0e507107179746bdf0fe9a8c218f7f022091a10f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import QtQuick 2.0

Rectangle {
    width: 400; height: 400

    FocusScope {
        width: 400; height: 400
        focus: true
        Item {
            width: 400; height: 400
            Item {
                id: dummy
                objectName: "dummyItem"
                focus: true
            }
            TextInput {
                id: ti
                objectName: "textInput"
                focus: true
            }
        }
    }
}