Changeset View
Changeset View
Standalone View
Standalone View
applets/systemloadviewer/package/contents/ui/ColorSettings.qml
Show All 22 Lines | |||||
23 | import QtQuick.Layouts 1.0 | 23 | import QtQuick.Layouts 1.0 | ||
24 | import org.kde.kquickcontrols 2.0 as KQuickControls | 24 | import org.kde.kquickcontrols 2.0 as KQuickControls | ||
25 | 25 | | |||
26 | ColumnLayout { | 26 | ColumnLayout { | ||
27 | id: colorSettings | 27 | id: colorSettings | ||
28 | 28 | | |||
29 | property alias cfg_memApplicationColor: memApplicationColorPicker.color | 29 | property alias cfg_memApplicationColor: memApplicationColorPicker.color | ||
30 | property alias cfg_memBuffersColor: memBuffersColorPicker.color | 30 | property alias cfg_memBuffersColor: memBuffersColorPicker.color | ||
31 | property alias cfg_memCachedColor: memCachedColorPicker.color | | |||
32 | property alias cfg_cpuUserColor: cpuUserColorPicker.color | 31 | property alias cfg_cpuUserColor: cpuUserColorPicker.color | ||
33 | property alias cfg_cpuIOWaitColor: cpuIOWaitColorPicker.color | 32 | property alias cfg_cpuIOWaitColor: cpuIOWaitColorPicker.color | ||
34 | property alias cfg_cpuSysColor: cpuSysColorPicker.color | 33 | property alias cfg_cpuSysColor: cpuSysColorPicker.color | ||
35 | property alias cfg_cpuNiceColor: cpuNiceColorPicker.color | 34 | property alias cfg_cpuNiceColor: cpuNiceColorPicker.color | ||
36 | property alias cfg_swapUsedColor: swapUsedColorPicker.color | 35 | property alias cfg_swapUsedColor: swapUsedColorPicker.color | ||
37 | property alias cfg_cacheDirtyColor: cacheDirtyColorPicker.color | 36 | property alias cfg_cacheDirtyColor: cacheDirtyColorPicker.color | ||
38 | property alias cfg_cacheWritebackColor: cacheWritebackColorPicker.color | 37 | property alias cfg_cacheWritebackColor: cacheWritebackColorPicker.color | ||
39 | property alias cfg_setColorsManually: setColorsManuallyGroupBox.checked | 38 | property alias cfg_setColorsManually: setColorsManuallyGroupBox.checked | ||
▲ Show 20 Lines • Show All 72 Lines • ▼ Show 20 Line(s) | 109 | Label { | |||
112 | Layout.alignment: Qt.AlignRight | 111 | Layout.alignment: Qt.AlignRight | ||
113 | } | 112 | } | ||
114 | 113 | | |||
115 | KQuickControls.ColorButton { | 114 | KQuickControls.ColorButton { | ||
116 | id: memBuffersColorPicker | 115 | id: memBuffersColorPicker | ||
117 | } | 116 | } | ||
118 | 117 | | |||
119 | Label { | 118 | Label { | ||
120 | text: i18nc("@label:chooser", "Cached:") | | |||
121 | Layout.alignment: Qt.AlignRight | | |||
122 | } | | |||
123 | | ||||
124 | KQuickControls.ColorButton { | | |||
125 | id: memCachedColorPicker | | |||
126 | } | | |||
127 | | ||||
128 | Label { | | |||
129 | text: i18nc("@title:group", "Swap") | 119 | text: i18nc("@title:group", "Swap") | ||
130 | Layout.columnSpan: 2 | 120 | Layout.columnSpan: 2 | ||
131 | font.bold: true | 121 | font.bold: true | ||
132 | } | 122 | } | ||
133 | 123 | | |||
134 | 124 | | |||
135 | Label { | 125 | Label { | ||
136 | text: i18nc("@label:chooser", "Used swap:") | 126 | text: i18nc("@label:chooser", "Used swap:") | ||
Show All 37 Lines |