2 Varianten GUI mit Material.theme Unterstützung
This commit is contained in:
@@ -25,8 +25,14 @@ ApplicationWindow
|
|||||||
height: 480
|
height: 480
|
||||||
visible: true
|
visible: true
|
||||||
title: qsTr("PYQCRM - Einstellungen")
|
title: qsTr("PYQCRM - Einstellungen")
|
||||||
|
<<<<<<< HEAD
|
||||||
Material.theme: Material.Dark
|
Material.theme: Material.Dark
|
||||||
Material.accent: Material.BlueGrey
|
Material.accent: Material.BlueGrey
|
||||||
|
=======
|
||||||
|
Material.theme: Material.White
|
||||||
|
|
||||||
|
|
||||||
|
>>>>>>> db16247 (2 Varianten GUI mit Material.theme Unterstützung)
|
||||||
|
|
||||||
ColumnLayout
|
ColumnLayout
|
||||||
{
|
{
|
||||||
@@ -44,6 +50,16 @@ ApplicationWindow
|
|||||||
{
|
{
|
||||||
text: qsTr("Datenbank einrichten")
|
text: qsTr("Datenbank einrichten")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TabButton
|
||||||
|
{
|
||||||
|
text: qsTr("TEST TAB") //NUR TESTTAB UM LAYOUT OPTIONEN ZU TESTEN
|
||||||
|
}
|
||||||
|
|
||||||
|
TabButton
|
||||||
|
{
|
||||||
|
text: qsTr("TEST TAB 2")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
StackLayout
|
StackLayout
|
||||||
@@ -104,13 +120,21 @@ ApplicationWindow
|
|||||||
id: settingsDB
|
id: settingsDB
|
||||||
Layout.fillWidth: parent.width
|
Layout.fillWidth: parent.width
|
||||||
|
|
||||||
|
<<<<<<< HEAD
|
||||||
GridLayout
|
GridLayout
|
||||||
|
=======
|
||||||
|
Rectangle
|
||||||
|
>>>>>>> db16247 (2 Varianten GUI mit Material.theme Unterstützung)
|
||||||
{
|
{
|
||||||
id: dbGrid
|
id: dbGrid
|
||||||
columns: 2
|
columns: 2
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
||||||
|
<<<<<<< HEAD
|
||||||
Label
|
Label
|
||||||
|
=======
|
||||||
|
GridLayout
|
||||||
|
>>>>>>> db16247 (2 Varianten GUI mit Material.theme Unterstützung)
|
||||||
{
|
{
|
||||||
text: qsTr("DB-Host:")
|
text: qsTr("DB-Host:")
|
||||||
Layout.alignment: Qt.AlignRight
|
Layout.alignment: Qt.AlignRight
|
||||||
@@ -182,6 +206,165 @@ ApplicationWindow
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
//ANFANG TESTCODE KEINE IDS VERGEBEN
|
||||||
|
Item
|
||||||
|
{
|
||||||
|
|
||||||
|
Frame
|
||||||
|
{
|
||||||
|
anchors.fill: parent
|
||||||
|
anchors.margins: 9
|
||||||
|
|
||||||
|
GridLayout
|
||||||
|
{
|
||||||
|
|
||||||
|
columns: 2
|
||||||
|
anchors.fill: parent
|
||||||
|
Label
|
||||||
|
{
|
||||||
|
text: qsTr("DB-Host:")
|
||||||
|
Layout.alignment: Qt.AlignRight
|
||||||
|
}
|
||||||
|
|
||||||
|
TextField
|
||||||
|
{
|
||||||
|
|
||||||
|
placeholderText: qsTr("Hier Host eingeben")
|
||||||
|
Layout.fillWidth: true
|
||||||
|
}
|
||||||
|
|
||||||
|
Label
|
||||||
|
{
|
||||||
|
text: qsTr("DB-Port:")
|
||||||
|
Layout.alignment: Qt.AlignRight
|
||||||
|
}
|
||||||
|
|
||||||
|
TextField
|
||||||
|
{
|
||||||
|
|
||||||
|
placeholderText: qsTr("Hier DB-Port eingeben")
|
||||||
|
Layout.fillWidth: true
|
||||||
|
}
|
||||||
|
|
||||||
|
Label
|
||||||
|
{
|
||||||
|
text: qsTr("DB-Name:")
|
||||||
|
Layout.alignment: Qt.AlignRight
|
||||||
|
}
|
||||||
|
|
||||||
|
TextField
|
||||||
|
{
|
||||||
|
|
||||||
|
placeholderText: qsTr("Hier DB-Name eingeben")
|
||||||
|
Layout.fillWidth: true
|
||||||
|
}
|
||||||
|
|
||||||
|
Label
|
||||||
|
{
|
||||||
|
text: qsTr("DB-Benutzername:")
|
||||||
|
Layout.alignment: Qt.AlignRight
|
||||||
|
}
|
||||||
|
|
||||||
|
TextField
|
||||||
|
{
|
||||||
|
|
||||||
|
placeholderText: qsTr("Hier DB-Benutzername eingeben")
|
||||||
|
Layout.fillWidth: true
|
||||||
|
}
|
||||||
|
|
||||||
|
Label
|
||||||
|
{
|
||||||
|
text: qsTr("DB-Passwort:")
|
||||||
|
Layout.alignment: Qt.AlignRight
|
||||||
|
}
|
||||||
|
|
||||||
|
TextField
|
||||||
|
{
|
||||||
|
|
||||||
|
echoMode: TextInput.Password
|
||||||
|
placeholderText: qsTr("Hier DB-Passwort eingeben")
|
||||||
|
Layout.fillWidth: true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Item
|
||||||
|
{
|
||||||
|
GridLayout
|
||||||
|
{
|
||||||
|
anchors.fill: parent
|
||||||
|
anchors.margins: 9
|
||||||
|
columns: 2
|
||||||
|
|
||||||
|
Label
|
||||||
|
{
|
||||||
|
text: qsTr("DB-Host:")
|
||||||
|
Layout.alignment: Qt.AlignRight
|
||||||
|
}
|
||||||
|
|
||||||
|
TextField
|
||||||
|
{
|
||||||
|
placeholderText: qsTr("Hier Host eingeben")
|
||||||
|
Layout.fillWidth: true
|
||||||
|
}
|
||||||
|
|
||||||
|
Label
|
||||||
|
{
|
||||||
|
text: qsTr("DB-Port:")
|
||||||
|
Layout.alignment: Qt.AlignRight
|
||||||
|
}
|
||||||
|
|
||||||
|
TextField
|
||||||
|
{
|
||||||
|
placeholderText: qsTr("Hier DB-Port eingeben")
|
||||||
|
Layout.fillWidth: true
|
||||||
|
}
|
||||||
|
|
||||||
|
Label
|
||||||
|
{
|
||||||
|
text: qsTr("DB-Name:")
|
||||||
|
Layout.alignment: Qt.AlignRight
|
||||||
|
}
|
||||||
|
|
||||||
|
TextField
|
||||||
|
{
|
||||||
|
placeholderText: qsTr("Hier DB-Name eingeben")
|
||||||
|
Layout.fillWidth: true
|
||||||
|
}
|
||||||
|
|
||||||
|
Label
|
||||||
|
{
|
||||||
|
text: qsTr("DB-Benutzername:")
|
||||||
|
Layout.alignment: Qt.AlignRight
|
||||||
|
}
|
||||||
|
|
||||||
|
TextField
|
||||||
|
{
|
||||||
|
placeholderText: qsTr("Hier DB-Benutzername eingeben")
|
||||||
|
Layout.fillWidth: true
|
||||||
|
}
|
||||||
|
|
||||||
|
Label
|
||||||
|
{
|
||||||
|
text: qsTr("DB-Passwort:")
|
||||||
|
Layout.alignment: Qt.AlignRight
|
||||||
|
}
|
||||||
|
|
||||||
|
TextField
|
||||||
|
{
|
||||||
|
echoMode: TextInput.Password
|
||||||
|
placeholderText: qsTr("Hier DB-Passwort eingeben")
|
||||||
|
Layout.fillWidth: true
|
||||||
|
}
|
||||||
|
|
||||||
|
Label
|
||||||
|
{
|
||||||
|
//Spacer Label
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//ENDE TESTCODE
|
||||||
}
|
}
|
||||||
RowLayout
|
RowLayout
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user