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, "")
}
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
}
@ -75,8 +86,9 @@ Window {
anchors {
horizontalCenter: parent.horizontalCenter
topMargin: 5
top: amountT.bottom
top: notizenT.bottom
}
model: groupsModel
textRole: "name"
Keys.onReturnPressed: submitB.focus = true

View file

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