Commit Graph

26 Commits

Author SHA1 Message Date
Uwe Rathmann de7233e120 Qt5/QVariant can't convert enums to ints, so we need to register flags
as ints ( a.k.a alignment hint were broken in Qt5 )
2023-03-06 13:12:34 +01:00
Uwe Rathmann c587263592 symbolHints introduced, several skinlets changed to make use of them 2023-03-02 14:56:30 +01:00
Uwe Rathmann a32204cd8c QskAspect::Flag replaced by QskAspect::NoType. Flag was a leftover from
the very early stages of this project and its semantics had become wrong
in the meantime
2023-03-02 12:19:32 +01:00
Uwe Rathmann a6bf60c9b4 upgraded to uncrustify 0.76.0 - still not happy with the C++ beautifier
situation, that requires way too much manual post processing
2023-02-28 15:49:42 +01:00
Uwe Rathmann b140d1b30a QskGradientDirection introduced - no more classes derived from
QskGradient
2022-11-13 17:22:09 +01:00
Uwe Rathmann ad67d035f3 new QskGradient 2022-10-31 14:42:08 +01:00
Uwe Rathmann 896145ac11 QskTextOptions as skin hints 2022-08-25 09:39:33 +02:00
Uwe Rathmann 1e1cf34829 setter/getter for shadow hints 2022-06-13 13:10:45 +02:00
Uwe Rathmann f03007e7b8 QskShadowMetrics added to QskSkinHintTableEditor 2022-06-13 08:43:28 +02:00
Uwe Rathmann 12a3476e71 return code for all remove operations 2022-03-24 08:01:52 +01:00
Peter Hartmann ac8ef9cd5a
Box renderer: Support border gradients (#158)
* QskBoxBorderColors: Use gradients instead of colors

* QskBoxBorderColors: rename API

* render gradients on borders

* boxes example: Also draw gradient borders

* calculate proper numbers of needed border colors

* fixup with example

* support rounded corners

* support more colors in rounded color gradients

I THINK WE DON'T REALLY NEED THIS COMMIT

* We don't need this commit either

* Revert "We don't need this commit either"

This reverts commit 2dc38064f7fee1d0505262fe5cebcf9e1fb16cea.

* Revert "support more colors in rounded color gradients"

This reverts commit 5754d2d0773d8273d42ae1775b53d40f5e6af26a.

* fix borders for rect ellipses

* play around a bit

* small fixes

* some helper stuff and missing stuff

* user border colors

* close to something working somehow

* works a bit better

* put it into an own function

* rearrange a bit

* something's off

* still off, but seems like we need an additional line

* works but hackish

* now it works

* bring back samples

* correction

* pimp up example

* fix normal rendering

* some more debugging etc.

* turn around gradients

* turn around rectangular gradients as well

* turn around easier

* more test cases

* fix fill case

* more test cases

* clean up a bit

* clean up example

* clean up some more

* incorporate feedback from Uwe

* fix bug when using horizontal gradients
2022-02-04 16:11:11 +01:00
Uwe Rathmann 46707cc507 more convenience setter/getter 2021-12-29 15:36:04 +01:00
Uwe Rathmann ca2cdf7663 beautified 2021-12-23 19:05:59 +01: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
Uwe Rathmann 4092ec0a8a QskAspect::States introduced to be more accurate about state vs. states 2021-09-14 13:05:56 +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 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 923affe749 uncrustified 2021-08-04 09:31:16 +02:00
Uwe Rathmann 3aae2ca47d setBoxBorderColors variation added 2021-02-01 10:23:47 +01:00
Uwe Rathmann f037297620 convenience sett for gradients 2021-01-07 13:48:56 +01:00
Uwe Rathmann 5ecec7892e QskSkinHintTableEditor introduced 2020-12-26 12:57:08 +01:00