16 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
Peter Hartmann
0db351872a IOT dashboard: Fix theming for light display 2022-12-20 16:41:49 +01:00
Peter Hartmann
9ba2fdb2f2 IOT example: Make device buttons clickable 2022-12-20 16:41:49 +01:00
Peter Hartmann
1338c876fd IOT dashboard: Make temperature and humidity changeable with buttons 2022-12-20 16:41:49 +01:00
Uwe Rathmann
9336e60c33 minor adjustments 2022-10-26 17:02:06 +02:00
Uwe Rathmann
a52499a7fc unused member removed 2022-10-26 11:00:57 +02:00
Uwe Rathmann
d5f247a6f3 use QRgb values instead of strings ( slow initialization even warned by
clazy )
2022-10-26 10:50:11 +02:00
Peter Hartmann
4216775891 IOT example: Use shadows from the system
... and not our own ones.

Resolves #201
2022-08-31 14:41:45 +02:00
Peter Hartmann
c7eae4c3d1
IOT example: Fix alpha value of gradients (#139)
We were calling the new constructor of QskGradientStop with a
completely transparent alpha value.
2021-10-27 16:36:46 +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
Uwe Rathmann
bd0c40b241 leftover code removed 2021-08-25 15:46:08 +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
3956f123f5 using pragma once for the examples 2021-08-04 10:11:12 +02:00
Uwe Rathmann
923affe749 uncrustified 2021-08-04 09:31:16 +02:00
Uwe Rathmann
77503cb639 iot-dashboard -> iotdashboard 2021-06-04 11:55:10 +02:00