diff options
author | Sebastian Kügler <sebas@kde.org> | 2015-12-04 02:28:48 +0100 |
---|---|---|
committer | Sebastian Kügler <sebas@kde.org> | 2015-12-07 18:46:32 +0100 |
commit | 8cf47257424763c9eeb2a94fbc99dad36e36d937 (patch) | |
tree | e5a089fc596865a65bb55dbca554dcc13d95010b /qt-mobile/qml/DiveDetailsEdit.qml | |
parent | bd7af5a511053f1ac35f9b250039aa76f9096e99 (diff) | |
download | subsurface-8cf47257424763c9eeb2a94fbc99dad36e36d937.tar.gz |
split divedetails into view and edit parts
This splits the dive detail page into two modes: view and edit
- The edit part loses the profile (it's not editable anyway)
- The view part gets a new layout, friendlier for viewing
- Properties for diveNumber, duration, depth and weight are added
Signed-off-by: Sebastian Kügler <sebas@kde.org>
Diffstat (limited to 'qt-mobile/qml/DiveDetailsEdit.qml')
-rw-r--r-- | qt-mobile/qml/DiveDetailsEdit.qml | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/qt-mobile/qml/DiveDetailsEdit.qml b/qt-mobile/qml/DiveDetailsEdit.qml index 2618baae7..7648eaf3f 100644 --- a/qt-mobile/qml/DiveDetailsEdit.qml +++ b/qt-mobile/qml/DiveDetailsEdit.qml @@ -27,21 +27,6 @@ Item { text: "Dive " + number + " (" + date + ")" } - Item { - Layout.columnSpan: 2 - Layout.fillWidth: true - Layout.preferredHeight: qmlProfile.height - QMLProfile { - id: qmlProfile - height: MobileComponents.Units.gridUnit * 25 - anchors { - top: parent.top - left: parent.left - right: parent.right - } - //Rectangle { color: "green"; opacity: 0.4; anchors.fill: parent } // used for debugging the dive profile sizing, will be removed later - } - } MobileComponents.Label { Layout.alignment: Qt.AlignRight text: "Location:" |