import QtQuick import QtQuick.Controls import QtQuick.Layouts GridLayout { id: nationalInsurance columns: 2 Label { Layout.preferredWidth: bankAccount.longest.width text: qsTr("Herkunftsland") horizontalAlignment: Text.AlignRight } ComboBox { property string name: "country" id: nation Layout.fillWidth: true editable: true model: [qsTr("Deutschland"), qsTr("Syrien")] } Label { text: qsTr("Sozialversicherungs-Nr") Layout.alignment: Qt.AlignRight } TextField { property string name: "socialno" id: socialnumber Layout.fillWidth: true } Label { text: qsTr("Steuer-ID") Layout.alignment: Qt.AlignRight } TextField { property string name: "taxno" id: taxnumber Layout.fillWidth: true } Label { text: qsTr("Krankenkasse") Layout.alignment: Qt.AlignRight } TextField { property string name: "medicalinsurance" id: medicalinsurance Layout.fillWidth: true } Label { text: qsTr("Knappschaft") Layout.alignment: Qt.AlignRight visible: bankAccount.jobstatus.currentText === "Minijob" ? 1:0 } TextField { property string name: "knappschaft" id: knappschaft Layout.fillWidth: true visible: bankAccount.jobstatus.currentText === "Minijob" ? 1:0 } Label { text: qsTr("Ausweistyp") Layout.alignment: Qt.AlignRight } ComboBox { property string name: "idtype" id: idtype Layout.fillWidth: true editable: true model: [qsTr("Personalausweis"), qsTr("Reisepass")] } Label { text: qsTr("Ausweis Nr.") Layout.alignment: Qt.AlignRight } TextField { property string name: "passno" id: passno Layout.fillWidth: true } Label { text: qsTr("Ausweis gültig bis") Layout.alignment: Qt.AlignRight } TextField { property string name: "passduration" id: passduration Layout.fillWidth: true } Label { text: qsTr("Ausstellungsort") Layout.alignment: Qt.AlignRight } TextField { property string name: "exhibitionlocation" id: exhibitionlocation Layout.fillWidth: true } Label { id: test text: qsTr("Ausgestellt am") Layout.alignment: Qt.AlignRight } TextField { property string name: "exhibitdate" id: exhibitdate Layout.fillWidth: true } CheckBox { Layout.preferredWidth: bankAccount.longest.width property string name: "worklicense" id: worklicense text: qsTr("Arbeitserlaubnis ?") visible: nation.currentText === "Deutschland"? false:true } Item { Layout.fillWidth: true visible: nation.currentText === "Deutschland"? false:true } Label { text: qsTr("Aufenthaltstitel Nr.") visible: nation.currentText === "Deutschland"? false:true Layout.alignment: Qt.AlignRight } TextField { property string name: "residenceno" id: residenceno visible: nation.currentText === "Deutschland"? false:true Layout.fillWidth: true } Label { text: qsTr("Ausgestellt von") visible: nation.currentText === "Deutschland"? false:true Layout.alignment: Qt.AlignRight } TextField { property string name: "residenceissuedloc" id: residenceissuedloc visible: nation.currentText === "Deutschland"? false:true Layout.fillWidth: true } Label { text: qsTr("Ausgestellt am") visible: nation.currentText === "Deutschland"? false:true Layout.alignment: Qt.AlignRight } TextField { property string name: "residenceissued" id: residenceissued visible: nation.currentText === "Deutschland"? false:true Layout.fillWidth: true } Label { text: qsTr("Gültig bis") visible: nation.currentText === "Deutschland"? false:true Layout.alignment: Qt.AlignRight } TextField { property string name: "residenceexpire" id: residenceexpire visible: nation.currentText === "Deutschland"? false:true Layout.fillWidth: true } }