add settins menu
This commit is contained in:
@@ -2,6 +2,7 @@ pragma ComponentBehavior: Bound
|
||||
|
||||
import QtQuick
|
||||
import QtQuick.Controls
|
||||
import "../components" as Components
|
||||
|
||||
Item {
|
||||
id: root
|
||||
@@ -38,6 +39,12 @@ Item {
|
||||
radius: 3
|
||||
color: button.down ? Theme.color4 : button.hovered ? Theme.color5 : Theme.colorTransparent
|
||||
}
|
||||
|
||||
onClicked: menu.opened ? menu.close() : menu.open()
|
||||
}
|
||||
|
||||
Components.SettingsMenu {
|
||||
id: menu
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user