917 Commits

Author SHA1 Message Date
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
2ef09e3f02 checking against divison by 0 2021-10-14 17:08:54 +02:00
Uwe Rathmann
896cf240f3 defensive checks added 2021-10-12 17:57:07 +02:00
Uwe Rathmann
18dfd907fe QskScrollArea::layoutSizeHint added 2021-10-01 13:42:56 +02:00
Uwe Rathmann
0f0368d3b1 QskSkinTransition fixed 2021-09-21 16:06:12 +02:00
Uwe Rathmann
372751a13d Qt 6.2 workarounds 2021-09-21 10:28:13 +02:00
Uwe Rathmann
f9ca36443e Qt 6.2 adjustments 2021-09-21 08:51:01 +02:00
Uwe Rathmann
07aac221bb QskSkinnable::setSkinStates cleanup 2021-09-17 16:32:01 +02:00
Uwe Rathmann
b1d80e37f1 using clearState instead of clearStates 2021-09-17 14:49:42 +02:00
Uwe Rathmann
71da4dcdff QskCorner removed - using QskBoxShapeMetrics instead 2021-09-15 17:54:44 +02:00
Uwe Rathmann
b188491568 pointless forward declaraton removed 2021-09-15 14:06:12 +02:00
Uwe Rathmann
11451576e3 pointless initialization removed 2021-09-14 13:27:22 +02:00
Uwe Rathmann
4092ec0a8a QskAspect::States introduced to be more accurate about state vs. states 2021-09-14 13:05:56 +02:00
Uwe Rathmann
e1a4e1fec3 each window might have its own skin 2021-09-09 07:53:35 +02:00
Uwe Rathmann
2fceca2385 missing parameter fixed 2021-09-04 17:11:59 +02:00
Uwe Rathmann
99822fc7aa QskSkinHintTableEditor API simplified 2021-09-04 16:48:02 +02:00
Uwe Rathmann
f51f3b65ab QskSkinHintTableEditor extended 2021-09-03 06:51:50 +02:00
Uwe Rathmann
e0d2fdf8bc Metric/Color fixed 2021-09-02 17:06:16 +02:00
Uwe Rathmann
bd30a5bbd5 state explicitely casted to quint16 2021-09-02 13:12:29 +02:00
Uwe Rathmann
decbce4bdd mehods renamed to setXYZForAllStateCombinations 2021-09-02 08:11:53 +02:00
Uwe Rathmann
eea001f831 methods for setting hints for state combinations added 2021-08-31 17:59:00 +02:00
Uwe Rathmann
9ebb5ae0a2 QskSkinnable::hasSkinState added 2021-08-30 15:30:41 +02:00
Uwe Rathmann
95731d9432 memory leak fixed 2021-08-30 12:39:16 +02:00
Uwe Rathmann
93987bd92f minor adjustments 2021-08-27 09:45:24 +02:00
Clemens Manert
01ea49fe02
Add ripple to SwitchButton (#123) 2021-08-27 09:09:10 +02:00
Uwe Rathmann
26710da0b3 QskGraphicLabel::panel property added 2021-08-26 15:17:41 +02:00
Uwe Rathmann
b626019345 older gcc verion need override final 2021-08-06 09:52:12 +02:00
Uwe Rathmann
728e92dad2 don't call effectiveSubcontrol from substitutedSubcontrol 2021-08-05 15:31:00 +02:00
Uwe Rathmann
26387aeefc yet another QskControl::setMargins overload 2021-08-05 11:06:14 +02:00
Uwe Rathmann
56211d9816 more geometry convenence setter 2021-08-04 18:48:26 +02:00
Uwe Rathmann
3606f61c65 QskSkinnable::subcontrolProxy added 2021-08-04 15:06:44 +02:00
Uwe Rathmann
d947920abe Squashed commit of the following:
commit f429d3ab4e82ab06bfd40577aef8e2d5fdfd59fd
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Wed Aug 4 14:40:36 2021 +0200

    subcontrolProxy introduced
2021-08-04 15:06:04 +02:00
Uwe Rathmann
0bfb08b20b overlapping status bits fixed 2021-08-04 11:48:14 +02:00
Uwe Rathmann
82bb10b7a8 forgotten signal removed 2021-08-04 11:32:33 +02:00
Uwe Rathmann
923affe749 uncrustified 2021-08-04 09:31:16 +02:00
Uwe Rathmann
66cc68bcda getting rid of the confusing QskAbstractButton::Checkable state 2021-08-04 08:24:36 +02:00
Uwe Rathmann
1b4be3bc23 layout code in QskSwitchButtonSkinlet improved - still some way to go
until the switch is perfectly themable and looks like in the material
specs
2021-08-03 15:02:33 +02:00
Uwe Rathmann
0e334e5fd9 switch button adjustments 2021-08-02 19:17:04 +02:00
Clemens Manert
13faf53495
Add SwitchButton (#121) 2021-08-02 13:22:37 +02:00
Uwe Rathmann
13867df163 making clang happy 2021-07-14 14:43:12 +02:00
Uwe Rathmann
3df57c6025 itemFocusClip added 2021-07-14 13:31:05 +02:00
Uwe Rathmann
75a9ee305c QskAspect::Primitive cleanup 2021-04-28 09:32:49 +02:00
Uwe Rathmann
3112df6c2f Flag/Color/Metric-Primitive united to Primitive - the initial concept
was not correct anymore as primitives like Border/Shadow are used for
Color and Metric
2021-04-27 10:11:10 +02:00
Uwe Rathmann
777149aecb restoring the focus only makes sense, when editing is terminated from
the input method
2021-04-26 16:29:17 +02:00
Uwe Rathmann
91232e845c crash with Qt 6.1 fixed 2021-04-26 15:11:19 +02:00
Uwe Rathmann
71a791918a version check fixed 2021-04-26 11:44:25 +02:00
Uwe Rathmann
37b7b47f1a typos fixed 2021-04-23 17:31:55 +02:00
Uwe Rathmann
2c8c6c8651 do not rely on default parameter 2021-04-23 15:17:43 +02:00
Uwe Rathmann
5e546e1e23 replaceSkinState added 2021-04-21 09:29:52 +02:00
Uwe Rathmann
fddf5efab4 pointlesskeyword removed 2021-04-21 09:28:57 +02:00