Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Yuya Nishihara
quick-controls-menu
Commits
752c4f9a
Commit
752c4f9a
authored
Aug 27, 2020
by
Yuya Nishihara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add menu actions to test &mnemonic behavior
parent
7fb38724
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
main.qml
main.qml
+6
-3
No files found.
main.qml
View file @
752c4f9a
...
...
@@ -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
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment