Make spinboxes editable and correct contact person's position
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user