Commit Graph

1482 Commits

Author SHA1 Message Date
Uwe Rathmann d3d7512e52 workaround for missing skin loading 2021-12-17 14:44:31 +01:00
Uwe Rathmann a4e7738e61 dead code removed 2021-12-15 08:47:16 +01:00
Uwe Rathmann cda3df4fe3 QskLayoutHint renamed to QskLayoutMetrics 2021-12-15 08:45:29 +01:00
Uwe Rathmann 0bf024c11d docs added 2021-12-14 08:45:49 +01:00
Uwe Rathmann 12d857c60b forgotten debug code removed 2021-12-13 16:53:18 +01:00
Uwe Rathmann 863351e372 hiding the devicePixelRato scaling in the nodes 2021-12-13 16:43:34 +01:00
Uwe Rathmann 9d7a836d6a manually aligning textures to avoid rounding issues 2021-12-10 13:39:41 +01:00
Uwe Rathmann 6af87f45aa missing interpolators added 2021-12-09 17:38:37 +01:00
Uwe Rathmann cf57111724 hiding internal class in an anonymous namespace 2021-12-09 17:32:22 +01:00
Uwe Rathmann 4fadefa766 missing paint device metrics added 2021-12-09 17:22:52 +01:00
Uwe Rathmann 515c449365 wip 2021-12-08 08:26:55 +01:00
Uwe Rathmann 40de1d1a0b Qt 5.6 incompatibility fixed 2021-12-06 19:55:19 +01:00
Uwe Rathmann 0a4671d9de tabpage background fixed 2021-12-06 19:20:59 +01:00
Uwe Rathmann 4854f08f87 background fixed 2021-12-06 19:12:27 +01:00
Peter Hartmann c19a4d03dc Move note on how to contribute to the main page (#155) 2021-12-06 19:00:26 +01:00
Uwe Rathmann 5ceff116c2 code moved to internal methods to make things more readable 2021-12-06 12:40:32 +01:00
Uwe Rathmann aacf5ef0e0 text shortened 2021-12-05 13:59:47 +01:00
Peter Hartmann 89e6594168 Add note about contributing (#154) 2021-12-05 13:58:04 +01:00
Uwe Rathmann 6357d2a5a1 more versatile APIs 2021-12-02 18:40:54 +01:00
Uwe Rathmann f0c46d5665 respect the device pixel ratio 2021-12-02 17:33:53 +01:00
Uwe Rathmann eb1c2b07de using degrees for arcs ( not multiplied by 16, what QPainter wants ) 2021-12-02 17:15:41 +01:00
Uwe Rathmann b5c32aa84e minor doxygen updates 2021-12-02 16:58:44 +01:00
Uwe Rathmann 4edfbc55b6 layout issue fixed, update of the clipNode fixed 2021-11-26 14:12:42 +01:00
Uwe Rathmann 2fea6609d0 using c++11 2021-11-23 07:58:12 +01:00
Peter Hartmann bd6163fc30 IOT example: Make text label retain position when changing value (#150) 2021-11-22 15:51:40 +01:00
Clemens Manert ce95d89c2c Tutorial debian packages (#149)
* Add debian packages

* Add debian packages
2021-11-22 15:51:05 +01:00
Peter Hartmann 46360c694d aspects: Fix off-by-one error when printing subcontrols (#151) 2021-11-22 15:50:18 +01:00
Peter Hartmann bd43cdda02 Iot dashboard light intensity (#142)
* IOT dashboard: Make light dimmer use arc renderer

* use shadow

* add value text

* add warm and cold parts

* add knob

* handle input

* only move knob when drawing along the arc

* improve input handling

* add tickmarks

* add tickmarks node

* clean up a bit

* Update screenshot of IOT dashboard for github site
2021-11-19 15:02:57 +01:00
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