summaryrefslogtreecommitdiff
path: root/tests/auto/controls/data/shortcut/shortcuts.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/controls/data/shortcut/shortcuts.qml')
-rw-r--r--tests/auto/controls/data/shortcut/shortcuts.qml34
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/auto/controls/data/shortcut/shortcuts.qml b/tests/auto/controls/data/shortcut/shortcuts.qml
index 97a575e7..eac6786e 100644
--- a/tests/auto/controls/data/shortcut/shortcuts.qml
+++ b/tests/auto/controls/data/shortcut/shortcuts.qml
@@ -100,4 +100,38 @@ Rectangle {
text: "&test"
onTriggered: text.text = "alt t pressed"
}
+
+ CheckBox {
+ text: "&checkbox"
+ onClicked: text.text = "alt c pressed"
+ }
+
+ RadioButton {
+ text: "&radiobutton"
+ onClicked: text.text = "alt r pressed"
+ }
+
+ Button {
+ text: "button&1"
+ onClicked: text.text = "alt 1 pressed"
+ }
+
+ Button {
+ action: Action {
+ text: "button&2"
+ }
+ onClicked: text.text = "alt 2 pressed"
+ }
+
+ ToolButton {
+ text: "toolbutton&3"
+ onClicked: text.text = "alt 3 pressed"
+ }
+
+ ToolButton {
+ action: Action {
+ text: "toolbutton&4"
+ }
+ onClicked: text.text = "alt 4 pressed"
+ }
}