loader eingefügt

This commit is contained in:
2024-10-29 16:24:59 +01:00
parent a61887cbb0
commit 414e298453
6 changed files with 58 additions and 19 deletions

View File

@@ -19,12 +19,12 @@ import QtQuick.Controls.Material
// }
ApplicationWindow
Item
{
width: 640
height: 480
visible: true
title: qsTr("PYQCRM - Einstellungen")
Material.theme: Material.Dark
Material.accent: Material.BlueGrey

View File

@@ -1,9 +1,25 @@
import QtQuick
import QtQuick.Window
import QtQuick.Controls
import QtQuick.Controls.Material
Window {
ApplicationWindow
{
id: window
width: 640
height: 480
visible: true
title: qsTr("Hello World")
Material.theme: Material.Dark
Material.accent: Material.BlueGrey
title: bad_config? "Pyqcrm Einstellungen":"Pyqcrm"
Loader
{
id: mainWindow
source: bad_config? "firststart.qml":"start.qml"
}
}

13
gui/start.qml Normal file
View File

@@ -0,0 +1,13 @@
import QtQuick
Item
{
anchors.fill: parent
window.width: 1080
parent.height: 1920
}