Commit Graph

1150 Commits

Author SHA1 Message Date
Uwe Rathmann a3e1065096 QRectF interpolator added 2021-12-29 15:30:44 +01:00
Uwe Rathmann e5f15d34e4 QskAnimationHint improved 2021-12-29 15:27:53 +01:00
Uwe Rathmann 05bb54e48d avoiding deprecation warnings 2021-12-29 15:21:09 +01:00
Uwe Rathmann aca538a89d introducing series/sample for subcontrols being related to multiple
instances
2021-12-28 16:14:30 +01:00
Uwe Rathmann 9fff09144a QskMenuSkinlet improved 2021-12-28 15:33:13 +01:00
Uwe Rathmann f1a324b216 QskSkinlet improved for subControls with multible instances 2021-12-28 10:08:21 +01:00
Uwe Rathmann 320ed1b39c QskSkinStateChanger improved 2021-12-27 17:33:06 +01:00
Uwe Rathmann 622c6f06c2 trailing semicolons removed 2021-12-27 10:21:03 +01:00
Uwe Rathmann 9ce14619e7 using QVariant 2021-12-27 09:50:14 +01:00
Uwe Rathmann 6c46c0160d some functions copied from QskFunctions to QskPlatform 2021-12-26 12:57:02 +01:00
Uwe Rathmann a4d34dfa54 QskMenu::cascading added 2021-12-26 12:17:31 +01:00
Uwe Rathmann 26336fa5dc ReplayMousePressOutsidePopup reminder added 2021-12-26 12:15:07 +01:00
Uwe Rathmann 0d43fbcc27 qskPlatformIntegration/qskMaybeDesktopPlatform added 2021-12-26 12:12:18 +01:00
Uwe Rathmann 1930810070 QskSkinlet::itemIndexAt introduced 2021-12-26 09:15:15 +01:00
Uwe Rathmann 34641e4860 QskSkinlet::itemRect added 2021-12-24 16:50:34 +01:00
Uwe Rathmann 452ff3a07b QskMenu improved 2021-12-24 16:20:34 +01:00
Uwe Rathmann 1beec5e599 layout code improved 2021-12-24 16:18:46 +01:00
Uwe Rathmann fa6fc7b4c1 QskSkinnable::effectiveFontHeight added 2021-12-24 16:17:49 +01:00
Uwe Rathmann ca2cdf7663 beautified 2021-12-23 19:05:59 +01:00
Uwe Rathmann 8010d70e4a QskMenu added ( work in progress ) 2021-12-23 18:36:32 +01:00
Uwe Rathmann 8d2ff3c3fe QskPopup improvements 2021-12-23 18:19:52 +01:00
Uwe Rathmann af8df9f4be minor improvements 2021-12-23 18:16:18 +01:00
Uwe Rathmann d37b9ca39c using QskSkinStateChanger 2021-12-23 18:15:54 +01:00
Uwe Rathmann 6fd771d741 QskSkinStateChanger introduced 2021-12-23 18:15:07 +01:00
Uwe Rathmann 47f7737985 QskListView::Selected state introduced 2021-12-22 15:08:27 +01:00
Uwe Rathmann 28024d80d9 minor improvements 2021-12-22 15:07:51 +01:00
Uwe Rathmann 3842ca36a3 QskGraphic::aspectRatio added 2021-12-22 15:07:03 +01:00
Uwe Rathmann 0b5b622d1a minor improvements 2021-12-22 10:55:48 +01:00
Uwe Rathmann 8f76cf4c62 dead code removed 2021-12-15 08:47:16 +01:00
Uwe Rathmann c3dc970a94 QskLayoutHint renamed to QskLayoutMetrics 2021-12-15 08:45:29 +01:00
Uwe Rathmann b76d96bb2e forgotten debug code removed 2021-12-13 16:53:18 +01:00
Uwe Rathmann 738de14d4c hiding the devicePixelRato scaling in the nodes 2021-12-13 16:43:34 +01:00
Uwe Rathmann e4ffc3f074 manually aligning textures to avoid rounding issues 2021-12-10 13:39:41 +01:00
Uwe Rathmann 8ecff64b4a missing interpolators added 2021-12-09 17:38:37 +01:00
Uwe Rathmann 2b9eef700c hiding internal class in an anonymous namespace 2021-12-09 17:32:22 +01:00
Uwe Rathmann b0cbb4f9e4 missing paint device metrics added 2021-12-09 17:22:52 +01:00
Uwe Rathmann be16e74336 wip 2021-12-08 08:26:55 +01:00
Uwe Rathmann 9f6e2733ca code moved to internal methods to make things more readable 2021-12-06 12:40:32 +01:00
Uwe Rathmann 1a5a94838e more versatile APIs 2021-12-02 18:40:54 +01:00
Uwe Rathmann c93958a24d respect the device pixel ratio 2021-12-02 17:33:53 +01:00
Uwe Rathmann b5bc26eb63 using degrees for arcs ( not multiplied by 16, what QPainter wants ) 2021-12-02 17:15:41 +01:00
Uwe Rathmann ef38b069e6 layout issue fixed, update of the clipNode fixed 2021-11-26 14:12:42 +01:00
Uwe Rathmann ed77fc54e1 using c++11 2021-11-23 07:58:12 +01:00
Peter Hartmann 0657f1120c
aspects: Fix off-by-one error when printing subcontrols (#151) 2021-11-22 15:50:18 +01:00
Uwe Rathmann 9b0dd47cae disconnect from visibleChanged when being destructed 2021-11-02 07:47:01 +01:00
Uwe Rathmann 0d9dbf4c58 QML export as QskGadientStops does nor work - we need to stay with
QVector
2021-10-27 15:08:06 +02:00
Uwe Rathmann 4c26392d72 wrong include 2021-10-27 15:07:17 +02:00
Uwe Rathmann 4938156ada 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 ff8a5fbe31 button centering fixed 2021-10-27 13:02:34 +02:00
Uwe Rathmann 6194f947b8 fromPixmapAsImage added 2021-10-26 11:33:26 +02:00
Peter Hartmann bf1c45352c
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 a1b67ee7fb setColor/setColors fixed 2021-10-25 08:32:46 +02:00
Uwe Rathmann 4744d85725 more constructors to avoid losing alpha values 2021-10-25 08:31:32 +02:00
Uwe Rathmann 14040bf652 workaround for monochrome gradients with additional stops 2021-10-25 08:29:12 +02:00
Uwe Rathmann 2bfc8ee9f9 toAbsolute using width or height 2021-10-20 12:42:48 +02:00
Uwe Rathmann 56e94d01cf beautified 2021-10-20 12:42:26 +02: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 15102be421 code duplication removed 2021-10-19 06:44:17 +02:00
Uwe Rathmann 2ef09e3f02 checking against divison by 0 2021-10-14 17:08:54 +02:00
Uwe Rathmann 896cf240f3 defensive checks added 2021-10-12 17:57:07 +02:00
Uwe Rathmann fef2464120 singletons should be destroyd at program termination 2021-10-12 10:36:45 +02:00
Uwe Rathmann 5791341996 memory leak detection simplified 2021-10-08 07:47:00 +02:00
Uwe Rathmann 766105b201 leak statistics fixed 2021-10-07 18:37:46 +02:00
Uwe Rathmann d75ed9d6de object info added 2021-10-07 17:47:15 +02:00
Uwe Rathmann 22e75daf6a hiding code in QskObjectCounter.cpp 2021-10-07 13:49:13 +02:00
Uwe Rathmann 18dfd907fe QskScrollArea::layoutSizeHint added 2021-10-01 13:42:56 +02:00
Uwe Rathmann 0f0368d3b1 QskSkinTransition fixed 2021-09-21 16:06:12 +02:00
Uwe Rathmann 372751a13d Qt 6.2 workarounds 2021-09-21 10:28:13 +02:00
Uwe Rathmann f9ca36443e Qt 6.2 adjustments 2021-09-21 08:51:01 +02:00
Uwe Rathmann 899256ce86 making QskBoxBorderMetrics a Q_GADGET 2021-09-18 15:01:04 +02:00
Uwe Rathmann b2bf7c30e0 making QskShadowMetrics a Q_GADGET 2021-09-18 14:54:25 +02:00
Uwe Rathmann 2438b0f7ee playing with shadows 2021-09-18 14:48:25 +02:00
Uwe Rathmann 1e9080ee82 typo fixed 2021-09-18 14:06:31 +02:00
Uwe Rathmann 07aac221bb QskSkinnable::setSkinStates cleanup 2021-09-17 16:32:01 +02:00
Uwe Rathmann b1d80e37f1 using clearState instead of clearStates 2021-09-17 14:49:42 +02:00
Uwe Rathmann 1c3c04a745 using QskGradientStops 2021-09-17 13:47:43 +02:00
Uwe Rathmann 341d60e39b QskGradientStops introduced 2021-09-17 13:35:11 +02:00
Uwe Rathmann 2219a6fe8e code moved to QskGradientStop.[h|cpp] 2021-09-16 10:01:53 +02:00
Uwe Rathmann 71da4dcdff QskCorner removed - using QskBoxShapeMetrics instead 2021-09-15 17:54:44 +02:00
Uwe Rathmann b188491568 pointless forward declaraton removed 2021-09-15 14:06:12 +02:00
Uwe Rathmann 06b0fe56bc missing noexcept keywords added 2021-09-15 13:46:02 +02:00
Uwe Rathmann 295a964cd5 missing noexcept keywords added 2021-09-15 13:45:26 +02:00
Uwe Rathmann 11451576e3 pointless initialization removed 2021-09-14 13:27:22 +02:00
Uwe Rathmann 4a63f2cf68 using QDataStream::Qt_5_6 2021-09-14 13:25:11 +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 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 e0d2fdf8bc Metric/Color fixed 2021-09-02 17:06:16 +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 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 93987bd92f minor adjustments 2021-08-27 09:45:24 +02:00
Clemens Manert 01ea49fe02
Add ripple to SwitchButton (#123) 2021-08-27 09:09:10 +02:00
Uwe Rathmann 26710da0b3 QskGraphicLabel::panel property added 2021-08-26 15:17:41 +02:00
Uwe Rathmann 89ceca4fb4 missing const qualifier added 2021-08-06 14:22:50 +02:00