Sysmon: panel

This commit is contained in:
Lemmy
2025-12-25 22:50:02 -05:00
parent 45953876d7
commit 374f2477e6
19 changed files with 548 additions and 23 deletions
@@ -183,6 +183,13 @@ Item {
shapeContainer: backgroundsShape
backgroundColor: panelBackgroundColor
}
// System Stats
PanelBackground {
panel: root.windowRoot.systemStatsPanelPlaceholder
shapeContainer: backgroundsShape
backgroundColor: panelBackgroundColor
}
}
// Apply shadow to the cached layer
+9
View File
@@ -23,6 +23,7 @@ import qs.Modules.Panels.Plugins
import qs.Modules.Panels.SessionMenu
import qs.Modules.Panels.Settings
import qs.Modules.Panels.SetupWizard
import qs.Modules.Panels.SystemStats
import qs.Modules.Panels.Tray
import qs.Modules.Panels.Wallpaper
import qs.Modules.Panels.WiFi
@@ -53,6 +54,7 @@ PanelWindow {
readonly property alias wifiPanel: wifiPanel
readonly property alias pluginPanel1: pluginPanel1
readonly property alias pluginPanel2: pluginPanel2
readonly property alias systemStatsPanel: systemStatsPanel
// Expose panel backgrounds for AllBackgrounds
readonly property var audioPanelPlaceholder: audioPanel.panelRegion
@@ -72,6 +74,7 @@ PanelWindow {
readonly property var wifiPanelPlaceholder: wifiPanel.panelRegion
readonly property var pluginPanel1Placeholder: pluginPanel1.panelRegion
readonly property var pluginPanel2Placeholder: pluginPanel2.panelRegion
readonly property var systemStatsPanelPlaceholder: systemStatsPanel.panelRegion
Component.onCompleted: {
Logger.d("MainScreen", "Initialized for screen:", screen?.name, "- Dimensions:", screen?.width, "x", screen?.height, "- Position:", screen?.x, ",", screen?.y);
@@ -293,6 +296,12 @@ PanelWindow {
screen: root.screen
}
SystemStatsPanel {
id: systemStatsPanel
objectName: "systemStatsPanel-" + (root.screen?.name || "unknown")
screen: root.screen
}
// ----------------------------------------------
// Plugin panel slots
// ----------------------------------------------