Libksysguard
SensorDataModel.h
61 Q_PROPERTY(QVariantMap sensorColors READ sensorColors WRITE setSensorColors NOTIFY sensorColorsChanged)
64 * Provides custom labels for Sensors that are used instead of the name and short name of the sensors.
66 Q_PROPERTY(QVariantMap sensorLabels READ sensorLabels WRITE setSensorLabels NOTIFY sensorLabelsChanged)
76 Q_PROPERTY(int updateRateLimit READ updateRateLimit WRITE setUpdateRateLimit NOTIFY updateRateLimitChanged RESET resetUpdateRateLimit)
105 QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override;
@ ShortName
A shorter name for the sensor. This is equal to name if not set.
Definition SensorDataModel.h:86
@ UpdateInterval
The time in milliseconds between each update of the sensor.
Definition SensorDataModel.h:95
int updateRateLimit
The minimum time between updates, in milliseconds.
Definition SensorDataModel.h:76
QVariantMap sensorLabels
Provides custom labels for Sensors that are used instead of the name and short name of the sensors.
Definition SensorDataModel.h:66
QVariantMap sensorColors
Used by the model to provide data for the Color role if set.
Definition SensorDataModel.h:61
QAbstractTableModel(QObject *parent)
Q_INTERFACES(...)
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
UserRole
Orientation
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 28 2025 11:59:47 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 28 2025 11:59:47 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.