NTooltip: wip

This commit is contained in:
quadbyte 2025-08-09 16:08:58 -04:00
parent 4a4564fe5f
commit 3790508674
3 changed files with 159 additions and 3 deletions

View file

@ -31,18 +31,37 @@ PanelWindow {
layer.enabled: true
}
// Testing widgets
RowLayout {
// Just testing
NToggle {
label: "Label"
description: "Description"
onToggled: function(value: bool) {
console.log("NToggle: " + value)
}
}
NIconButton {
id: myIconButton
icon: "refresh"
onEntered: function() {
myTooltip.tooltipVisible = true;
}
onExited: function() {
myTooltip.tooltipVisible = false;
}
}
NTooltip {
id: myTooltip
targetItem: myIconButton
positionAbove: false
text: "Hello world"
}
NSlider {}
}
}
}