diff options
author | J-P Nurmi <jpnurmi@theqtcompany.com> | 2014-10-16 14:56:43 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@theqtcompany.com> | 2014-10-16 16:51:01 +0200 |
commit | 8d3862ad0289e47bcf31cabfd99d6364ce62d795 (patch) | |
tree | 095a54deb72d335bec7d5cb6551ce4045f759ba4 /tests/auto/controls/data/shortcut | |
parent | cb57f42d458611f7c504ceeba2ebb668e8edf304 (diff) | |
download | qtquickcontrols-8d3862ad0289e47bcf31cabfd99d6364ce62d795.tar.gz |
AbstractCheckable: handle mnemonic
Change-Id: I402d674cb5a88fb0bc7bd41062c97703bc8aefbc
Reviewed-by: Liang Qi <liang.qi@digia.com>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
Diffstat (limited to 'tests/auto/controls/data/shortcut')
-rw-r--r-- | tests/auto/controls/data/shortcut/shortcuts.qml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/controls/data/shortcut/shortcuts.qml b/tests/auto/controls/data/shortcut/shortcuts.qml index 97a575e7..cde1f358 100644 --- a/tests/auto/controls/data/shortcut/shortcuts.qml +++ b/tests/auto/controls/data/shortcut/shortcuts.qml @@ -100,4 +100,14 @@ 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" + } } |