Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • bstrong5280/system-monitor-plasmoid
  • anuj42/system-monitor-plasmoid
  • analice/system-monitor-plasmoid
3 results
Show changes
Commits on Source (56)
Showing
with 631 additions and 40 deletions
Version 2.8
ported to Plasma 6
Version 2.7
Added option to increase width in a horizontal panel or
increase the height in a vertical panel.
Version 2.6
Added options to set custom lables for each display item and custom
names for each device in multiple device items (Disk space, network, etc)
Show default colors in Color tab.
Added Power(Battery) Sensor.
Version 2.5
Fix text color in Tooltips.
Version 2.4
Code fixes, improvements including
Remove "all" from Disk Space, Network, etc. due to inconsistent data.
Use Consistent unit sizes in tool-tips.
Ability to set command to be started for each item when Left-Clicked.
Option to show CPU temperatures seperately or show maximum for all cores.
Added Sensors for CPU and GPU Frequencies.
Version 2.3
Added following Sensors.
Cpu Temperatures
Gpu Load
Gpu memory
Gpu Temperature
General code improvements.
Better Tooltip formating.
Added option to show peak values.
Version 2.2
Change plotter smoothing strength.
Version 2.1
Revert plot history change, using too much CPU.
Version 2.0
Rewritten to use new sensor API.
Improved plotter smoothing, doubled amount of plot history.
Version 1.03
Fixed Disk space for drives larger than 2 TiB.
Fixed disk space for drives larger than 2TiB.
Minor code clean up.
Version 1.02
Added Compact View that can be added to a panel, Etc.
......
File mode changed from 100644 to 100755
# System Monitor Plasmoid
Plasmoid to view several Items from system Monitor. Each Item has its own tooltip and if you hover over a tooltip it will remain open.
Plasmoid to view several Items from system Monitor.
## Requirements
Plasma 5 shell (plasma >= 5.7)
Plasma 6 shell (plasma >= 6.0).
## Installation
### Using Discover
Search for "system monitor plasmoid" in Plasma Addons, Plasma Widgets.
You can now add the Widget to the desktop, Right Click on the desktop, select "Enter Edit Mode", select "Add Widgets", search for "System Monitor Plasmoid", drag to desktop.
### From store.kde.org
1. Go to the desktop.
3. Right Click the desktop, select "Add Widgets".
4. Click "Get New Widgets".
5. Click "Download New Plasma Widgets".
6. Search for "System Monitor Plasmoid".
7. Click Install.
8. Close Installer Window.
9. You can now add the Widget to the desktop, Right Click desktop and select "Add Widgets", search for "System Monitor Plasmoid", drag to desktop.
1. Go to the desktop.
3. Right Click the desktop, select "Add Widgets".
4. Click "Get New Widgets".
5. Click "Download New Plasma Widgets".
6. Search for "System Monitor Plasmoid".
7. Click Install.
8. Close Installer Window.
9. You can now add the Widget to the desktop, Right Click on the desktop, select "Enter Edit Mode", select "Add Widgets", search for "System Monitor Plasmoid", drag to desktop.
### Using kpackagetool5
### Using kpackagetool6
1. Download Package.
2. Open Konsole.
3. Goto download location
4. Enter "kpackagetool5 -i filename".
3. Go to download location
4. Enter "kpackagetool6 -t Plasma/Applet -i filename".
5. Close Konsole.
6. You can now add the Widget to the desktop, Right Click desktop and select "Add Widgets", search for "System Monitor Plasmoid", drag to desktop.
6. You can now add the Widget to the desktop, Right Click on the desktop, select "Enter Edit Mode", select "Add Widgets", search for "System Monitor Plasmoid", drag to desktop or Panel.
7. To update to latest version.
8. Do steps 1 thru 3.
9. Enter "kpackagetool5 -u filename".
9. Enter "kpackagetool6 -t Plasma/Applet -u filename".
10. Close Konsole
11. logout / login to load new version.
# Configuration
Right Click the Plasmoid and select "Configure System Monitor Plasmoid.."
Currently 6 Item types can be selected in the "Layout" tab
Currently 13 Item types can be selected in the "Layout" tab.
Each Item can be displayed as a bar Graph, a Circular Graph or a Plot Graph.
Colors for each Item can be selected on the "Colors" tab.
Fast plotting or smooth plotting (More Cpu intensive) can be selected for the Plot Graph.
There are options to show borders, to show labels (on top or bottom).
What Disks/Partitons to show Space Or acitivity for can be selected in the "Disk Space" or "Disk IO" tabs.
There is an option to show peak values on plotter Items.
What Disks/Partitions to show Space Or activity for can be selected in the "Disk Space" or "Disk IO" tabs.
What network devices to show activity for can be selected in the network tab.
What Gpu Devices to show activity, temperature or frequency for can be selected in the GPU tabs.
What Power Devices to show status for can be selected in the Power tab.
Different layouts can be obtained by selecting the number of columns/rows and layout direction.
**Changing the Height/Width Ratio will change the width of the plasmoid in a horizontal**
**panel or change the height of the plasmoid in a vertical panel**
Different layouts can be obtanined by selecting the number of columns/rows
and layout direction.
**You may need to widen the configuration dialog to see the new options**
If more Items are selected than what is allowed by the combination of Columns and Rows, the display will be distored due some Items overlaying each other. You will either need to select fewer Items or increase the number of columns or rows.
**There is now a custom label field for each display item and a display name field**
**(for multiple device items). If you enter a space, no label/name**
**will be displayed. If left blank the default label/name will be displayed.**
Add the plasmoid to the desktop more than once for additional effects.
**Add the plasmoid to the desktop more than once for additional effects.**
**The plasmoid can also be added multiple times to a panel for a wider widget effect.**
**If more Items are selected than what is allowed by the combination of Columns and Rows, the display will be distorted due some Items overlaying each other. You will either need to select fewer Items or increase the number of columns or rows.**
/*
* Copyright 2021 Barry Strong <bstrong@softtechok.com>
*
* This file is part of System Monitor Plasmoid
*
* System Monitor Plasmoid is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* System Monitor Plasmoid is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with System Monitor Plasmoid. If not, see <https://www.gnu.org/licenses/>.
*/
#include <QtDBus/QtDBus>
#include "dbusmodel.h"
#include <QProcess>
#include <QDebug>
DbusModel::DbusModel(QObject *parent) : QObject(parent)
{
QDBusConnection dbusSession = QDBusConnection::sessionBus();
QDBusConnection dbusSystem = QDBusConnection::systemBus();
statsIface = new QDBusInterface("org.kde.ksystemstats1", "/org/kde/ksystemstats1", "org.kde.ksystemstats1", dbusSession);
battIface = new QDBusInterface("org.freedesktop.UPower", "/org/freedesktop/UPower", "org.freedesktop.UPower", dbusSystem);
dbusSession.connect("org.kde.ksystemstats1", "/org/kde/ksystemstats1", "org.kde.ksystemstats1", "newSensorData", this, SLOT(newSensorData(QDBusMessage)));
}
DbusModel::~DbusModel()
{
statsIface->disconnect();
}
void DbusModel::subscribe(const QStringList &args) {
if (args.count() != 0)
statsIface->call("subscribe", args);
}
void DbusModel::unsubscribe(const QStringList &args) {
if (args.count() != 0)
statsIface->call("unsubscribe", args);
}
void DbusModel::execCmd(const QString &cmd, const QStringList &args) {
newProcess = new QProcess();
newProcess->start(cmd, args);
}
QStringList DbusModel::allSensors(const QString &filter) {
QStringList wrk;
QString key;
const auto reply = statsIface->call("allSensors").arguments().at(0).value<QDBusArgument>();
reply.beginMap();
while (!reply.atEnd()) {
reply.beginMapEntry();
reply >> key;
if (key.indexOf(filter) == 0)
wrk.append(key);
reply.endMapEntry();
}
return wrk;
}
SensorInfo DbusModel::sensorInfo(const QString &key) {
struct SensorInfo sinfo;
QStringList skey;
QString dkey;
sinfo.name = "NF";
if (key == "") {
sinfo.name = "NF";
} else {
skey.append(key);
const auto reply = statsIface->call("sensors",skey).arguments().at(0).value<QDBusArgument>();
reply.beginMap();
if (!reply.atEnd()) {
reply.beginMapEntry();
reply >> dkey;
reply.beginStructure();
reply >> sinfo.name;
reply >> sinfo.shortName;
reply >> sinfo.description;
reply >> sinfo.Type;
reply >> sinfo.unit;
reply >> sinfo.min;
reply >> sinfo.max;
} else {
sinfo.name = "NF";
}
}
return sinfo;
}
double DbusModel::maxValue(const QString &key) {
return sensorInfo(key).max;
}
double DbusModel::unitValue(const QString &key) {
return sensorInfo(key).unit;
}
double DbusModel::doubleData(const QString &key) {
struct dbusrec data;
QStringList skey;
if (key == "") {
return 0;
} else {
skey.append(key);
const auto reply = statsIface->call("sensorData",skey).arguments().at(0).value<QDBusArgument>();
reply.beginArray();
if (!reply.atEnd()) {
reply.beginStructure();
reply >> data.name >> data.value;
return data.value.toDouble();
} else {
return 0;
}
}
}
QString DbusModel::stringData(const QString &key) {
struct dbusrec data;
QStringList skey;
if (key == "") {
return "";
} else {
skey.append(key);
const auto reply = statsIface->call("sensorData",skey).arguments().at(0).value<QDBusArgument>();
reply.beginArray();
if (!reply.atEnd()) {
reply.beginStructure();
reply >> data.name >> data.value;
return data.value.toString();
} else {
return "";
}
}
}
bool DbusModel::battStatus() {
return battIface->property("OnBattery").toBool();
}
void DbusModel::newSensorData(const QDBusMessage &arg) {
struct dbusrec data;
sensorKeys.clear();
sensorValues.clear();
const auto reply = arg.arguments().at(0).value<QDBusArgument>();
reply.beginArray();
while (!reply.atEnd()) {
reply.beginStructure();
reply >> data.name;
reply >> data.value;
sensorKeys.append(data.name);
sensorValues.append(data.value);
reply.endStructure();
}
reply.endArray();
emit newSensorData(sensorKeys, sensorValues);
}
/*
* Copyright 2021 Barry Strong <bstrong@softtechok.com>
*
* This file is part of System Monitor Plasmoid
*
* System Monitor Plasmoid is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* System Monitor Plasmoid is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with System Monitor Plasmoid. If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef DBUSMODEL_H
#define DBUSMODEL_H
#include <QtDBus/QtDBus>
#include <QtQml/qqml.h>
struct dbusrec {
QString name;
QVariant value;
};
struct SensorInfo {
QString name;
QString shortName;
QString description;
quint32 Type;
quint32 unit;
qreal min = 0;
qreal max = 0;
};
class DbusModel : public QObject
{
Q_OBJECT
QML_NAMED_ELEMENT(Dbus)
public:
DbusModel(QObject *parent=nullptr);
~DbusModel() override;
private:
QDBusInterface* statsIface;
QDBusInterface* battIface;
QStringList sensorKeys;
QVariantList sensorValues;
SensorInfo sensorInfo(const QString &key);
QProcess *newProcess;
signals:
void newSensorData(const QStringList keys, const QVariantList values);
public slots:
QStringList allSensors(const QString &filter);
double maxValue(const QString &key);
double unitValue(const QString &key);
double doubleData(const QString &key);
QString stringData(const QString &key);
void subscribe(const QStringList &args);
void unsubscribe(const QStringList &args);
void execCmd(const QString &cmd, const QStringList &args);
bool battStatus();
private slots:
void newSensorData(const QDBusMessage &arg);
};
#endif // DBUSMODEL_H
TEMPLATE = lib
CONFIG += qt plugin qmltypes
QT += qml
QML_IMPORT_NAME = DbusModel
QML_IMPORT_MAJOR_VERSION = 1
QML_IMPORT_MINOR_VERSION = 1
DESTDIR = imports/$$QML_IMPORT_NAME
TARGET = qmldbusmodelplugin
QMLTYPES_FILENAME = $$DESTDIR/plugins.qmltypes
HEADERS += \
dbusmodel.h
SOURCES += \
dbusmodel.cpp \
plugin.cpp
DISTFILES += \
imports/qmldir
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 12.0.2, 2024-05-11T20:14:11. -->
<qtcreator>
<data>
<variable>EnvironmentId</variable>
<value type="QByteArray">{d0c0e99a-f4c5-4d21-b2be-d74efdc46d1a}</value>
</data>
<data>
<variable>ProjectExplorer.Project.ActiveTarget</variable>
<value type="qlonglong">0</value>
</data>
<data>
<variable>ProjectExplorer.Project.EditorSettings</variable>
<valuemap type="QVariantMap">
<value type="bool" key="EditorConfiguration.AutoIndent">true</value>
<value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
<value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value>
<valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
<value type="QString" key="language">Cpp</value>
<valuemap type="QVariantMap" key="value">
<value type="QByteArray" key="CurrentPreferences">CppGlobal</value>
</valuemap>
</valuemap>
<valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1">
<value type="QString" key="language">QmlJS</value>
<valuemap type="QVariantMap" key="value">
<value type="QByteArray" key="CurrentPreferences">QmlJSGlobal</value>
</valuemap>
</valuemap>
<value type="qlonglong" key="EditorConfiguration.CodeStyle.Count">2</value>
<value type="QByteArray" key="EditorConfiguration.Codec">UTF-8</value>
<value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
<value type="int" key="EditorConfiguration.IndentSize">4</value>
<value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value>
<value type="int" key="EditorConfiguration.MarginColumn">80</value>
<value type="bool" key="EditorConfiguration.MouseHiding">true</value>
<value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
<value type="int" key="EditorConfiguration.PaddingMode">1</value>
<value type="int" key="EditorConfiguration.PreferAfterWhitespaceComments">0</value>
<value type="bool" key="EditorConfiguration.PreferSingleLineComments">false</value>
<value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
<value type="bool" key="EditorConfiguration.ShowMargin">false</value>
<value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
<value type="bool" key="EditorConfiguration.SmartSelectionChanging">true</value>
<value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
<value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
<value type="int" key="EditorConfiguration.TabSize">8</value>
<value type="bool" key="EditorConfiguration.UseGlobal">true</value>
<value type="bool" key="EditorConfiguration.UseIndenter">false</value>
<value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
<value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
<value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
<value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
<value type="QString" key="EditorConfiguration.ignoreFileTypes">*.md, *.MD, Makefile</value>
<value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
<value type="bool" key="EditorConfiguration.skipTrailingWhitespace">true</value>
<value type="bool" key="EditorConfiguration.tintMarginArea">true</value>
</valuemap>
</data>
<data>
<variable>ProjectExplorer.Project.PluginSettings</variable>
<valuemap type="QVariantMap">
<valuemap type="QVariantMap" key="AutoTest.ActiveFrameworks">
<value type="bool" key="AutoTest.Framework.Boost">true</value>
<value type="bool" key="AutoTest.Framework.CTest">false</value>
<value type="bool" key="AutoTest.Framework.Catch">true</value>
<value type="bool" key="AutoTest.Framework.GTest">true</value>
<value type="bool" key="AutoTest.Framework.QtQuickTest">true</value>
<value type="bool" key="AutoTest.Framework.QtTest">true</value>
</valuemap>
<valuemap type="QVariantMap" key="AutoTest.CheckStates"/>
<value type="int" key="AutoTest.RunAfterBuild">0</value>
<value type="bool" key="AutoTest.UseGlobal">true</value>
<valuemap type="QVariantMap" key="ClangTools">
<value type="bool" key="ClangTools.AnalyzeOpenFiles">true</value>
<value type="bool" key="ClangTools.BuildBeforeAnalysis">true</value>
<value type="QString" key="ClangTools.DiagnosticConfig">Builtin.DefaultTidyAndClazy</value>
<value type="int" key="ClangTools.ParallelJobs">2</value>
<value type="bool" key="ClangTools.PreferConfigFile">true</value>
<valuelist type="QVariantList" key="ClangTools.SelectedDirs"/>
<valuelist type="QVariantList" key="ClangTools.SelectedFiles"/>
<valuelist type="QVariantList" key="ClangTools.SuppressedDiagnostics"/>
<value type="bool" key="ClangTools.UseGlobalSettings">true</value>
</valuemap>
</valuemap>
</data>
<data>
<variable>ProjectExplorer.Project.Target.0</variable>
<valuemap type="QVariantMap">
<value type="QString" key="DeviceType">Desktop</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 6.7.0 (qt6)</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Qt 6.7.0 (qt6)</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">{c0a78255-6adf-4a15-a2f3-b37afc3724ac}</value>
<value type="qlonglong" key="ProjectExplorer.Target.ActiveBuildConfiguration">1</value>
<value type="qlonglong" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
<value type="qlonglong" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
<value type="int" key="EnableQmlDebugging">0</value>
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/home/barry/Projects/QtProjects6/build-dbusmodel-Qt_6_7_0_qt6-Debug</value>
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory.shadowDir">/home/barry/Projects/QtProjects6/build-dbusmodel-Qt_6_7_0_qt6-Debug</value>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
<valuelist type="QVariantList" key="QtProjectManager.QMakeBuildStep.SelectedAbis"/>
</valuemap>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
</valuemap>
<value type="qlonglong" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
</valuemap>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
</valuemap>
<value type="qlonglong" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
</valuemap>
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.CustomParsers"/>
<value type="bool" key="ProjectExplorer.BuildConfiguration.ParseStandardOutput">false</value>
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Debug</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
</valuemap>
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/home/barry/Projects/QtProjects6/build-dbusmodel-Qt_6_7_0_qt6-Release</value>
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory.shadowDir">/home/barry/Projects/QtProjects6/build-dbusmodel-Qt_6_7_0_qt6-Release</value>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
<valuelist type="QVariantList" key="QtProjectManager.QMakeBuildStep.SelectedAbis"/>
</valuemap>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
</valuemap>
<value type="qlonglong" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
</valuemap>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
</valuemap>
<value type="qlonglong" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
</valuemap>
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.CustomParsers"/>
<value type="bool" key="ProjectExplorer.BuildConfiguration.ParseStandardOutput">false</value>
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Release</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
<value type="int" key="QtQuickCompiler">0</value>
</valuemap>
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.2">
<value type="int" key="EnableQmlDebugging">0</value>
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/home/barry/Projects/QtProjects6/build-dbusmodel-Qt_6_7_0_qt6-Profile</value>
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory.shadowDir">/home/barry/Projects/QtProjects6/build-dbusmodel-Qt_6_7_0_qt6-Profile</value>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
<valuelist type="QVariantList" key="QtProjectManager.QMakeBuildStep.SelectedAbis"/>
</valuemap>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
</valuemap>
<value type="qlonglong" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
</valuemap>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
</valuemap>
<value type="qlonglong" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
</valuemap>
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.CustomParsers"/>
<value type="bool" key="ProjectExplorer.BuildConfiguration.ParseStandardOutput">false</value>
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Profile</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
<value type="int" key="QtQuickCompiler">0</value>
<value type="int" key="SeparateDebugInfo">0</value>
</valuemap>
<value type="qlonglong" key="ProjectExplorer.Target.BuildConfigurationCount">3</value>
<valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
<value type="qlonglong" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Deploy</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
</valuemap>
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
<valuemap type="QVariantMap" key="ProjectExplorer.DeployConfiguration.CustomData"/>
<value type="bool" key="ProjectExplorer.DeployConfiguration.CustomDataEnabled">false</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
</valuemap>
<value type="qlonglong" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
<valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
<value type="bool" key="Analyzer.Perf.Settings.UseGlobalSettings">true</value>
<value type="bool" key="Analyzer.QmlProfiler.Settings.UseGlobalSettings">true</value>
<value type="int" key="Analyzer.Valgrind.Callgrind.CostFormat">0</value>
<value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value>
<valuelist type="QVariantList" key="CustomOutputParsers"/>
<value type="int" key="PE.EnvironmentAspect.Base">2</value>
<valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
<value type="bool" key="PE.EnvironmentAspect.PrintOnRun">false</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.CustomExecutableRunConfiguration</value>
<value type="QString" key="ProjectExplorer.RunConfiguration.BuildKey"></value>
<value type="bool" key="ProjectExplorer.RunConfiguration.Customized">false</value>
<value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value>
<value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
</valuemap>
<value type="qlonglong" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
</valuemap>
</data>
<data>
<variable>ProjectExplorer.Project.TargetCount</variable>
<value type="qlonglong">1</value>
</data>
<data>
<variable>ProjectExplorer.Project.Updater.FileVersion</variable>
<value type="int">22</value>
</data>
<data>
<variable>Version</variable>
<value type="int">22</value>
</data>
</qtcreator>
plugin qmldbusmodelplugin ./imports/DbusModel
/*
* Copyright 2019 Barry Strong <bstrong@softtechok.com>
* Copyright 2021 Barry Strong <bstrong@softtechok.com>
*
* This file is part of System Monitor Plasmoid
*
......@@ -17,14 +17,12 @@
* along with System Monitor Plasmoid. If not, see <https://www.gnu.org/licenses/>.
*/
import QtQuick 2.0
import org.kde.plasma.plasmoid 2.0
import org.kde.plasma.core 2.0 as PlasmaCore
#include <QtQml/QQmlEngineExtensionPlugin>
Item {
id: root
Plasmoid.switchWidth: theme.mSize(theme.defaultFont).width * 10
Plasmoid.switchHeight: theme.mSize(theme.defaultFont).height * 5
Plasmoid.fullRepresentation: FullRepresentation {}
Plasmoid.compactRepresentation: CompactRepresentation {}
}
class QDbusModelPlugin : public QQmlEngineExtensionPlugin
{
Q_OBJECT
Q_PLUGIN_METADATA(IID QQmlEngineExtensionInterface_iid)
};
#include "plugin.moc"
images/01 - config.png

226 KiB

images/02 - DisplayName.png

108 KiB

images/03 - Colors.png

152 KiB

images/Power.png

48.4 KiB

images/grid.png

76.6 KiB

images/panel.png

14.4 KiB

images/systemmonitor-1.png

20.5 KiB | W: | H:

images/systemmonitor-1.png

29.2 KiB | W: | H:

images/systemmonitor-1.png
images/systemmonitor-1.png
images/systemmonitor-1.png
images/systemmonitor-1.png
  • 2-up
  • Swipe
  • Onion skin
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755