2026-01-27 10:49:01 +01:00
|
|
|
import QtQuick
|
|
|
|
|
import qs.modules.widgets.settingsapp
|
|
|
|
|
import qs.settings
|
|
|
|
|
import qs.reusables
|
|
|
|
|
import qs
|
|
|
|
|
|
|
|
|
|
Rectangle {
|
|
|
|
|
id: root
|
|
|
|
|
radius: implicitHeight / 2
|
|
|
|
|
color: pavuArea.containsMouse ? Colors.primaryContainer : Colors.surfaceContainer
|
2026-02-07 23:26:24 +01:00
|
|
|
implicitWidth: Settings.config.barHeight - 8
|
2026-01-27 10:49:01 +01:00
|
|
|
implicitHeight: Settings.config.barHeight - 10
|
|
|
|
|
CustomIcon {
|
|
|
|
|
id: volumeIcon
|
|
|
|
|
anchors.centerIn: parent
|
|
|
|
|
text: "settings"
|
|
|
|
|
}
|
|
|
|
|
MouseArea {
|
|
|
|
|
id: pavuArea
|
|
|
|
|
anchors.fill: root
|
|
|
|
|
onClicked: {
|
|
|
|
|
Settings.config.settingsShown = true;
|
|
|
|
|
}
|
|
|
|
|
acceptedButtons: Qt.LeftButton
|
|
|
|
|
cursorShape: Qt.PointingHandCursor
|
|
|
|
|
hoverEnabled: true
|
|
|
|
|
}
|
|
|
|
|
}
|