Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import QtQuick 2.12
- import QtQuick.Window 2.12
- import QtQuick.Controls 2.12
- import QtQuick.Layouts 1.12
- import QtQml.Models 2.12
- ApplicationWindow {
- visible: true
- menuBar: MenuBar {
- Menu {
- title: qsTr("&File")
- Action { text: qsTr("&New...") }
- Action { text: qsTr("&Open...") }
- Action { text: qsTr("&Save") }
- Action { text: qsTr("&Save As...") }
- MenuSeparator { }
- Action { text: qsTr("&Quit") }
- }
- Menu {
- title: qsTr("&Settings")
- Action { text: qsTr("&Theme") }
- Action { text: qsTr("&Grid") }
- }
- }
- header: ToolBar {
- RowLayout{
- id: buttons
- Button {
- text: "add 2d"
- }
- Button {
- text: "add 3d"
- }
- }
- }
- footer: TabBar {
- Text {
- // ...
- }
- }
- RowLayout{
- id: layout
- spacing: 250
- Text {
- text: "spaces"
- }
- Text {
- text: "screen"
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement