Commit Graph

1354 Commits

Author SHA1 Message Date
Uwe Rathmann c1c651b0a5 comments fixed 2021-11-19 14:05:27 +01:00
Uwe Rathmann 752e63c55b Merge branch 'master' of https://github.com/uwerat/qskinny 2021-11-02 07:47:49 +01:00
Uwe Rathmann cd9d9079f7 disconnect from visibleChanged when being destructed 2021-11-02 07:47:01 +01:00
Peter Hartmann 16946a4d2b Iot dashboard: Add own shadows (#135)
* remove current shadow implementation

* add our own shadow code
2021-10-31 11:16:03 +01:00
Peter Hartmann 30cd116034 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
Uwe Rathmann 56b7d95db5 QML export as QskGadientStops does nor work - we need to stay with
QVector
2021-10-27 15:08:06 +02:00
Uwe Rathmann 59fab80418 wrong include 2021-10-27 15:07:17 +02:00
Uwe Rathmann e38771486f internal layoutBox replaced by a plain layout. A bit more lightweight
and we do not end up with focus changes when rearranging the buttons
2021-10-27 14:03:39 +02:00
Uwe Rathmann 9cb3dfa8b6 button centering fixed 2021-10-27 13:02:34 +02:00
Uwe Rathmann baec28fca0 using C++ auto 2021-10-27 13:02:18 +02:00
Uwe Rathmann 2895bd886a fromPixmapAsImage added 2021-10-26 11:33:26 +02:00
Uwe Rathmann 992e0dd77b Qt 5.6 incompatibility fixed 2021-10-26 10:59:26 +02:00
Peter Hartmann 0f5ffa5ea2 page indicator: Support different width / height for both horizontal and vertical orientations (#138)
* add Uwe's changes

* fix horizontal page indicators
2021-10-26 08:32:54 +02:00
Uwe Rathmann a0417aef0c setColor/setColors fixed 2021-10-25 08:32:46 +02:00
Uwe Rathmann 35ae18d016 more constructors to avoid losing alpha values 2021-10-25 08:31:32 +02:00
Uwe Rathmann 842df5368c workaround for monochrome gradients with additional stops 2021-10-25 08:29:12 +02:00
Uwe Rathmann 837848b8d1 toAbsolute using width or height 2021-10-20 12:42:48 +02:00
Uwe Rathmann 947f6ff345 beautified 2021-10-20 12:42:26 +02:00
Uwe Rathmann 96d2ef05dc QskArcMetrics adjustments 2021-10-20 09:27:05 +02: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 c1efa7d9a1 code duplication removed 2021-10-19 06:44:17 +02:00
Uwe Rathmann 83beba341a checking against divison by 0 2021-10-14 17:08:54 +02:00
Uwe Rathmann 6957ab4086 defensive checks added 2021-10-12 17:57:07 +02:00
Uwe Rathmann 92ee66da11 singletons should be destroyd at program termination 2021-10-12 10:36:45 +02:00
Uwe Rathmann 8d98b98e0f memory leak detection simplified 2021-10-08 07:47:00 +02:00
Uwe Rathmann 0bdd05c4d7 leak statistics fixed 2021-10-07 18:37:46 +02:00
Uwe Rathmann c980a2ada6 object info added 2021-10-07 17:47:15 +02:00
Uwe Rathmann 91707300b7 Merge branch 'master' of https://github.com/uwerat/qskinny 2021-10-07 13:49:46 +02:00
Uwe Rathmann 5e9729ce45 hiding code in QskObjectCounter.cpp 2021-10-07 13:49:13 +02:00
Uwe Rathmann 186e120910 Qt 6.2 workaround added - once
https://github.com/uwerat/qskinny/issues/131 is in place we hopefully
can remove it again
2021-10-07 12:29:42 +02:00
Uwe Rathmann 6e6ebd8c8f QskScrollArea::layoutSizeHint added 2021-10-01 13:42:56 +02:00
Uwe Rathmann f1f03bce27 shadows added for Qt < 6 2021-09-24 12:58:29 +02:00
Uwe Rathmann 5d5a3ae1e3 QskSkinTransition fixed 2021-09-21 16:06:12 +02:00
Uwe Rathmann 35c1aa1c1b Qt 6.2 workarounds 2021-09-21 10:28:13 +02:00
Uwe Rathmann c909ee585d Qt 6.2 adjustments 2021-09-21 08:51:01 +02:00
Uwe Rathmann 309f9359d4 broken code removed from default build 2021-09-21 08:50:23 +02:00
Uwe Rathmann 488cac3e6f shadows does not yet build with qt >= 6 2021-09-19 20:10:40 +02:00
Uwe Rathmann e675b2c4c2 making QskBoxBorderMetrics a Q_GADGET 2021-09-18 15:01:04 +02:00
Uwe Rathmann 5dafe78fa0 making QskShadowMetrics a Q_GADGET 2021-09-18 14:54:25 +02:00
Uwe Rathmann 3e263598c8 playing with shadows 2021-09-18 14:48:25 +02:00
Uwe Rathmann a2475abbe6 typo fixed 2021-09-18 14:06:31 +02:00
Uwe Rathmann 2ad305edb1 QskSkinnable::setSkinStates cleanup 2021-09-17 16:32:01 +02:00
Uwe Rathmann fd0fd39a26 using clearState instead of clearStates 2021-09-17 14:49:42 +02:00
Uwe Rathmann b2e9627d43 using QskGradientStops 2021-09-17 13:47:43 +02:00
Uwe Rathmann 3d24f586b5 moc include added 2021-09-17 13:36:06 +02:00
Uwe Rathmann 2b26399fa6 QskGradientStops added 2021-09-17 13:35:47 +02:00
Uwe Rathmann b7c1f63b15 QskGradientStops introduced 2021-09-17 13:35:11 +02:00
Uwe Rathmann 97f0b86004 code moved to QskGradientStop.[h|cpp] 2021-09-16 10:01:53 +02:00
Uwe Rathmann cedff456d4 QskCorner removed - using QskBoxShapeMetrics instead 2021-09-15 17:54:44 +02:00
Uwe Rathmann 96df46c952 pointless forward declaraton removed 2021-09-15 14:06:12 +02:00