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>
This commit is contained in:
Grace Karanja 2015-07-17 19:10:32 +03:00 committed by Dirk Hohndel
parent 59232ca172
commit 0c9756c5d7
3 changed files with 10 additions and 1 deletions

View file

@ -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 }