fixedloader

This commit is contained in:
2024-11-05 16:26:14 +01:00
parent 4ecec8e25b
commit 493270efc1
8 changed files with 68 additions and 132 deletions

View File

@@ -1,6 +1,6 @@
import QtQuick
import QtQuick.Controls
import QtQuick.Controls.Material
ApplicationWindow
@@ -9,25 +9,31 @@ ApplicationWindow
width: Screen.width * .6
height: Screen.height * .6
visible: true
Material.theme: Material.Dark
Material.accent: Material.BlueGrey
Material.primary: Material.Grey
title: "PYQCRM"
TopBar
{
id:topBar
visible: if (bad_config) visible = false
}
Item
{
id: mainView
}
Loader
{
id: appLoader
anchors.fill: parent
// {
// left: parent.left
// right: parent.right
// top: parent.top
// bottom: parent.bottom
// }
source: bad_config? "firststart.qml":"Start.qml"
anchors
{
left: parent.left
right: parent.right
top: topBar.bottom
bottom: parent.bottom
}
source: bad_config? "firststart.qml":"Dashboard.qml"
property alias window: appWindow
}
}