summaryrefslogtreecommitdiffstats
path: root/tests/auto/qtquick2/qquickitem2/data/keyspriority.qml
blob: 114cf0488a74bd5b60f9a11f76f49b3bd9dd0ead (plain)
1
2
3
4
5
6
7
8
9
import QtQuick 2.0
import Test 1.0

KeyTestItem {
    focus: true
    Keys.onPressed: keysTestObject.keyPress(event.key, event.text, event.modifiers)
    Keys.onReleased: { keysTestObject.keyRelease(event.key, event.text, event.modifiers); event.accepted = true; }
    Keys.priority: keysTestObject.processLast ? Keys.AfterItem : Keys.BeforeItem
}