summaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml
diff options
context:
space:
mode:
Diffstat (limited to 'qt-mobile/qml')
-rw-r--r--qt-mobile/qml/DiveDetails.qml2
-rw-r--r--qt-mobile/qml/DiveDetailsEdit.qml11
2 files changed, 12 insertions, 1 deletions
diff --git a/qt-mobile/qml/DiveDetails.qml b/qt-mobile/qml/DiveDetails.qml
index 9d6e0b91d..4b0ee8e23 100644
--- a/qt-mobile/qml/DiveDetails.qml
+++ b/qt-mobile/qml/DiveDetails.qml
@@ -58,7 +58,7 @@ MobileComponents.Page {
detailsEdit.buddyText, detailsEdit.divemasterText, detailsEdit.notesText)
location = detailsEdit.locationText
// gps = detailsEdit.gps
- // duration = detailsEdit.durationText
+ duration = detailsEdit.durationText
// depth = detailsEdit.depthText
airtemp = detailsEdit.airtempText
watertemp = detailsEdit.watertempText
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 {