10 Commits

Author SHA1 Message Date
Uwe Rathmann
9ba8b8186c typo fixed 2023-04-06 10:15:03 +02:00
Uwe Rathmann
9e583166ff BSD-3-Clause license 2023-04-06 09:23:37 +02:00
Rick Vogel
30363a5e41 refactoring 2023-01-09 15:11:22 +01:00
Uwe Rathmann
9336e60c33 minor adjustments 2022-10-26 17:02:06 +02:00
Peter Hartmann
b89621a3d4
Iot dashboard arc rendering (#134)
* add QskArcNode and QskArcRenderer

* IOT example: Use QskArcNode instead of own arc node

* move some functionality to the arc renderer

* add QskArcMetrics

* add methods to QskSkinlet

* remove circular bar graph node

We can now use updateArcNode() and don't need our own method.

* support linear gradients in the arc renderer

* clean up

* incorporate Uwe's changes

* add overloads for updateArcNode() when the angles are set dynamically

The angles don't always come from the style, so we need overloads
in QskSkinlet to set them dynamically.
2021-10-20 07:50:25 +02:00
Peter Hartmann
3a1a7c635c
Iot dashboard: Make circular progress bar a QskControl (#124)
* IOT example, circular progress bar: Use a pen instead of a brush

That way we don't have to draw two circles, and we can in addition
use a conical gradient.

* IOT example: Make circular progress bar a QskControl

... and internally use a QskPaintedNode for now. By doing this we
already have the API ready (similar to QskProgressBar) and can
swap the QskPaintedNode with an arc renderer at a later point in
time.
2021-08-24 08:46:26 +02:00
Uwe Rathmann
279ec9537c using flat caps 2021-08-06 14:39:40 +02:00
Uwe Rathmann
304e89da8a alternative implemenation showing using a different type of gradient 2021-08-06 14:23:52 +02:00
Uwe Rathmann
9cb938b5e7 using subControl proxies + other improvements 2021-08-04 18:55:18 +02:00
Uwe Rathmann
77503cb639 iot-dashboard -> iotdashboard 2021-06-04 11:55:10 +02:00