152 lines
2.8 KiB
QML
152 lines
2.8 KiB
QML
import QtQuick
|
|
import QtQuick.Controls
|
|
import QtQuick.Layouts
|
|
|
|
GridLayout
|
|
{
|
|
id: addContactLayout
|
|
Layout.fillWidth: true
|
|
Layout.fillHeight: true
|
|
Layout.alignment: Qt.AlignTop
|
|
columns: 2
|
|
rowSpacing: 9
|
|
visible: false
|
|
|
|
Label
|
|
{
|
|
text: qsTr("Anrede")
|
|
Layout.alignment: Qt.AlignRight
|
|
}
|
|
ComboBox
|
|
{
|
|
property string name: "title"
|
|
id: title
|
|
Layout.fillWidth: true
|
|
editable: false
|
|
model: ["Herr", "Frau"]
|
|
}
|
|
Label
|
|
{
|
|
text: qsTr("Vorname")
|
|
Layout.alignment: Qt.AlignRight
|
|
}
|
|
TextField
|
|
{
|
|
property string name: "firstname"
|
|
id: firstname
|
|
Layout.fillWidth: true
|
|
}
|
|
|
|
Label
|
|
{
|
|
text: qsTr("Nachname")
|
|
Layout.alignment: Qt.AlignRight
|
|
}
|
|
TextField
|
|
{
|
|
property string name: "lastname"
|
|
id: lastname
|
|
Layout.fillWidth: true
|
|
}
|
|
Label
|
|
{
|
|
text: qsTr("Position")
|
|
Layout.alignment: Qt.AlignRight
|
|
}
|
|
ComboBox
|
|
{
|
|
property string name: "jobdescription"
|
|
id: jobdescription
|
|
Layout.fillWidth: true
|
|
editable: true
|
|
}
|
|
Label
|
|
{
|
|
text: qsTr("E-Mail")
|
|
Layout.alignment: Qt.AlignRight
|
|
}
|
|
TextField
|
|
{
|
|
property string name: "email"
|
|
id: emailcontact
|
|
Layout.fillWidth: true
|
|
}
|
|
|
|
Label
|
|
{
|
|
text: qsTr("Telefon")
|
|
Layout.alignment: Qt.AlignRight
|
|
}
|
|
TextField
|
|
{
|
|
property string name: "telephonecontact"
|
|
id: telephonecontact
|
|
Layout.fillWidth: true
|
|
}
|
|
|
|
Label
|
|
{
|
|
text: qsTr("Handy")
|
|
Layout.alignment: Qt.AlignRight | Qt.AlignVCenter
|
|
}
|
|
TextField
|
|
{
|
|
property string name: "cellphone"
|
|
id: cellphone
|
|
Layout.fillWidth: true
|
|
}
|
|
Label
|
|
{
|
|
text: qsTr("Geburtsdatum")
|
|
Layout.alignment: Qt.AlignRight
|
|
}
|
|
TextField
|
|
{
|
|
property string name: "birthday"
|
|
id: birthday
|
|
Layout.fillWidth: true
|
|
}
|
|
|
|
Label
|
|
{
|
|
text: qsTr("Priorität")
|
|
Layout.alignment: Qt.AlignRight
|
|
}
|
|
ComboBox
|
|
{
|
|
property string name: "rank"
|
|
id: rank
|
|
Layout.fillWidth: true
|
|
editable: false
|
|
model: ["Nein", "Ja"]
|
|
}
|
|
Label
|
|
{
|
|
text: qsTr("Rechnung")
|
|
Layout.alignment: Qt.AlignRight
|
|
}
|
|
ComboBox
|
|
{
|
|
property string name: "invoice"
|
|
id: invoice
|
|
Layout.fillWidth: true
|
|
editable: false
|
|
objectName: "combo"
|
|
model: ["Nein", "Ja"]
|
|
}
|
|
Label
|
|
{
|
|
text: qsTr("Mahnung")
|
|
Layout.alignment: Qt.AlignRight
|
|
}
|
|
ComboBox
|
|
{
|
|
property string name: "due"
|
|
id: due
|
|
Layout.fillWidth: true
|
|
editable: false
|
|
model: ["Nein", "Ja"]
|
|
|
|
}
|
|
}
|