mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 14:43:23 +00:00
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:
parent
bf239e7c42
commit
6b10c45b2f
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@ GridLayout {
|
||||||
id: detailsViewHeading
|
id: detailsViewHeading
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
text: location
|
text: location
|
||||||
|
font.underline: gps !== ""
|
||||||
Layout.columnSpan: 4
|
Layout.columnSpan: 4
|
||||||
wrapMode: TextEdit.WrapAtWordBoundaryOrAnywhere
|
wrapMode: TextEdit.WrapAtWordBoundaryOrAnywhere
|
||||||
MouseArea {
|
MouseArea {
|
||||||
|
|
Loading…
Add table
Reference in a new issue