QML UI: mark locations with GPS data

In the dive detail view, if a location has an associated GPS location, show the
name of the location underlined so the user knows that tapping on it will open
a browser window with a map picture.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-12-26 13:30:08 -08:00
parent bf239e7c42
commit 6b10c45b2f

View file

@ -30,6 +30,7 @@ GridLayout {
id: detailsViewHeading
Layout.fillWidth: true
text: location
font.underline: gps !== ""
Layout.columnSpan: 4
wrapMode: TextEdit.WrapAtWordBoundaryOrAnywhere
MouseArea {