Skip to content

:cheries: faces/horizontalbars: Allow specifying the data range from config

Arjen Hiemstra requested to merge work/cherry-pick-6b3b16c4 into Plasma/6.0

In some cases, we may want to display sensors using this face that don't have a proper min/max range. So add the same sort of configuration that we have for other faces so it becomes possible to override the automatic data range with a manually specified one.

While at it, port the actual bar implementation from a manual implementation to a ProgressBar with overridden contentItem, as that makes the code a fair bit easier to work with.

BUG: 479573

(cherry picked from commit 6b3b16c4)

Merge request reports