Commit 752c4f9a authored by Yuya Nishihara's avatar Yuya Nishihara

Add menu actions to test &mnemonic behavior

parent 7fb38724
......@@ -24,7 +24,10 @@ ApplicationWindow {
id: debugMenu
visible: false
title: qsTr("&Debug")
Action { text: qsTr("Static action") }
Action { text: qsTr("&Static action") }
Action { text: qsTr("&Do it") }
Action { text: qsTr("&Do it") }
Action { text: qsTr("&Do it") }
}
// Instantiated dynamically
......@@ -33,13 +36,13 @@ ApplicationWindow {
Menu {
visible: false
title: qsTr("D&ynamic")
Action { text: qsTr("Static action") }
Action { text: qsTr("&Static action") }
}
}
Action {
id: dynamicallyRegisteredAction
text: qsTr("Dynamically registered action")
text: qsTr("D&ynamically registered action")
}
Component.onCompleted: {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment