Libksysguard
50 property alias sensorIds: sensorsRepeater.model
54 property SensorDataModel sourceModel
59 property var colorSource
61 flow: GridLayout.TopToBottom
63 Layout.maximumHeight: implicitHeight
64 Layout.maximumWidth: parent.width
66 spacing: flow == GridLayout.TopToBottom ?
Kirigami.Units.smallSpacing :
Kirigami.Units.gridUnit
69 valueWidth:
Kirigami.Units.gridUnit * 2
70 formatValue:
function(input, index) {
75 return Formatter.formatValueShowNull(input, sourceModel.data(sourceModel.index(0, index), SensorDataModel.Unit))
84 Binding on valueRole {
92 Binding on shortNameRole {
96 Binding on colorRole {
103 delegate: ChartsControls.LegendDelegate {
105 shortName: sensor.shortName
106 value: sensor.formattedValue ||
"" 109 layoutWidth: legend.width
110 valueWidth:
Kirigami.Units.gridUnit * 2
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Thu Mar 4 2021 23:09:25 by
doxygen 1.8.11 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.