diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-01-01 00:23:15 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-01-01 00:55:25 -0800 |
commit | 2c28b16b26bd917670f84102d6535abf99a30d4d (patch) | |
tree | 6b9a4757e3f872f7656b6a4e089c7139d4be723b /qt-mobile/qml/DiveDetailsEdit.qml | |
parent | 7f628404e698b930cd47258daea4a481bc744c72 (diff) | |
download | subsurface-2c28b16b26bd917670f84102d6535abf99a30d4d.tar.gz |
QML UI: handle editing of duration
I don't think these regular expressions are sufficiently exhaustive - but this
is forward progress.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qml/DiveDetailsEdit.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 4ed90cd2d..e77b3234a 100644 --- a/qt-mobile/qml/DiveDetailsEdit.qml +++ b/qt-mobile/qml/DiveDetailsEdit.qml @@ -15,6 +15,7 @@ Item { property alias buddyText: txtBuddy.text property alias divemasterText: txtDiveMaster.text property alias notesText: txtNotes.text + property alias durationText: txtDuration.text ColumnLayout { anchors { left: parent.left @@ -50,6 +51,16 @@ Item { MobileComponents.Label { Layout.alignment: Qt.AlignRight + text: "Duration:" + } + TextField { + id: txtDuration + text: duration + Layout.fillWidth: true + } + + MobileComponents.Label { + Layout.alignment: Qt.AlignRight text: "Air Temp:" } TextField { |