add AddressModel, AddressDAO class
This commit is contained in:
@@ -89,7 +89,19 @@ ColumnLayout
|
||||
editable: true
|
||||
onCurrentTextChanged: isEmptyField()
|
||||
onEditTextChanged: isEmptyField()
|
||||
model: ["test", "test2", "test3"]
|
||||
|
||||
model: am
|
||||
delegate: Text
|
||||
{
|
||||
text: model.display
|
||||
elide: Text.ElideRight
|
||||
// width: parent.width
|
||||
// height: parent.height
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
leftPadding: 9 //@d isable-check M16
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Label
|
||||
@@ -97,14 +109,15 @@ ColumnLayout
|
||||
text: qsTr("Ort")
|
||||
Layout.alignment: Qt.AlignRight | Qt.AlignVCenter
|
||||
}
|
||||
TextField
|
||||
ComboBox
|
||||
{
|
||||
property string name: "city"
|
||||
id: city
|
||||
Layout.fillWidth: true
|
||||
onTextChanged: isEmptyField(city)
|
||||
placeholderText: "Pflichtfeld"
|
||||
placeholderTextColor: "red"
|
||||
editable: true
|
||||
onEditTextChanged: isEmptyField()
|
||||
onCurrentTextChanged: isEmptyField()
|
||||
model: ["", "MarcosDorf", "OschkarsLand"]
|
||||
}
|
||||
|
||||
Label
|
||||
|
||||
Reference in New Issue
Block a user