changed AddApplicant

This commit is contained in:
2025-01-28 16:38:13 +01:00
parent 538399b59a
commit 716915f333
3 changed files with 45 additions and 14 deletions

View File

@@ -7,8 +7,10 @@ GridLayout
id: bankAccount id: bankAccount
columns: 2 columns: 2
property alias jobstatus: title property alias jobstatus: title
property alias longest: longest
Label Label
{ {
id: longest
text: qsTr("Beschäftigungsverhältnis") text: qsTr("Beschäftigungsverhältnis")
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
} }

View File

@@ -10,7 +10,9 @@ GridLayout
Label Label
{ {
Layout.preferredWidth: bankAccount.longest.width
text: qsTr("Herkunftsland") text: qsTr("Herkunftsland")
horizontalAlignment: Text.AlignRight
} }
ComboBox ComboBox
@@ -25,6 +27,7 @@ GridLayout
Label Label
{ {
text: qsTr("Sozialversicherungs-Nr") text: qsTr("Sozialversicherungs-Nr")
Layout.alignment: Qt.AlignRight
} }
TextField TextField
@@ -37,6 +40,7 @@ GridLayout
Label Label
{ {
text: qsTr("Steuer-ID") text: qsTr("Steuer-ID")
Layout.alignment: Qt.AlignRight
} }
TextField TextField
@@ -49,6 +53,7 @@ GridLayout
Label Label
{ {
text: qsTr("Krankenkasse") text: qsTr("Krankenkasse")
Layout.alignment: Qt.AlignRight
} }
TextField TextField
@@ -60,6 +65,7 @@ GridLayout
Label Label
{ {
text: qsTr("Knappschaft") text: qsTr("Knappschaft")
Layout.alignment: Qt.AlignRight
visible: bankAccount.jobstatus.currentText === "Minijob" ? 1:0 visible: bankAccount.jobstatus.currentText === "Minijob" ? 1:0
} }
@@ -71,67 +77,85 @@ GridLayout
visible: bankAccount.jobstatus.currentText === "Minijob" ? 1:0 visible: bankAccount.jobstatus.currentText === "Minijob" ? 1:0
} }
CheckBox
Label
{ {
property string name: "worklicense" text: qsTr("Ausweistyp")
id: worklicense Layout.alignment: Qt.AlignRight
Layout.columnSpan: 2 }
text: qsTr("Arbeitserlaubnis")
visible: nation.currentText === "Deutschland"? false:true ComboBox
{
property string name: "idtype"
id: idtype
Layout.fillWidth: true
editable: true
model: [qsTr("Personalausweis"), qsTr("Reisepass")]
} }
Label Label
{ {
text: qsTr("Ausweis Nr.") text: qsTr("Ausweis Nr.")
visible: nation.currentText === "Deutschland"? false:true Layout.alignment: Qt.AlignRight
} }
TextField TextField
{ {
property string name: "passno" property string name: "passno"
id: passno id: passno
visible: nation.currentText === "Deutschland"? false:true
Layout.fillWidth: true Layout.fillWidth: true
} }
Label Label
{ {
text: qsTr("Ausweis gültig bis") text: qsTr("Ausweis gültig bis")
visible: nation.currentText === "Deutschland"? false:true Layout.alignment: Qt.AlignRight
} }
TextField TextField
{ {
property string name: "passduration" property string name: "passduration"
id: passduration id: passduration
visible: nation.currentText === "Deutschland"? false:true
Layout.fillWidth: true Layout.fillWidth: true
} }
Label Label
{ {
text: qsTr("Ausstellungsort") text: qsTr("Ausstellungsort")
visible: nation.currentText === "Deutschland"? false:true Layout.alignment: Qt.AlignRight
} }
TextField TextField
{ {
property string name: "exhibitionlocation" property string name: "exhibitionlocation"
id: exhibitionlocation id: exhibitionlocation
visible: nation.currentText === "Deutschland"? false:true
Layout.fillWidth: true Layout.fillWidth: true
} }
Label Label
{ {
id: test
text: qsTr("Ausgestellt am") text: qsTr("Ausgestellt am")
visible: nation.currentText === "Deutschland"? false:true Layout.alignment: Qt.AlignRight
} }
TextField TextField
{ {
property string name: "exhibitdate" property string name: "exhibitdate"
id: exhibitdate id: exhibitdate
visible: nation.currentText === "Deutschland"? false:true
Layout.fillWidth: true Layout.fillWidth: true
} }
CheckBox
{
Layout.preferredWidth: bankAccount.longest.width
property string name: "worklicense"
id: worklicense
text: qsTr("Arbeitserlaubnis <font color='red'><b>?</b></font>")
visible: nation.currentText === "Deutschland"? false:true
}
Item
{
Layout.fillWidth: true
visible: nation.currentText === "Deutschland"? false:true
}
Label Label
{ {
text: qsTr("Aufenthaltstitel gültig bis") text: qsTr("Aufenthaltstitel gültig bis")
visible: nation.currentText === "Deutschland"? false:true visible: nation.currentText === "Deutschland"? false:true
Layout.alignment: Qt.AlignRight
} }
TextField TextField
{ {

View File

@@ -9,7 +9,9 @@ GridLayout
Label Label
{ {
Layout.preferredWidth: bankAccount.longest.width
text: qsTr("Grad der Behinderung") text: qsTr("Grad der Behinderung")
horizontalAlignment: Text.AlignRight
} }
TextField TextField
@@ -22,6 +24,7 @@ GridLayout
Label Label
{ {
text: qsTr("Disponent") text: qsTr("Disponent")
Layout.alignment: Qt.AlignRight
} }
TextField TextField
@@ -34,6 +37,7 @@ GridLayout
Label Label
{ {
text: qsTr("Kostenstelle") text: qsTr("Kostenstelle")
Layout.alignment: Qt.AlignRight
} }
TextField TextField
@@ -46,6 +50,7 @@ GridLayout
Label Label
{ {
text: qsTr("Fremdlohn-Nr.") text: qsTr("Fremdlohn-Nr.")
Layout.alignment: Qt.AlignRight
} }
TextField TextField