import QtQuick
import QtQuick.Controls
import QtQuick.Layouts

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

    ComboBox
    {
        property string name: "jobstatus"
        id: title
        Layout.fillWidth: true
        editable: false
        model: [qsTr("Vollzeit"), qsTr("Teilzeit"), qsTr("Minijob"), qsTr("Ausgeschieden")]
    }
    Label
    {
        text: qsTr("IBAN")
        Layout.alignment: Qt.AlignRight
    }
    TextField
    {
        property string name: "iban"
        id: iban
        Layout.fillWidth: true
    }
    Label
    {
        text: qsTr("Bank")
        Layout.alignment: Qt.AlignRight
    }
    ComboBox
    {
        property string name: "bank"
        id: bankname
        Layout.fillWidth: true
        model: ["",qsTr("Sparkasse"),qsTr("Volksbank")]
        editable: true
    }
}

