aboutsummaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml/main.qml
diff options
context:
space:
mode:
authorGravatar Sebastian Kügler <sebas@kde.org>2016-01-12 01:15:02 +0100
committerGravatar Sebastian Kügler <sebas@kde.org>2016-01-12 03:06:09 +0100
commit6540e95425eb4c8aad56c5c5388c25b2180817cb (patch)
tree31ee60379f86868814b82e363719abc744d4a62c /qt-mobile/qml/main.qml
parent9e85d767668faec8feec51ed00ed7c5b3db90cb3 (diff)
downloadsubsurface-6540e95425eb4c8aad56c5c5388c25b2180817cb.tar.gz
dive details navigation
This patch reworks the navigation of the dive details. - The detailsview is now a list view with page-sized delegates. This allows horizontal swiping to the next and previous dive. - The central button now allows to open the edit mode for the dive. Original patch was done by Marco Martin, but needed to be reapplied by hand. Signed-off-by: Sebastian Kügler <sebas@kde.org>
Diffstat (limited to 'qt-mobile/qml/main.qml')
-rw-r--r--qt-mobile/qml/main.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-mobile/qml/main.qml b/qt-mobile/qml/main.qml
index 62e6698a8..bcbc310f1 100644
--- a/qt-mobile/qml/main.qml
+++ b/qt-mobile/qml/main.qml
@@ -219,6 +219,8 @@ MobileComponents.ApplicationWindow {
DiveDetails {
id: detailsWindow
visible: false
+ width: parent.width
+ height: parent.height
}
DownloadFromDiveComputer {