add settins menu

This commit is contained in:
2026-11-14 12:10:58 +03:00
parent cc5b893ddf
commit 6b159108af
4 changed files with 125 additions and 0 deletions

View File

@@ -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
}
}