Commit Graph

14 Commits

Author SHA1 Message Date
Uwe Rathmann 83432af799 better painter paths for >= 360° 2024-01-22 14:10:46 +01:00
Uwe Rathmann 511db2650e copyright notice generalised 2024-01-17 14:31:45 +01:00
Uwe Rathmann 64db2d0117 code moved from QskArcRenderer to QskArcMetrics 2023-04-19 12:16:40 +02:00
Uwe Rathmann 3beaeb83fa QskArcMetrics::isClosed added 2023-04-17 17:28:48 +02:00
Uwe Rathmann 73dd618626 working on arcs 2023-04-14 09:47:10 +02:00
Uwe Rathmann a124bd67c6 helper functions for normalizing angles added 2023-04-13 09:25:02 +02:00
Uwe Rathmann 76248e480b QskArcMetrics::toAbsolute version with qreal added 2023-04-12 12:18:32 +02:00
Uwe Rathmann 7ddae671e2 API of classes dealing with arcs improved 2023-04-11 13:04:10 +02:00
Uwe Rathmann 9e583166ff BSD-3-Clause license 2023-04-06 09:23:37 +02:00
Uwe Rathmann f991a21a0a QMetaType definitions added 2022-03-30 18:30:22 +02:00
Uwe Rathmann 55d5f99575 introducing QskHashValue to work around Qt5/6 incompatibilities 2022-03-25 10:28:06 +01:00
Uwe Rathmann 2bfc8ee9f9 toAbsolute using width or height 2021-10-20 12:42:48 +02:00
Uwe Rathmann 73dbfeb708 QskArcMetrics adjustments 2021-10-20 09:27:05 +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