Commit Graph

97 Commits

Author SHA1 Message Date
Uwe Rathmann a3e07ed417 only check if types do match without doing the conversion 2022-04-03 16:31:54 +02:00
Uwe Rathmann 89bd7a35ef skin transition heavily changed 2022-03-31 18:09:03 +02:00
Uwe Rathmann 1084609db2 using QVariant::metaType 2022-03-31 12:25:24 +02:00
Uwe Rathmann 048835a618 using qskEffectiveSkin 2022-03-29 08:09:19 +02:00
Uwe Rathmann cefe16ca28 tracking states of the aspects in a QskSkinHintTable 2022-03-28 21:28:56 +02:00
Uwe Rathmann 41ded3ccf9 making clazy happier 2022-03-25 07:46:48 +01:00
Uwe Rathmann 1987a28430 uncrustified 2022-03-23 11:54:34 +01:00
Uwe Rathmann 64ed933cd8 upport for Qt < Qt 5.12 dropped 2022-03-08 11:53:46 +01:00
Uwe Rathmann 0e7b2048d1 setting the placement bit only when being undefined in the request 2022-02-08 09:00:13 +01:00
Uwe Rathmann b8a7b5269c wrnings disabled 2022-01-10 08:47:27 +01:00
Uwe Rathmann f49a73c78d QskBoxHints introduced 2022-01-04 13:44:53 +01:00
Uwe Rathmann e389df5b70 QskMenu::Cursor transition fixed 2021-12-29 17:19:19 +01:00
Uwe Rathmann 6a0e79e21a cenvenience setter added 2021-12-29 16:21:33 +01:00
Uwe Rathmann 042f04cdad moveSkinHint introduced 2021-12-29 15:55:44 +01:00
Uwe Rathmann 7037ee9809 QskSkinnable::effectiveFontHeight added 2021-12-24 16:17:49 +01:00
Peter Hartmann 5f2e285ce3 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 2ad305edb1 QskSkinnable::setSkinStates cleanup 2021-09-17 16:32:01 +02:00
Uwe Rathmann 41cba80f61 pointless initialization removed 2021-09-14 13:27:22 +02:00
Uwe Rathmann 139f40067b QskAspect::States introduced to be more accurate about state vs. states 2021-09-14 13:05:56 +02:00
Uwe Rathmann 52e917ec2f each window might have its own skin 2021-09-09 07:53:35 +02:00
Uwe Rathmann 53e068afc0 QskSkinnable::hasSkinState added 2021-08-30 15:30:41 +02:00
Uwe Rathmann 24a9963550 memory leak fixed 2021-08-30 12:39:16 +02:00
Uwe Rathmann a1f375a127 QskSkinnable::subcontrolProxy added 2021-08-04 15:06:44 +02:00
Uwe Rathmann b3540aa3a0 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 2b719190c3 uncrustified 2021-08-04 09:31:16 +02:00
Uwe Rathmann b7c4532bf0 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 ef6c54428f do not rely on default parameter 2021-04-23 15:17:43 +02:00
Uwe Rathmann ed9344a730 replaceSkinState added 2021-04-21 09:29:52 +02:00
Uwe Rathmann c4e6db80df Doxygen docs 2021-02-22 17:15:37 +01:00
Uwe Rathmann 6fddbeecbf doxygen work 2021-02-16 12:19:05 +01:00
Uwe Rathmann cf2ca93cab full updates for setting skinlet or margin 2021-02-11 12:45:17 +01:00
Uwe Rathmann 0ef91c060f missing StrutSize primitive added 2021-01-21 07:30:32 +01:00
Uwe Rathmann 79cceb1b09 subControlContentsRect added 2020-12-29 12:57:03 +01:00
Uwe Rathmann 98343dec60 auto-updating the control, when setting a skinHint 2020-12-27 16:31:07 +01:00
Uwe Rathmann 92b1ed669b fontRole/graphicRole renamed to fontRoleHint/graphicRoleHint 2020-12-27 16:19:01 +01:00
Uwe Rathmann 3901c02368 QskSkinHintTable::setHint indicating changes as return value 2020-12-27 12:06:12 +01:00
Uwe Rathmann 1a3058fad8 code moved to QskSkinHintTable 2020-12-26 13:00:09 +01:00
Uwe Rathmann 9f2cb6920d includes added 2020-12-23 09:49:20 +01:00
Uwe Rathmann e176f474a8 QskSkin::skinlet using the metaObject 2020-12-23 09:41:29 +01:00
Uwe Rathmann 73b5934839 setAnimation being aware of subControl substitution 2020-12-23 09:38:10 +01:00
Uwe Rathmann 0a98b5c1c0 QskInterval removed from the skinHint helper methods 2020-12-23 09:34:11 +01:00
Uwe Rathmann 726aca98df QskAspect::hasState added 2020-12-23 09:28:17 +01:00
Uwe Rathmann 95d8d2a6da making QskAspect a class 2020-12-21 16:06:58 +01:00
Uwe Rathmann 0df922cba8 making startTransition aware of sunControl redirection 2020-12-21 15:27:05 +01:00
Uwe Rathmann 812f108e21 effectiveHint -> effectiveSkinHint 2020-12-21 10:24:59 +01:00
Uwe Rathmann bdc068c4d6 ubcontro, substitution moved to setSkinHint/resetHint 2020-12-21 09:57:57 +01:00
Uwe Rathmann 63929da406 minor optimizations 2020-12-20 16:10:24 +01:00
Uwe Rathmann 8426e71156 handling of primitives optimized 2020-12-18 13:09:22 +01:00
Uwe Rathmann 4d40a9bd12 using QskMargins 2020-12-17 16:44:54 +01:00
Uwe Rathmann 6087f53088 resetStrutSizeHint added 2020-12-17 08:53:00 +01:00