wbar: more interactions

This commit is contained in:
end-4
2025-11-11 00:01:57 +01:00
parent fdcb95b8a4
commit cbcb8cf8e1
4 changed files with 15 additions and 3 deletions
@@ -1,5 +1,6 @@
import QtQuick
import QtQuick.Layouts
import qs
import qs.services
import qs.modules.common
import qs.modules.waffle.looks
@@ -10,6 +11,11 @@ BarButton {
rightInset: 12 // For now this is the rightmost button. Desktop peek is useless. (for now)
padding: 12
checked: GlobalStates.sidebarRightOpen
onClicked: {
GlobalStates.sidebarRightOpen = !GlobalStates.sidebarRightOpen;
}
contentItem: Item {
anchors.centerIn: root.background
implicitHeight: column.implicitHeight