BarWidgets: First pass on contextual widget menu accessible from right-click.

Testing on volume widget for now.
This commit is contained in:
ItsLemmy
2025-11-17 20:35:45 -05:00
parent 1b114a0c5f
commit 3283aacf9b
11 changed files with 452 additions and 124 deletions
+3 -3
View File
@@ -95,7 +95,7 @@ Variants {
}
}
// TrayMenuWindow - separate window for tray context menus
// PopupMenuWindow - reusable popup window for both tray menus and context menus
// Disabled when bar is hidden or not configured for this screen
Loader {
active: {
@@ -108,12 +108,12 @@ Variants {
}
asynchronous: false
sourceComponent: TrayMenuWindow {
sourceComponent: PopupMenuWindow {
screen: modelData
}
onLoaded: {
Logger.d("AllScreens", "TrayMenuWindow created for", modelData?.name);
Logger.d("AllScreens", "PopupMenuWindow created for", modelData?.name);
}
}
}