mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Settings: SystemMonitor tab, hidden for now, until it gets content.
This commit is contained in:
@@ -77,6 +77,7 @@ SmartPanel {
|
||||
Notifications,
|
||||
ScreenRecorder,
|
||||
SessionMenu,
|
||||
SystemMonitor,
|
||||
UserInterface,
|
||||
Wallpaper
|
||||
}
|
||||
@@ -166,6 +167,10 @@ SmartPanel {
|
||||
id: sessionMenuTab
|
||||
SessionMenuTab {}
|
||||
}
|
||||
Component {
|
||||
id: systemMonitorTab
|
||||
SystemMonitorTab {}
|
||||
}
|
||||
|
||||
// Order *DOES* matter
|
||||
function updateTabsModel() {
|
||||
@@ -249,16 +254,22 @@ SmartPanel {
|
||||
"label": "settings.screen-recorder.title",
|
||||
"icon": "settings-screen-recorder",
|
||||
"source": screenRecorderTab
|
||||
}, {
|
||||
"id": SettingsPanel.Tab.Hooks,
|
||||
"label": "settings.hooks.title",
|
||||
"icon": "settings-hooks",
|
||||
"source": hooksTab
|
||||
}, {
|
||||
"id": SettingsPanel.Tab.SessionMenu,
|
||||
"label": "settings.session-menu.title",
|
||||
"icon": "settings-session-menu",
|
||||
"source": sessionMenuTab
|
||||
}, // {
|
||||
// "id": SettingsPanel.Tab.SystemMonitor,
|
||||
// "label": "settings.system-monitor.title",
|
||||
// "icon": "settings-system-monitor",
|
||||
// "source": systemMonitorTab
|
||||
// },
|
||||
{
|
||||
"id": SettingsPanel.Tab.Hooks,
|
||||
"label": "settings.hooks.title",
|
||||
"icon": "settings-hooks",
|
||||
"source": hooksTab
|
||||
}, {
|
||||
"id": SettingsPanel.Tab.About,
|
||||
"label": "settings.about.title",
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
import QtQuick
|
||||
import QtQuick.Controls
|
||||
import QtQuick.Layouts
|
||||
import Quickshell
|
||||
import qs.Commons
|
||||
import qs.Services.UI
|
||||
import qs.Widgets
|
||||
|
||||
ColumnLayout {
|
||||
id: root
|
||||
|
||||
spacing: Style.marginL
|
||||
|
||||
Component.onCompleted: {
|
||||
|
||||
}
|
||||
|
||||
NHeader {
|
||||
label: I18n.tr("settings.system-monitor.general.section.label")
|
||||
description: I18n.tr("settings.system-monitor.general.section.description")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user