summaryrefslogtreecommitdiffstats
path: root/examples/declarative/keyinteraction/focus/Core/ContextMenu.qml
blob: 49a54bc61a1fab3175f987e0cfe1a726419ff030 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import Qt 4.7

FocusScope {
    id: container

    property bool open: false

    Item {
        anchors.fill: parent

        Rectangle {
            anchors.fill: parent
            color: "#D1DBBD"
            focus: true
            Keys.onRightPressed: mainView.focus = true
        }
    }
}