changed jobstatus, country in AddApplicant
This commit is contained in:
@@ -10,36 +10,16 @@ GridLayout
|
||||
|
||||
Label
|
||||
{
|
||||
text: qsTr("Staatsangehörigkeit Deutsch")
|
||||
text: qsTr("Herkunftsland")
|
||||
}
|
||||
|
||||
ButtonGroup
|
||||
ComboBox
|
||||
{
|
||||
buttons: radio.children
|
||||
onClicked:
|
||||
{
|
||||
checkFields()
|
||||
personalData.requiredField()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Row
|
||||
{
|
||||
id: radio
|
||||
property string name: "country"
|
||||
id: nation
|
||||
Layout.fillWidth: true
|
||||
Layout.alignment: Qt.AlignLeft
|
||||
RadioButton
|
||||
{
|
||||
|
||||
text: qsTr("Ja")
|
||||
checked: true
|
||||
}
|
||||
|
||||
RadioButton
|
||||
{
|
||||
text: qsTr("Nein")
|
||||
}
|
||||
editable: true
|
||||
model: [qsTr("Deutschland"), qsTr("Syrien")]
|
||||
}
|
||||
|
||||
Label
|
||||
@@ -49,6 +29,7 @@ GridLayout
|
||||
|
||||
TextField
|
||||
{
|
||||
property string name: "socialno"
|
||||
id: socialnumber
|
||||
Layout.fillWidth: true
|
||||
placeholderText: "Pflichtfeld"
|
||||
@@ -62,6 +43,7 @@ GridLayout
|
||||
|
||||
TextField
|
||||
{
|
||||
property string name: "taxno"
|
||||
id: taxnumber
|
||||
Layout.fillWidth: true
|
||||
placeholderText: "Pflichtfeld"
|
||||
@@ -75,6 +57,7 @@ GridLayout
|
||||
|
||||
TextField
|
||||
{
|
||||
property string name: "medicalinsurance"
|
||||
id: medicalinsurance
|
||||
Layout.fillWidth: true
|
||||
placeholderText: "Pflichtfeld"
|
||||
@@ -83,19 +66,21 @@ GridLayout
|
||||
|
||||
CheckBox
|
||||
{
|
||||
property string name: "worklicense"
|
||||
Layout.columnSpan: 2
|
||||
text: qsTr("Arbeitserlaubnis")
|
||||
visible: radio.children[1].checked
|
||||
visible: nation.currentText === "Deutschland"? false:true
|
||||
}
|
||||
Label
|
||||
{
|
||||
text: qsTr("Staatsangehörigkeit")
|
||||
visible: radio.children[1].checked
|
||||
visible: nation.currentText === "Deutschland"? false:true
|
||||
}
|
||||
TextField
|
||||
{
|
||||
property string name: "nationality"
|
||||
id: nationality
|
||||
visible: radio.children[1].checked
|
||||
visible: nation.currentText === "Deutschland"? false:true
|
||||
Layout.fillWidth: true
|
||||
placeholderText: "Pflichtfeld"
|
||||
placeholderTextColor: "red"
|
||||
@@ -103,12 +88,13 @@ GridLayout
|
||||
Label
|
||||
{
|
||||
text: qsTr("Pass gültig bis")
|
||||
visible: radio.children[1].checked
|
||||
visible: nation.currentText === "Deutschland"? false:true
|
||||
}
|
||||
TextField
|
||||
{
|
||||
id: pass
|
||||
visible: radio.children[1].checked
|
||||
property string name: "passduration"
|
||||
id: passduration
|
||||
visible: nation.currentText === "Deutschland"? false:true
|
||||
Layout.fillWidth: true
|
||||
placeholderText: "Pflichtfeld"
|
||||
placeholderTextColor: "red"
|
||||
@@ -116,12 +102,13 @@ GridLayout
|
||||
Label
|
||||
{
|
||||
text: qsTr("Aufenthaltstitel gültig bis")
|
||||
visible: radio.children[1].checked
|
||||
visible: nation.currentText === "Deutschland"? false:true
|
||||
}
|
||||
TextField
|
||||
{
|
||||
property string name: "aufenthalt"
|
||||
id: aufenthalt
|
||||
visible: radio.children[1].checked
|
||||
visible: nation.currentText === "Deutschland"? false:true
|
||||
Layout.fillWidth: true
|
||||
placeholderText: "Pflichtfeld"
|
||||
placeholderTextColor: "red"
|
||||
|
||||
Reference in New Issue
Block a user