Add AddApplicant - Not Done Yet

This commit is contained in:
2025-01-15 14:39:45 +01:00
parent f2969aeafe
commit f035f60910
7 changed files with 436 additions and 1 deletions

View File

@@ -0,0 +1,165 @@
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
}
}