aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qtquick2/qquickfocusscope/data/canvasFocus.qml
blob: 7d8dac5a223f4de7008ce6bcce40ba8e237a08ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import QtQuick 2.0

Column {
    FocusScope {
        objectName: "scope1"
        width: 20 ;height: 20
        focus: true
        Rectangle {
            objectName: "item1"
            anchors.fill: parent
            focus: true
        }
    }
    FocusScope {
        objectName: "scope2"
        width: 20 ;height: 20
        Rectangle {
            objectName: "item2"
            anchors.fill: parent
        }
    }
}