diff options
author | Grace Karanja <gracie.karanja89@gmail.com> | 2015-07-17 19:10:32 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-07-17 12:00:38 -0700 |
commit | 0c9756c5d786158f25aaf1ad2d9c316be9e2b9e5 (patch) | |
tree | 8a2dc527420d1a933f8e35b89d87186172c07e88 /qt-mobile | |
parent | 59232ca17237c67254038b8d2abdf13cf6701449 (diff) | |
download | subsurface-0c9756c5d786158f25aaf1ad2d9c316be9e2b9e5.tar.gz |
QML UI: Implement showing of the dive profile on QML
Link the QMLProfile class to the DiveList.qml file. The profile is
displayed above the dive details.
Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
Diffstat (limited to 'qt-mobile')
-rw-r--r-- | qt-mobile/DiveList.qml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/qt-mobile/DiveList.qml b/qt-mobile/DiveList.qml index 0f358081d..7fa7a53f0 100644 --- a/qt-mobile/DiveList.qml +++ b/qt-mobile/DiveList.qml @@ -77,6 +77,13 @@ Rectangle { id: editorDetails width: detailsPage.width columns: 2 + Text { } + QMLProfile { + diveId: id + height: 400 + Layout.fillWidth: true + } + Text { text: "Location:"; font.bold: true } TextField { id: txtLocation; text: location; Layout.fillWidth: true } Text { text: "Air Temp:"; font.bold: true } |