78 lines
1.1 KiB
QML
78 lines
1.1 KiB
QML
import QtQuick
|
|
import QtQuick.Layouts
|
|
import QtQuick.Controls
|
|
|
|
|
|
|
|
// Item {
|
|
|
|
// benutzername
|
|
// passwort
|
|
// server
|
|
// port
|
|
// benutzername(db)
|
|
// passwort(db)
|
|
// DbName
|
|
// type
|
|
|
|
|
|
// }
|
|
|
|
Window
|
|
{
|
|
width: 640
|
|
height: 480
|
|
visible: true
|
|
GridLayout
|
|
{
|
|
id: settingsGrid
|
|
columns: 2
|
|
anchors.fill: parent
|
|
Label
|
|
{
|
|
text: qsTr("Benutzername:")
|
|
|
|
}
|
|
TextField
|
|
{
|
|
id: benutzerName
|
|
placeholderText: qsTr("Hier Benutzername eingeben")
|
|
}
|
|
Label
|
|
{
|
|
text: qsTr("Passwort:")
|
|
|
|
}
|
|
TextField
|
|
{
|
|
id: passWort
|
|
placeholderText: qsTr("Hier Passwort eingeben")
|
|
}
|
|
Label
|
|
{
|
|
text: qsTr("DB-Host:")
|
|
|
|
}
|
|
TextField
|
|
{
|
|
id: dbHost
|
|
placeholderText: qsTr("Hier Host eingeben")
|
|
}
|
|
Label
|
|
{
|
|
text: qsTr("DB-Name:")
|
|
|
|
}
|
|
TextField
|
|
{
|
|
id: dbName
|
|
placeholderText: qsTr("Hier DB-Name eingeben")
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|