FirstStart angepasst
This commit is contained in:
72
Gui/AdminUserConfig.qml
Normal file
72
Gui/AdminUserConfig.qml
Normal file
@@ -0,0 +1,72 @@
|
||||
import QtQuick
|
||||
import QtQuick.Controls
|
||||
import QtQuick.Layouts
|
||||
|
||||
GridLayout
|
||||
{
|
||||
id: createUserGrid
|
||||
columns: 2
|
||||
columnSpacing: 5
|
||||
rowSpacing: 9
|
||||
// anchors.fill: parent
|
||||
|
||||
property string name: "pyqcrm"
|
||||
|
||||
Label
|
||||
{
|
||||
text: qsTr("Admin User erstellen")
|
||||
font.pixelSize: 40
|
||||
Layout.columnSpan: 2
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
padding: 15
|
||||
}
|
||||
|
||||
|
||||
Label
|
||||
{
|
||||
text: qsTr("Benutzername:")
|
||||
Layout.alignment: Qt.AlignRight
|
||||
}
|
||||
|
||||
TextField
|
||||
{
|
||||
id: benutzerName
|
||||
placeholderText: qsTr("Hier Benutzername eingeben")
|
||||
Layout.fillWidth: true
|
||||
height: 3
|
||||
property string name: "PYQCRM_ADMIN"
|
||||
}
|
||||
|
||||
Label
|
||||
{
|
||||
text: qsTr("Passwort:")
|
||||
Layout.alignment: Qt.AlignRight
|
||||
}
|
||||
|
||||
TextField
|
||||
{
|
||||
id: password
|
||||
echoMode: TextInput.Password
|
||||
placeholderText: qsTr("Hier Passwort eingeben")
|
||||
Layout.fillWidth: true
|
||||
property string name: "PYQCRM_ADMIN_PASS"
|
||||
}
|
||||
Label
|
||||
{
|
||||
text: qsTr("Info:")
|
||||
Layout.alignment: Qt.AlignRight
|
||||
}
|
||||
|
||||
TextField
|
||||
{
|
||||
id: gecos
|
||||
placeholderText: qsTr("Zusätzliche Info")
|
||||
Layout.fillWidth: true
|
||||
property string name: "PYQCRM_ADMIN_INFO"
|
||||
}
|
||||
|
||||
Item
|
||||
{
|
||||
Layout.fillHeight: true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user