QML UI: add field to edit the total weight

This isn't hooked up to anything, yet.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-01-28 18:26:37 -08:00
parent bac39b5482
commit 034ffa229b

View file

@ -21,7 +21,9 @@ Item {
property alias notesText: txtNotes.text
property alias durationText: txtDuration.text
property alias depthText: txtDepth.text
property alias weightText: txtWeight.text
property int forcedWidth
height: editArea.height
ColumnLayout {
id: editArea
@ -132,6 +134,15 @@ Item {
Layout.fillWidth: true
}
MobileComponents.Label {
Layout.alignment: Qt.AlignRight
text: "Weight:"
}
TextField {
id: txtWeight
Layout.fillWidth: true
}
MobileComponents.Label {
Layout.columnSpan: 2
Layout.alignment: Qt.AlignLeft