NTooltip: wip
This commit is contained in:
parent
3790508674
commit
446bbe68d8
2 changed files with 48 additions and 52 deletions
|
|
@ -46,15 +46,15 @@ PanelWindow {
|
|||
id: myIconButton
|
||||
icon: "refresh"
|
||||
onEntered: function() {
|
||||
myTooltip.tooltipVisible = true;
|
||||
myTooltip.show();
|
||||
}
|
||||
onExited: function() {
|
||||
myTooltip.tooltipVisible = false;
|
||||
myTooltip.hide();
|
||||
}
|
||||
}
|
||||
NTooltip {
|
||||
id: myTooltip
|
||||
targetItem: myIconButton
|
||||
target: myIconButton
|
||||
positionAbove: false
|
||||
text: "Hello world"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue