using the old functions to get some rectangles to draw

This commit is contained in:
2026-08-06 10:33:54 +01:00
parent 8ba73b061f
commit 8e59d2dcec
2 changed files with 63 additions and 0 deletions

20
Bar.qml
View File

@@ -26,9 +26,17 @@ Scope {
screen: modelData
mask: Region {
Region {
item: left
}
Region {
item: center
}
Region {
item: right
}
}
anchors {
@@ -46,12 +54,20 @@ Scope {
RowLayout {
anchors {
left: parent.left
leftMargin: 3
right: parent.right
rightMargin: 3
top: parent.top
}
Row {
id: left
Layout.alignment: Qt.AlignTop
WorkspaceSelector {
monitor: win.monitor
}
}
Item {
@@ -61,6 +77,8 @@ Scope {
Row {
id: center
Layout.alignment: Qt.AlignTop
Time {
monitor: win.monitor
}
@@ -72,6 +90,8 @@ Scope {
Row {
id: right
Layout.alignment: Qt.AlignTop
}
}
}