notification changes

This commit is contained in:
Zacharias-Brohn
2026-02-04 14:11:30 +01:00
parent 29606e363a
commit 76e008007e
57 changed files with 4537 additions and 202 deletions
+11 -1
View File
@@ -16,6 +16,7 @@ RowLayout {
readonly property int vPadding: 6
required property Wrapper popouts
required property PersistentProperties visibilities
required property PanelWindow bar
function checkPopout(x: real): void {
@@ -26,6 +27,9 @@ RowLayout {
return;
}
if ( visibilities.sidebar )
return;
const id = ch.id;
const top = ch.x;
const item = ch.item;
@@ -56,6 +60,10 @@ RowLayout {
popouts.currentName = "calendar";
popouts.currentCenter = Qt.binding( () => item.mapToItem( root, itemWidth / 2, 0 ).x );
popouts.hasCurrent = true;
} else if ( x > (root.width / 2 + 50) && x < (root.width / 2 - 50) && Config.barConfig.popouts.activeWindow ) {
popouts.currentName = "dash";
popouts.currentCenter = root.width / 2;
popouts.hasCurrent = true;
}
}
@@ -128,7 +136,9 @@ RowLayout {
DelegateChoice {
roleValue: "notifBell"
delegate: WrappedLoader {
sourceComponent: NotifBell {}
sourceComponent: NotifBell {
visibilities: root.visibilities
}
}
}
DelegateChoice {