166 lines
2.7 KiB
QML
166 lines
2.7 KiB
QML
import QtQuick
|
|
import QtQuick.Controls
|
|
import QtQuick.Layouts
|
|
|
|
GridLayout
|
|
{
|
|
id: personalData
|
|
columns: 2
|
|
|
|
ButtonGroup
|
|
{
|
|
buttons: radio.children
|
|
}
|
|
|
|
Row
|
|
{
|
|
Layout.fillWidth: true
|
|
id: radio
|
|
Layout.columnSpan: 2
|
|
RadioButton
|
|
{
|
|
checked: true
|
|
text: qsTr("Bewerber")
|
|
}
|
|
RadioButton
|
|
{
|
|
text: qsTr("Mitarbeiter")
|
|
}
|
|
}
|
|
|
|
Label
|
|
{
|
|
text: qsTr("Anrede")
|
|
}
|
|
ComboBox
|
|
{
|
|
id: title
|
|
Layout.fillWidth: true
|
|
editable: false
|
|
model: [qsTr("Herr"), qsTr("Frau")]
|
|
}
|
|
Label
|
|
{
|
|
text: qsTr("Vorname")
|
|
}
|
|
TextField
|
|
{
|
|
id: firstname
|
|
Layout.fillWidth: true
|
|
placeholderText: "Pflichtfeld"
|
|
placeholderTextColor: "red"
|
|
|
|
}
|
|
Label
|
|
{
|
|
text: qsTr("Nachname")
|
|
}
|
|
TextField
|
|
{
|
|
id: lastname
|
|
Layout.fillWidth: true
|
|
placeholderText: "Pflichtfeld"
|
|
placeholderTextColor: "red"
|
|
|
|
}
|
|
Label
|
|
{
|
|
text: qsTr("Geburtsname")
|
|
}
|
|
TextField
|
|
{
|
|
id: birthname
|
|
Layout.fillWidth: true
|
|
|
|
|
|
}
|
|
Label
|
|
{
|
|
text: qsTr("Geburtsdatum")
|
|
}
|
|
TextField
|
|
{
|
|
id: birthday
|
|
Layout.fillWidth: true
|
|
placeholderText: qsTr("TT.MM.JJJJ")
|
|
validator: RegularExpressionValidator
|
|
|
|
{
|
|
regularExpression: /((^|)(0[1-9]{1}|[1-2]{1}[0-9]{1}|3[0-1]))\.((^|)(0[1-9]{1}|1[0-2]{1}))\.((^|)(196[0-9]{1}|19[7-9]{1}[0-9]{1}|20[0-9]{2}))/
|
|
}
|
|
}
|
|
Label
|
|
{
|
|
text: qsTr("Geburtsort")
|
|
}
|
|
TextField
|
|
{
|
|
id: placeofbirth
|
|
Layout.fillWidth: true
|
|
|
|
}
|
|
Label
|
|
{
|
|
text: qsTr("Geschlecht")
|
|
}
|
|
ComboBox
|
|
{
|
|
id: gender
|
|
Layout.fillWidth: true
|
|
editable: false
|
|
model: [qsTr("Mann"), qsTr("Frau"), qsTr("Divers")]
|
|
}
|
|
Label
|
|
{
|
|
text: qsTr("Familienstand")
|
|
}
|
|
ComboBox
|
|
{
|
|
id: maritalstatus
|
|
Layout.fillWidth: true
|
|
editable: false
|
|
model: [qsTr("ledig"), qsTr("verheiratet"), qsTr("verwitwet"), qsTr("geschieden")]
|
|
}
|
|
Label
|
|
{
|
|
text: qsTr("Jobbeschreibung")
|
|
}
|
|
TextField
|
|
{
|
|
id: jobdescription
|
|
Layout.fillWidth: true
|
|
|
|
}
|
|
Label
|
|
{
|
|
text: qsTr("Arbeitsbeginn")
|
|
}
|
|
TextField
|
|
{
|
|
id: workstart
|
|
Layout.fillWidth: true
|
|
|
|
}
|
|
Label
|
|
{
|
|
text: qsTr("Bei Befristung Ende")
|
|
}
|
|
TextField
|
|
{
|
|
id: workend
|
|
Layout.fillWidth: true
|
|
|
|
}
|
|
Label
|
|
{
|
|
text: qsTr("Arbeitszeiten")
|
|
}
|
|
TextField
|
|
{
|
|
id: timetowork
|
|
Layout.fillWidth: true
|
|
|
|
}
|
|
|
|
}
|