2019-03-22 14:28:14 +11:00
|
|
|
import QtQuick 2.7
|
|
|
|
import QtQuick.Controls 2.2
|
2019-04-23 04:02:55 +10:00
|
|
|
import QtQuick.Window 2.7
|
2019-03-22 14:28:14 +11:00
|
|
|
|
|
|
|
ApplicationWindow {
|
|
|
|
visible: true
|
2019-04-23 04:02:55 +10:00
|
|
|
width: Math.min(Screen.width, 1152)
|
|
|
|
height: Math.min(Screen.height, 768)
|
2019-03-22 14:28:14 +11:00
|
|
|
|
|
|
|
Loader {
|
|
|
|
anchors.fill: parent
|
2019-04-27 06:02:20 +10:00
|
|
|
source: Backend.clientManager.clientCount < 1 ?
|
2019-04-28 08:00:28 +10:00
|
|
|
"pages/LoginPage/LoginPage.qml" : "pages/MainUI.qml"
|
2019-03-22 14:28:14 +11:00
|
|
|
objectName: "UILoader"
|
|
|
|
}
|
|
|
|
}
|