117 Commits

Author SHA1 Message Date
Uwe Rathmann
585f763542 QskSkinnable can be used in combination with a simple QQuickItem now 2023-05-02 09:44:57 +02:00
Uwe Rathmann
9e583166ff BSD-3-Clause license 2023-04-06 09:23:37 +02:00
Uwe Rathmann
084eae3dbc pedantic compiler flags fixed 2023-04-04 09:27:02 +02:00
Uwe Rathmann
658bc71891 fixig pedantic compiler warnings 2023-04-04 09:05:16 +02: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
66db409b71 QskAspect::Placement renamed to QskAspect::Variation so that we use the
corresponding bits for an emphasis too
2023-02-15 16:37:54 +01:00
Uwe Rathmann
d7f1e22874 using QSizeF::grownBy 2023-01-17 15:37:53 +01:00
Uwe Rathmann
c5ace32bf2 QskAspect::Control renamed to QskAspect::NoSubcontrol 2022-11-18 12:29:58 +01:00
Uwe Rathmann
4f8a76234a index added for animator lookups to allow smooth transitions f.e when
selcting an cell in a list box
2022-09-13 12:40:44 +02:00
Uwe Rathmann
4ca5e798c8 broken state changes fixed 2022-09-09 12:01:30 +02:00
Uwe Rathmann
996e849fc5 startHintTransitions added to be able to start transitions withot
changing the state
2022-09-09 11:29:47 +02:00
Uwe Rathmann
47df732f4a better seperation between state animators and those for skin changes 2022-09-09 10:25:46 +02:00
Uwe Rathmann
50ec41868d some APIs narrowed from QskAspect to QskAspect::Subcontrol 2022-09-09 09:30:15 +02:00
Uwe Rathmann
beddc2569f early check for animators 2022-09-06 08:00:18 +02:00
Uwe Rathmann
896145ac11 QskTextOptions as skin hints 2022-08-25 09:39:33 +02:00
Uwe Rathmann
0a6ed7deb1 aspect resolving of animated values fixed ( placement/section bits ) 2022-07-17 15:59:53 +02:00
Uwe Rathmann
62fcbc6c32 QskAspect::Section introduced 2022-06-29 16:15:38 +02:00
Uwe Rathmann
1339a5f4cb shadows added to the box model 2022-06-13 17:01:15 +02:00
Uwe Rathmann
1e1cf34829 setter/getter for shadow hints 2022-06-13 13:10:45 +02:00
Uwe Rathmann
6728ad2bdc only check if types do match without doing the conversion 2022-04-03 16:31:54 +02:00
Uwe Rathmann
e2d6823927 skin transition heavily changed 2022-03-31 18:09:03 +02:00
Uwe Rathmann
27ee0fe423 using QVariant::metaType 2022-03-31 12:25:24 +02:00
Uwe Rathmann
94a7ae4509 using qskEffectiveSkin 2022-03-29 08:09:19 +02:00
Uwe Rathmann
1eae47aefa tracking states of the aspects in a QskSkinHintTable 2022-03-28 21:28:56 +02:00
Uwe Rathmann
04ec8b52a1 making clazy happier 2022-03-25 07:46:48 +01:00
Uwe Rathmann
1cc0dff8d5 uncrustified 2022-03-23 11:54:34 +01:00
Uwe Rathmann
ae2c6d87a8 upport for Qt < Qt 5.12 dropped 2022-03-08 11:53:46 +01:00
Uwe Rathmann
05dd8ea087 setting the placement bit only when being undefined in the request 2022-02-08 09:00:13 +01:00
Uwe Rathmann
d4f140f20e wrnings disabled 2022-01-10 08:47:27 +01:00
Uwe Rathmann
1d7b551b05 QskBoxHints introduced 2022-01-04 13:44:53 +01:00
Uwe Rathmann
89a2a395fd QskMenu::Cursor transition fixed 2021-12-29 17:19:19 +01:00
Uwe Rathmann
1a0ea4a3c4 cenvenience setter added 2021-12-29 16:21:33 +01:00
Uwe Rathmann
17f32546fd moveSkinHint introduced 2021-12-29 15:55:44 +01:00
Uwe Rathmann
fa6fc7b4c1 QskSkinnable::effectiveFontHeight added 2021-12-24 16:17:49 +01: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
07aac221bb QskSkinnable::setSkinStates cleanup 2021-09-17 16:32:01 +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
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
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
923affe749 uncrustified 2021-08-04 09:31:16 +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
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
c4e6db80df Doxygen docs 2021-02-22 17:15:37 +01:00
Uwe Rathmann
6fddbeecbf doxygen work 2021-02-16 12:19:05 +01:00