Tooltips on all NIconButtons
This commit is contained in:
parent
c075b89dd2
commit
9990a88e90
19 changed files with 63 additions and 24 deletions
|
|
@ -154,6 +154,7 @@ NLoader {
|
|||
}
|
||||
NIconButton {
|
||||
icon: "refresh"
|
||||
tooltipText: "Reset Scaling"
|
||||
fontPointSize: Style.fontSizeLarge * scaling
|
||||
onClicked: {
|
||||
Scaling.overrideEnabled = false
|
||||
|
|
@ -178,6 +179,7 @@ NLoader {
|
|||
NIconButton {
|
||||
id: myIconButton
|
||||
icon: "celebration"
|
||||
tooltipText: "A nice tooltip"
|
||||
fontPointSize: Style.fontSizeLarge * scaling
|
||||
}
|
||||
|
||||
|
|
@ -318,6 +320,7 @@ NLoader {
|
|||
spacing: Style.marginSmall * scaling
|
||||
NIconButton {
|
||||
icon: "brightness_low"
|
||||
tooltipText: "Decrease Brightness"
|
||||
fontPointSize: Style.fontSizeLarge * scaling
|
||||
onClicked: {
|
||||
BrightnessService.decreaseBrightness()
|
||||
|
|
@ -335,6 +338,7 @@ NLoader {
|
|||
}
|
||||
NIconButton {
|
||||
icon: "brightness_high"
|
||||
tooltipText: "Increase Brightness"
|
||||
fontPointSize: Style.fontSizeLarge * scaling
|
||||
onClicked: {
|
||||
BrightnessService.increaseBrightness()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue