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
fb4e9381
Commit
fb4e9381
authored
Oct 09, 2021
by
Kai Uwe Broulik
🍇
Browse files
[PlaceDelegate] Add some tooltips
The icons aren't particularly great
parent
4cf409cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/app/PlaceDelegate.qml
View file @
fb4e9381
...
...
@@ -66,12 +66,20 @@ Item {
console
.
log
(
JSON
.
stringify
(
args
));
applicationWindow
().
pageStack
.
push
(
indoorMapPage
,
args
);
}
Accessible.name
:
i18nc
(
"
@action:button
"
,
"
View Indoor Map
"
)
QQC2.ToolTip
{
text
:
parent
.
Accessible
.
name
}
}
QQC2.ToolButton
{
visible
:
place
!=
undefined
&&
(
place
.
geo
.
isValid
||
!
place
.
address
.
isEmpty
)
icon.name
:
"
map-globe
"
onClicked
:
NavigationController
.
showOnMap
(
place
)
Accessible.name
:
i18nc
(
"
@action:button
"
,
"
View on Map
"
)
QQC2.ToolTip
{
text
:
parent
.
Accessible
.
name
}
}
// navigate to is offered if:
...
...
@@ -84,6 +92,10 @@ Item {
onClicked
:
{
controller
.
previousLocation
?
NavigationController
.
navigateTo
(
controller
.
previousLocation
,
place
)
:
NavigationController
.
navigateTo
(
place
);
}
Accessible.name
:
i18nc
(
"
@action:button Start route guidance to location
"
,
"
Navigate
"
)
QQC2.ToolTip
{
text
:
parent
.
Accessible
.
name
}
}
// public transport connections are offered:
...
...
@@ -95,6 +107,10 @@ Item {
onClicked
:
{
applicationWindow
().
pageStack
.
push
(
departuresPage
);
}
Accessible.name
:
i18n
(
"
@action:button
"
,
"
Public Transport Departures
"
)
QQC2.ToolTip
{
text
:
parent
.
Accessible
.
name
}
}
}
}
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