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
af5e2c6b
Commit
af5e2c6b
authored
May 15, 2020
by
Yuya Nishihara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add menu bar
parent
4a6e5809
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
main.qml
main.qml
+11
-2
No files found.
main.qml
View file @
af5e2c6b
import
QtQuick
2.12
import
QtQuick
.
Window
2.12
import
QtQuick
.
Controls
2.12
Window
{
Application
Window
{
visible
:
true
width
:
640
height
:
480
title
:
qsTr
(
"
Hello World
"
)
menuBar
:
MenuBar
{
Menu
{
title
:
qsTr
(
"
&File
"
)
Action
{
text
:
qsTr
(
"
&Open...
"
)
}
MenuSeparator
{}
Action
{
text
:
qsTr
(
"
&Quit
"
)
}
}
}
}
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