Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
libksysguard
Commits
a498019e
Commit
a498019e
authored
Mar 08, 2021
by
Arjen Hiemstra
Browse files
Use updateRateLimit in the Text face
parent
5bc22d1d
Changes
3
Hide whitespace changes
Inline
Side-by-side
faces/facepackages/textonly/contents/ui/CompactRepresentation.qml
View file @
a498019e
...
...
@@ -44,6 +44,7 @@ Faces.SensorFace {
showGroups
:
root
.
controller
.
faceConfiguration
.
groupByTotal
colorSource
:
root
.
colorSource
totalHeight
:
root
.
height
updateRateLimit
:
root
.
controller
.
updateRateLimit
}
Item
{
Layout.fillWidth
:
true
;
Layout.fillHeight
:
true
}
...
...
faces/facepackages/textonly/contents/ui/FullRepresentation.qml
View file @
a498019e
...
...
@@ -63,6 +63,7 @@ Faces.SensorFace {
showGroups
:
root
.
controller
.
faceConfiguration
.
groupByTotal
colorSource
:
root
.
colorSource
totalHeight
:
root
.
height
updateRateLimit
:
root
.
controller
.
updateRateLimit
}
Item
{
Layout.fillWidth
:
true
;
Layout.fillHeight
:
true
}
...
...
faces/facepackages/textonly/contents/ui/GroupedText.qml
View file @
a498019e
...
...
@@ -35,6 +35,7 @@ ColumnLayout {
property
bool
showGroups
:
false
property
var
colorSource
property
real
totalHeight
property
int
updateRateLimit
Repeater
{
model
:
root
.
showGroups
?
root
.
totalSensorIds
:
1
...
...
@@ -102,6 +103,7 @@ ColumnLayout {
Sensors.Sensor
{
id
:
groupSensor
sensorId
:
root
.
showGroups
?
modelData
:
""
updateRateLimit
:
root
.
updateRateLimit
}
}
}
...
...
@@ -112,7 +114,7 @@ ColumnLayout {
Instantiator
{
model
:
root
.
highPrioritySensorIds
Sensors.Sensor
{
sensorId
:
modelData
}
Sensors.Sensor
{
sensorId
:
modelData
;
updateRateLimit
:
root
.
updateRateLimit
}
onObjectAdded
:
{
root
.
highPrioritySensors
.
push
(
object
)
...
...
@@ -127,7 +129,7 @@ ColumnLayout {
Instantiator
{
model
:
root
.
lowPrioritySensorIds
Sensors.Sensor
{
sensorId
:
modelData
}
Sensors.Sensor
{
sensorId
:
modelData
;
updateRateLimit
:
root
.
updateRateLimit
}
onObjectAdded
:
{
root
.
lowPrioritySensors
.
push
(
object
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment