You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

56 lines
947 B

import QtQuick 2.2
import QtQuick.Controls 1.1
import QtQuick.Controls.Styles 1.1
import QtQuick.Dialogs 1.2
import QtQuick.Layouts 1.1
import QtQuick.Window 2.0
import CodeEditorExtensionManager 1.0
ApplicationWindow {
id: mainApplication
visible: true
width: 1200
height: 600
minimumWidth: 400
minimumHeight: 300
title: qsTr("mix")
menuBar: MenuBar {
Menu {
title: qsTr("File")
MenuItem {
text: qsTr("Exit")
onTriggered: Qt.quit();
}
}
}
Component.onCompleted: {
setX(Screen.width / 2 - width / 2);
setY(Screen.height / 2 - height / 2);
}
MainContent {
}
Dialog {
objectName: "dialog"
id: dialog
height: 400
width: 700
modality: Qt.WindowModal
contentItem: Rectangle {
objectName: "dialogContent"
}
}
Dialog {
objectName: "messageDialog"
id: messageDialog
height: 150
width: 200
modality: Qt.WindowModal
contentItem: Rectangle {
objectName: "messageContent"
}
}
}