Changed Folder gui to GUI

This commit is contained in:
2024-11-15 15:41:12 +01:00
parent 167d5ff3fe
commit 9f5e4af741
22 changed files with 25 additions and 17 deletions

49
Gui/main.qml Normal file
View File

@@ -0,0 +1,49 @@
import QtQuick
import QtQuick.Layouts
import QtQuick.Controls
import Gui
ApplicationWindow
{
id: appWindow
width: Screen.width * .6
height: Screen.height * .7
visible: true
title: "PYQCRM"
TopBar
{
id:topBar
anchors
{
rightMargin: 9
leftMargin: 9
}
visible: bad_config? false: true
}
Item
{
id: mainView
}
Loader
{
id: appLoader
anchors
{
left: parent.left
right: parent.right
top: topBar.bottom
bottom: parent.bottom
topMargin: 0
rightMargin: 9
leftMargin: 9
}
source: bad_config? "firststart.qml": "Dashboard.qml"
property alias window: appWindow
}
}