summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeitem/data/keyspriority.qml
blob: 171536b9d85c5b6f8bfd009860a60e606db87fe1 (plain)
1
2
3
4
5
6
7
8
9
import Qt 4.7
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
}