Changeset View
Changeset View
Standalone View
Standalone View
src/apps/marble-maps/PlacemarkDialog.qml
Show First 20 Lines • Show All 73 Lines • ▼ Show 20 Line(s) | 51 | Column { | |||
---|---|---|---|---|---|
74 | 74 | | |||
75 | IconText { | 75 | IconText { | ||
76 | width: parent.width | 76 | width: parent.width | ||
77 | visible: text.length > 0 | 77 | visible: text.length > 0 | ||
78 | text: placemark === null ? "" : placemark.address | 78 | text: placemark === null ? "" : placemark.address | ||
79 | maximumLineCount: 4 | 79 | maximumLineCount: 4 | ||
80 | } | 80 | } | ||
81 | 81 | | |||
82 | IconTest { | ||||
83 | width: parent.width | ||||
84 | visible: text.length > 0 | ||||
85 | text: placemark === null ? "" : placemark.level | ||||
86 | } | ||||
87 | | ||||
82 | IconText { | 88 | IconText { | ||
83 | width: parent.width | 89 | width: parent.width | ||
84 | visible: url.length > 0 | 90 | visible: url.length > 0 | ||
85 | property string url: placemark === null ? "" : placemark.website | 91 | property string url: placemark === null ? "" : placemark.website | ||
86 | text: "<a href=\"" + url + "\">" + url + "</a>" | 92 | text: "<a href=\"" + url + "\">" + url + "</a>" | ||
87 | icon: "qrc:/material/browser.svg" | 93 | icon: "qrc:/material/browser.svg" | ||
88 | maximumLineCount: 4 | 94 | maximumLineCount: 4 | ||
89 | onLinkActivated: Qt.openUrlExternally(link) | 95 | onLinkActivated: Qt.openUrlExternally(link) | ||
▲ Show 20 Lines • Show All 81 Lines • Show Last 20 Lines |