diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-01-28 18:26:37 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-01-28 18:33:22 -0800 |
commit | 034ffa229bd7a1b2552f921c7a8ed7685fd1f246 (patch) | |
tree | 93bd229aec03f0b2a4f4ee0def4e3f7bfb3134fd /qt-mobile/qml | |
parent | bac39b54828b115e6ff35b977479d5e48dfa6ab5 (diff) | |
download | subsurface-034ffa229bd7a1b2552f921c7a8ed7685fd1f246.tar.gz |
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>
Diffstat (limited to 'qt-mobile/qml')
-rw-r--r-- | qt-mobile/qml/DiveDetailsEdit.qml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/qt-mobile/qml/DiveDetailsEdit.qml b/qt-mobile/qml/DiveDetailsEdit.qml index ed32e5d50..992f620ff 100644 --- a/qt-mobile/qml/DiveDetailsEdit.qml +++ b/qt-mobile/qml/DiveDetailsEdit.qml @@ -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 @@ -133,6 +135,15 @@ Item { } MobileComponents.Label { + Layout.alignment: Qt.AlignRight + text: "Weight:" + } + TextField { + id: txtWeight + Layout.fillWidth: true + } + + MobileComponents.Label { Layout.columnSpan: 2 Layout.alignment: Qt.AlignLeft text: "Notes:" |