Programm-Einstellungen anlegen
This commit is contained in:
@@ -213,6 +213,10 @@ Item
|
||||
{
|
||||
id: cancelBtn
|
||||
text: qsTr("Abbrechen")
|
||||
onClicked:
|
||||
{
|
||||
Qt.quit()
|
||||
}
|
||||
}
|
||||
|
||||
Button
|
||||
@@ -220,7 +224,7 @@ Item
|
||||
id: submitBtn
|
||||
text: qsTr("Weiter")
|
||||
property var grids: [createUserGrid, dbGrid]
|
||||
property var dict: ({})
|
||||
property var pyqcrm_conf: ({})
|
||||
onClicked:
|
||||
{
|
||||
if (bar.itemAt(bar.currentIndex) !== dbTab)
|
||||
@@ -232,12 +236,12 @@ Item
|
||||
|
||||
else
|
||||
{
|
||||
dict = Qmldict.func(submitBtn.grids)
|
||||
console.log(dict)
|
||||
if (dict)
|
||||
config.setConfig(dict)
|
||||
|
||||
appLoader.source = "start.qml"
|
||||
pyqcrm_conf = Qmldict.func(submitBtn.grids)
|
||||
if (pyqcrm_conf)
|
||||
{
|
||||
config.setConfig(pyqcrm_conf)
|
||||
appLoader.source = "start.qml"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,8 +9,8 @@ Item
|
||||
Component.onCompleted:
|
||||
{
|
||||
appLoader.window.title = "pyqcrm"
|
||||
appLoader.window.height = Screen.height
|
||||
appLoader.window.width = Screen.width
|
||||
appLoader.window.height = Screen.height * .5
|
||||
appLoader.window.width = Screen.width * .5
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user