Compare commits

..

2 Commits

Author SHA256 Message Date
66fce857ba Merge branch 'refs/heads/linuxero' 2025-03-10 15:55:00 +01:00
767200096f Make spinboxes editable and correct contact person's position 2025-03-10 15:54:33 +01:00
2 changed files with 17 additions and 17 deletions

View File

@@ -114,6 +114,7 @@ GridLayout
from: 1 from: 1
to: 100 to: 100
value: 1 value: 1
editable: true
} }
Label Label
@@ -130,6 +131,7 @@ GridLayout
from: 1 from: 1
to: 100 to: 100
value: 1 value: 1
editable: true
} }
// New grid row // New grid row
@@ -185,13 +187,11 @@ GridLayout
text: qsTr("Besonderheiten") text: qsTr("Besonderheiten")
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
} }
ComboBox TextField
{ {
property string name: "remarks" property string name: "remarks"
id: remarks id: remarks
Layout.fillWidth: true Layout.fillWidth: true
editable: false
textRole: "display"
} }
//// New grid row //// New grid row

View File

@@ -9,7 +9,7 @@ GridLayout
Layout.fillWidth: true Layout.fillWidth: true
Label Label
{ {
text: qsTr("Kontaktdaten") text: qsTr("Position")
Layout.alignment: Qt.AlignRight | Qt.AlignTop Layout.alignment: Qt.AlignRight | Qt.AlignTop
} }
@@ -19,7 +19,7 @@ GridLayout
id: contacttype id: contacttype
Layout.fillWidth: true Layout.fillWidth: true
editable: false editable: false
model: [qsTr("Beirat"), qsTr("Hausmeister")] model: [qsTr("Beirat"), qsTr("Hausmeister"), qsTr("Hausbewohner"), qsTr("Sonstiges")]
} }
Label Label
@@ -88,18 +88,18 @@ GridLayout
} }
Label // Label
{ // {
text: qsTr("Position") // text: qsTr("Position")
Layout.alignment: Qt.AlignRight // Layout.alignment: Qt.AlignRight
} // }
TextField // TextField
{ // {
id: posizion // id: posizion
Layout.fillWidth: true // Layout.fillWidth: true
placeholderText: "Pflichtfeld" // placeholderText: "Pflichtfeld"
placeholderTextColor: "red" // placeholderTextColor: "red"
} // }
RowLayout RowLayout
{ {