moment/harmonyqml/components/Window.qml

19 lines
362 B
QML
Raw Normal View History

2019-03-22 14:28:14 +11:00
import QtQuick 2.7
import QtQuick.Controls 2.2
import QtQuick.Window 2.7
2019-03-22 14:28:14 +11:00
ApplicationWindow {
2019-04-28 14:44:55 +10:00
id: appWindow
2019-03-22 14:28:14 +11:00
visible: true
width: Math.min(Screen.width, 1152)
height: Math.min(Screen.height, 768)
2019-03-22 14:28:14 +11:00
onClosing: Backend.clients.removeAll()
2019-03-22 14:28:14 +11:00
Loader {
anchors.fill: parent
source: "UI.qml"
2019-03-22 14:28:14 +11:00
objectName: "UILoader"
}
}