Merge branch 'main' into schnacke

asdasd
This commit is contained in:
2025-02-25 16:24:15 +01:00
2 changed files with 33 additions and 24 deletions

View File

@@ -121,7 +121,7 @@ GridLayout
SpinBox
{
property string name: "partitions"
property string name: "units"
id: partitions
Layout.fillWidth: true
from: 1
@@ -177,7 +177,18 @@ GridLayout
}
//New grid row
Label
{
text: qsTr("Objekt-Nr.")
Layout.alignment: Qt.AlignRight
}
TextField
{
property string name: "objectno"
id: objectno
Layout.fillWidth: true
Layout.alignment: Qt.AlignVCenter
}
Label
@@ -195,20 +206,7 @@ GridLayout
}
//// New grid row
Label
{
text: qsTr("Kontaktdaten")
Layout.alignment: Qt.AlignRight | Qt.AlignTop
}
ComboBox
{
property string name: "contact"
id: contact
Layout.fillWidth: true
editable: false
model: [qsTr("Beirat"), qsTr("Hausmeister")]
}
Label
{
@@ -218,8 +216,8 @@ GridLayout
TextField
{
property string name: "cleansing"
id: cleansing
property string name: "cleaningproducts"
id: cleaningproducts
Layout.fillWidth: true
placeholderText: "Pflichtfeld"
placeholderTextColor: "red"
@@ -235,7 +233,7 @@ GridLayout
return (street.text.trim() && houseno.text.trim() &&
(postcode.editText.trim() || postcode.currentText.trim()) &&
(city.editText.trim() || city.currentText.trim()) &&
cleansing.text.trim())
cleaningproducts.text.trim())
}
}