NIconButton: added native tooltip handling
This commit is contained in:
parent
275c2ae8ba
commit
9e0bb64d07
4 changed files with 18 additions and 17 deletions
|
|
@ -83,8 +83,8 @@ Variants {
|
|||
|
||||
NIconButton {
|
||||
id: demoPanelToggle
|
||||
|
||||
icon: "experiment"
|
||||
tooltipText: "Open demo panel"
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
onClicked: function () {
|
||||
demoPanel.isLoaded = !demoPanel.isLoaded
|
||||
|
|
@ -93,8 +93,8 @@ Variants {
|
|||
|
||||
NIconButton {
|
||||
id: sidePanelToggle
|
||||
|
||||
icon: "widgets"
|
||||
tooltipText: "Open side panel"
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
onClicked: function () {
|
||||
// Map this button's center to the screen and open the side panel below it
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue