diff options
author | Sebastian Kügler <sebas@kde.org> | 2016-01-12 01:15:02 +0100 |
---|---|---|
committer | Sebastian Kügler <sebas@kde.org> | 2016-01-12 03:06:09 +0100 |
commit | 6540e95425eb4c8aad56c5c5388c25b2180817cb (patch) | |
tree | 31ee60379f86868814b82e363719abc744d4a62c /qt-mobile/qml/main.qml | |
parent | 9e85d767668faec8feec51ed00ed7c5b3db90cb3 (diff) | |
download | subsurface-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.qml | 2 |
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 { |