native: add notiz textfield

This commit is contained in:
Schnitzel 2024-07-12 10:28:08 +02:00
parent b6cdd0c173
commit f1d6fb47db
2 changed files with 15 additions and 3 deletions

View file

@ -67,6 +67,17 @@ Window {
text = text.replace(/[^0-9]/g, "") text = text.replace(/[^0-9]/g, "")
} }
Keys.onReturnPressed: notizenT.focus = true
}
TextField {
id: notizenT
anchors {
horizontalCenter: parent.horizontalCenter
topMargin: 5
top: amountT.bottom
}
placeholderText: qsTr("Notizen")
Keys.onReturnPressed: groupSelector.focus = true Keys.onReturnPressed: groupSelector.focus = true
} }
@ -75,8 +86,9 @@ Window {
anchors { anchors {
horizontalCenter: parent.horizontalCenter horizontalCenter: parent.horizontalCenter
topMargin: 5 topMargin: 5
top: amountT.bottom top: notizenT.bottom
} }
model: groupsModel model: groupsModel
textRole: "name" textRole: "name"
Keys.onReturnPressed: submitB.focus = true Keys.onReturnPressed: submitB.focus = true

View file

@ -13,8 +13,8 @@ Window {
} }
id: root id: root
width: 640 width: 1000
height: 480 height: 600
visible: true visible: true
color: getColors().window color: getColors().window