aboutsummaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml/DiveDetails.qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-28 18:29:02 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-28 18:33:22 -0800
commitdbe9bad0aaa8d0cac63166d3b1b4a9a189ef12c8 (patch)
treef4e6a186a88d5c925c504d9fd37a6a6faf399c41 /qt-mobile/qml/DiveDetails.qml
parent034ffa229bd7a1b2552f921c7a8ed7685fd1f246 (diff)
downloadsubsurface-dbe9bad0aaa8d0cac63166d3b1b4a9a189ef12c8.tar.gz
QML UI: add the properties needed to be able to manually add dive
This way the trigger from the main drawer works again. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qml/DiveDetails.qml')
-rw-r--r--qt-mobile/qml/DiveDetails.qml13
1 files changed, 13 insertions, 0 deletions
diff --git a/qt-mobile/qml/DiveDetails.qml b/qt-mobile/qml/DiveDetails.qml
index 8f6bb4830..2b530b660 100644
--- a/qt-mobile/qml/DiveDetails.qml
+++ b/qt-mobile/qml/DiveDetails.qml
@@ -9,6 +9,19 @@ import org.kde.plasma.mobilecomponents 0.2 as MobileComponents
MobileComponents.Page {
id: diveDetailsPage
property alias currentIndex: diveDetailsListView.currentIndex
+ property alias dive_id: detailsEdit.dive_id
+ property alias number: detailsEdit.number
+ property alias date: detailsEdit.dateText
+ property alias airtemp: detailsEdit.airtempText
+ property alias watertemp: detailsEdit.watertempText
+ property alias buddy: detailsEdit.buddyText
+ property alias divemaster: detailsEdit.divemasterText
+ property alias depth: detailsEdit.depthText
+ property alias duration: detailsEdit.durationText
+ property alias location: detailsEdit.locationText
+ property alias notes: detailsEdit.notesText
+ property alias suit: detailsEdit.suitText
+ property alias weight: detailsEdit.weightText
state: "view"