Add tooltips, fix tray menu
This commit is contained in:
parent
a7fbccaf8b
commit
32e1160f8f
13 changed files with 319 additions and 69 deletions
|
|
@ -40,6 +40,19 @@ Item {
|
|||
iconCircleColor: Theme.accentPrimary
|
||||
iconTextColor: Theme.backgroundPrimary
|
||||
textColor: Theme.textPrimary
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
hoverEnabled: true
|
||||
onEntered: brightnessTooltip.tooltipVisible = true
|
||||
onExited: brightnessTooltip.tooltipVisible = false
|
||||
}
|
||||
StyledTooltip {
|
||||
id: brightnessTooltip
|
||||
text: "Brightness: " + brightness + "%"
|
||||
tooltipVisible: false
|
||||
targetItem: pill
|
||||
delay: 200
|
||||
}
|
||||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue