Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Itinerary
Commits
d1d174b5
Commit
d1d174b5
authored
Nov 30, 2020
by
Volker Krause
Browse files
Silence warnings when closing the OSM element info sheet
parent
308d2f34
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/app/IndoorMapInfoSheet.qml
View file @
d1d174b5
...
...
@@ -33,14 +33,14 @@ Kirigami.OverlaySheet {
id
:
infoStringDelegate
RowLayout
{
QQC2.Label
{
visible
:
row
.
keyLabel
!=
""
text
:
row
.
keyLabel
+
"
:
"
color
:
row
.
category
==
OSMElementInformationModel
.
DebugCategory
?
Kirigami
.
Theme
.
disabledTextColor
:
Kirigami
.
Theme
.
textColor
visible
:
row
&&
row
.
keyLabel
!=
""
text
:
row
?
row
.
keyLabel
+
"
:
"
:
""
color
:
(
row
&&
row
.
category
==
OSMElementInformationModel
.
DebugCategory
)
?
Kirigami
.
Theme
.
disabledTextColor
:
Kirigami
.
Theme
.
textColor
Layout.alignment
:
Qt
.
AlignTop
}
QQC2.Label
{
text
:
row
.
value
color
:
row
.
category
==
OSMElementInformationModel
.
DebugCategory
?
Kirigami
.
Theme
.
disabledTextColor
:
Kirigami
.
Theme
.
textColor
text
:
row
?
row
.
value
:
""
color
:
(
row
&&
row
.
category
==
OSMElementInformationModel
.
DebugCategory
)
?
Kirigami
.
Theme
.
disabledTextColor
:
Kirigami
.
Theme
.
textColor
wrapMode
:
Text
.
WordWrap
Layout.fillWidth
:
true
}
...
...
@@ -51,14 +51,14 @@ Kirigami.OverlaySheet {
id
:
infoLinkDelegate
RowLayout
{
QQC2.Label
{
visible
:
row
.
keyLabel
!=
""
text
:
row
.
keyLabel
+
"
:
"
color
:
row
.
category
==
OSMElementInformationModel
.
DebugCategory
?
Kirigami
.
Theme
.
disabledTextColor
:
Kirigami
.
Theme
.
textColor
visible
:
row
&&
row
.
keyLabel
!=
""
text
:
row
?
row
.
keyLabel
+
"
:
"
:
""
color
:
(
row
&&
row
.
category
==
OSMElementInformationModel
.
DebugCategory
)
?
Kirigami
.
Theme
.
disabledTextColor
:
Kirigami
.
Theme
.
textColor
Layout.alignment
:
Qt
.
AlignTop
}
QQC2.Label
{
text
:
"
<a href=
\"
"
+
row
.
url
+
"
\"
>
"
+
row
.
value
+
"
</a>
"
color
:
row
.
category
==
OSMElementInformationModel
.
DebugCategory
?
Kirigami
.
Theme
.
disabledTextColor
:
Kirigami
.
Theme
.
textColor
text
:
row
?
"
<a href=
\"
"
+
row
.
url
+
"
\"
>
"
+
row
.
value
+
"
</a>
"
:
""
color
:
(
row
&&
row
.
category
==
OSMElementInformationModel
.
DebugCategory
)
?
Kirigami
.
Theme
.
disabledTextColor
:
Kirigami
.
Theme
.
textColor
onLinkActivated
:
Qt
.
openUrlExternally
(
link
)
wrapMode
:
Text
.
WordWrap
Layout.fillWidth
:
true
...
...
@@ -69,7 +69,7 @@ Kirigami.OverlaySheet {
Component
{
id
:
infoAddressDelegate
QQC2.Label
{
text
:
Localizer
.
formatAddress
(
row
.
value
)
text
:
row
?
Localizer
.
formatAddress
(
row
.
value
)
:
""
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment