Commit af5e2c6b authored by Yuya Nishihara's avatar Yuya Nishihara

Add menu bar

parent 4a6e5809
import QtQuick 2.12 import QtQuick 2.12
import QtQuick.Window 2.12 import QtQuick.Controls 2.12
Window { ApplicationWindow {
visible: true visible: true
width: 640 width: 640
height: 480 height: 480
title: qsTr("Hello World") title: qsTr("Hello World")
menuBar: MenuBar {
Menu {
title: qsTr("&File")
Action { text: qsTr("&Open...") }
MenuSeparator {}
Action { text: qsTr("&Quit") }
}
}
} }
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