GUI anpassen und ApplicatioWindow übergeben
This commit is contained in:
20
gui/main.qml
20
gui/main.qml
@@ -5,19 +5,25 @@ import QtQuick.Controls.Material
|
||||
|
||||
ApplicationWindow
|
||||
{
|
||||
id: window
|
||||
width: 640
|
||||
height: 480
|
||||
id: appWindow
|
||||
width: Screen.width * .6
|
||||
height: Screen.height * .6
|
||||
visible: true
|
||||
Material.theme: Material.Dark
|
||||
Material.accent: Material.BlueGrey
|
||||
title: bad_config? "Pyqcrm Einstellungen":"Pyqcrm"
|
||||
title: "PYQCRM"
|
||||
Loader
|
||||
{
|
||||
id: mainWindow
|
||||
|
||||
|
||||
id: appLoader
|
||||
anchors.fill: parent
|
||||
// {
|
||||
// left: parent.left
|
||||
// right: parent.right
|
||||
// top: parent.top
|
||||
// bottom: parent.bottom
|
||||
// }
|
||||
source: bad_config? "firststart.qml":"start.qml"
|
||||
property alias window: appWindow
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user