Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Workspace
Commits
9fe7326a
Commit
9fe7326a
authored
Apr 21, 2022
by
Kai Uwe Broulik
🍇
Browse files
[Battery Monitor] Add tooltip to power profile icons
parent
bd397f89
Pipeline
#166591
passed with stage
in 7 minutes and 29 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
applets/batterymonitor/package/contents/ui/PowerProfileItem.qml
View file @
9fe7326a
...
...
@@ -130,6 +130,15 @@ RowLayout {
Layout.preferredWidth
:
PlasmaCore
.
Units
.
iconSizes
.
smallMedium
svg
:
svg
elementId
:
"
profile-powersave
"
HoverHandler
{
id
:
powersaveIconHover
}
PlasmaComponents3.ToolTip
{
text
:
root
.
profileData
.
find
(
profile
=>
profile
.
profile
===
"
power-saver
"
).
label
visible
:
powersaveIconHover
.
hovered
}
}
Item
{
...
...
@@ -141,6 +150,15 @@ RowLayout {
Layout.preferredWidth
:
PlasmaCore
.
Units
.
iconSizes
.
smallMedium
svg
:
svg
elementId
:
"
profile-performance
"
HoverHandler
{
id
:
performanceIconHover
}
PlasmaComponents3.ToolTip
{
text
:
root
.
profileData
.
find
(
profile
=>
profile
.
profile
===
"
performance
"
).
label
visible
:
performanceIconHover
.
hovered
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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