Commit Graph

313 Commits

Author SHA1 Message Date
Uwe Rathmann de349c3423 status bit initialization improved 2022-01-21 07:33:28 +01:00
Uwe Rathmann b5da0da76d status bits introduced to cache information, that would be recaclulated
many times otherwise
2022-01-21 07:29:07 +01:00
Uwe Rathmann 9f7824cd17 minor improvements 2022-01-10 08:44:02 +01:00
Uwe Rathmann d1f6902c27 toTransparentF added 2022-01-07 13:55:51 +01:00
Uwe Rathmann 13cb2f8ca3 QskRgb::totransparentF added 2022-01-07 13:23:29 +01:00
Uwe Rathmann 5acce30878 Qt 5.6 incompatibility fixed 2022-01-07 12:46:24 +01:00
Uwe Rathmann 72f28783a9 qskInterpolatedSize added 2022-01-04 13:46:54 +01:00
Uwe Rathmann 1d7b551b05 QskBoxHints introduced 2022-01-04 13:44:53 +01:00
Uwe Rathmann a3e1065096 QRectF interpolator added 2021-12-29 15:30:44 +01:00
Uwe Rathmann 6c46c0160d some functions copied from QskFunctions to QskPlatform 2021-12-26 12:57:02 +01:00
Uwe Rathmann 0d43fbcc27 qskPlatformIntegration/qskMaybeDesktopPlatform added 2021-12-26 12:12:18 +01:00
Uwe Rathmann ca2cdf7663 beautified 2021-12-23 19:05:59 +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 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 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 2bfc8ee9f9 toAbsolute using width or height 2021-10-20 12:42:48 +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 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 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 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 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 4092ec0a8a QskAspect::States introduced to be more accurate about state vs. states 2021-09-14 13:05:56 +02:00
Uwe Rathmann 923affe749 uncrustified 2021-08-04 09:31:16 +02:00
Uwe Rathmann 13867df163 making clang happy 2021-07-14 14:43:12 +02:00
Uwe Rathmann c57924d7eb qskFuzzyFloor/Ceil improved 2021-07-14 13:29:46 +02:00
Uwe Rathmann 4d888f7a4d isEmpty added 2021-05-26 13:07:23 +02:00
Uwe Rathmann d07e5fcf3f qskFuzzyFllor/qskFuzzyCeil added 2021-05-26 13:06:50 +02:00
Uwe Rathmann 75a9ee305c QskAspect::Primitive cleanup 2021-04-28 09:32:49 +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 960f2a8d66 AllUserStates removed 2021-04-23 15:14:57 +02:00
Uwe Rathmann 63619f68d4 qskGlobalScalefactor added 2021-04-21 08:26:15 +02:00
Uwe Rathmann 5abe0803c0 typo fixed 2021-04-21 08:22:58 +02:00
Uwe Rathmann d6dcf0a3d1 missing implementation of fuzzyIsBoundary 2021-04-21 07:49:50 +02:00
Uwe Rathmann 228e94dcce suppress overlapping tick labels 2021-04-19 09:27:23 +02:00
Uwe Rathmann 33c0d92ee1 some additional methods added 2021-04-19 09:26:40 +02:00
Uwe Rathmann e9364e0f11 more methods for tools that rely on meta object data 2021-02-19 12:43:11 +01:00
Uwe Rathmann cea3828e3d more methods for tools that rely on meta object data 2021-02-19 12:42:05 +01:00
Uwe Rathmann d54404c9f4 QMetaType support, debug operator 2021-02-14 12:36:15 +01:00
Uwe Rathmann 86e9ea98ab meta type registration added 2021-01-14 07:07:13 +01:00
Uwe Rathmann 9bf5936732 SizeMode primitive removed 2020-12-27 16:07:22 +01:00
Uwe Rathmann bb3ffc454f QskMargins improved 2020-12-27 11:15:34 +01:00
Uwe Rathmann f3dd88c11c overlapping states fixed ( where possible ) 2020-12-26 14:34:26 +01:00
Uwe Rathmann 5ecec7892e QskSkinHintTableEditor introduced 2020-12-26 12:57:08 +01:00
Uwe Rathmann 726aca98df QskAspect::hasState added 2020-12-23 09:28:17 +01:00
Uwe Rathmann 95d8d2a6da making QskAspect a class 2020-12-21 16:06:58 +01:00
Uwe Rathmann 549031fe78 setState added 2020-12-20 16:05:05 +01:00
Uwe Rathmann 23bbab7820 unused enum removed 2020-12-18 13:44:02 +01:00
Uwe Rathmann 8426e71156 handling of primitives optimized 2020-12-18 13:09:22 +01:00
Uwe Rathmann 247112ae5c LastPrimitive fixed 2020-12-18 08:50:23 +01:00
Uwe Rathmann 6bb7486578 width/height/extent added 2020-12-17 16:13:44 +01:00
Uwe Rathmann 58de684902 using StrutSize instead og Minimum/Maximum metric hints 2020-12-16 12:49:24 +01:00
Uwe Rathmann 06fe52de32 wip 2020-12-15 08:37:06 +01:00
Uwe Rathmann 38b832d463 noexcept keywords added 2020-12-15 07:56:42 +01:00
Uwe Rathmann c1e70a2d9e more convenience methods to access skin hints 2020-12-15 07:21:12 +01:00
Uwe Rathmann 05cb42a7ea include guards harmonized 2020-12-11 15:16:50 +01:00
Uwe Rathmann fbf2a33a9a uncrustified 2020-12-05 15:09:31 +01:00
Uwe Rathmann 6281c43dda trailling , removed 2020-11-26 06:56:38 +01:00
Uwe Rathmann 4fd41e7be2 some classes for scales/axes 2020-11-13 15:34:02 +01:00
Uwe Rathmann e86ce49fb4 converters added 2020-10-30 07:29:43 +01:00
Uwe Rathmann 9a3e8d0d2d using QskMargins instead of QMargins in Q_PROPRTY definitions to get Qt6
working
2020-10-28 19:35:51 +01:00
Uwe Rathmann aed9412aee Q_GADGET added 2020-10-28 12:33:51 +01:00
Uwe Rathmann 1eada5fbe0 Qt6 incompatibilities fixed 2020-10-28 12:33:26 +01:00
Uwe Rathmann a101080231 Qt6 incompatibilities fixed 2020-10-25 15:56:22 +01:00
Uwe Rathmann bf4fbaa905 no QVector forward declaration - can't be done with Qt6, but as we have
all what we need from qglobal.h ...
2020-10-25 14:57:41 +01:00
Uwe Rathmann 205de91dae Qt6 incompatibility fixed 2020-10-23 13:54:27 +02:00
Uwe Rathmann 27c4704f68 no QVector forward declarations possible with Qt6 2020-10-23 13:43:28 +02:00
Uwe Rathmann 9b9fb04adb shadowRect added 2020-10-20 17:45:07 +02:00
Uwe Rathmann d0b833a38d missing inline keywords added 2020-10-09 08:37:23 +02:00
Uwe Rathmann e5f770d753 QskShadowMetrics added 2020-10-09 08:21:30 +02:00
Uwe Rathmann 1b8bbdc261 hash function simplified 2020-10-09 08:21:06 +02:00
Uwe Rathmann 21d90e5fa0 pointless "bit saving" removed 2020-10-09 08:20:36 +02:00
Uwe Rathmann b78a77f4ff constructor for QMarginsF added 2020-09-28 09:03:35 +02:00
Uwe Rathmann 42d48c4649 debug operator fixed 2020-09-28 09:03:11 +02:00
Uwe Rathmann 664b141ee4 contains/fuzzyContains for intervals added 2020-08-26 13:30:41 +02:00
Uwe Rathmann 18dd693892 using more auto 2020-08-15 14:42:28 +02:00
Uwe Rathmann 5bd66a27a8 QskRgbValue -> QskRgb 2020-08-15 13:29:17 +02:00
Uwe Rathmann 3519e92e91 lighter/darker added 2020-08-15 13:05:25 +02:00
Uwe Rathmann 5b6f070d7d rgb colors alphabetically ordered 2020-08-15 12:49:09 +02:00
Uwe Rathmann 65872352e0 conversion from Qt::GlobalColor added 2020-08-15 12:19:44 +02:00
Uwe Rathmann 50923fcf8c QskIntervalF::interpolate added 2020-08-09 11:06:48 +02:00
Uwe Rathmann c66d2044a9 more variations for generating color stops 2020-07-31 16:56:33 +02:00
Uwe Rathmann 0df61d647d QskGradient::extracted fixed 2020-07-31 16:55:54 +02:00
Uwe Rathmann 9c55e03859 QskRgbPalette::colorStops added 2020-07-31 13:26:22 +02:00
Uwe Rathmann 39f4d80153 QskRgbPalette added 2020-07-31 12:43:08 +02:00
Uwe Rathmann 6871b7a0b8 features added 2020-07-31 12:42:36 +02:00
Uwe Rathmann 97b1c7167d fuzzyContains added 2020-07-31 07:40:04 +02:00
Uwe Rathmann d8aee0e2a0 QskIntervalF::width fixed 2020-07-23 09:29:18 +02:00
Uwe Rathmann 4d262d0a83 Merge branch 'master' of https://github.com/uwerat/qskinny 2020-05-09 16:17:56 +02:00
Uwe Rathmann 3f416c21f9 making -fanalyzer happy 2020-05-09 16:17:27 +02:00
Uwe Rathmann 56d5da7f2b better cast 2020-05-04 12:20:20 +02:00
Uwe Rathmann cb43ac7dee more C++11 specifier 2020-05-04 08:59:44 +02:00
Uwe Rathmann 8ab9c4cddb declared but not implemented method removed 2020-05-03 14:50:59 +02:00
Uwe Rathmann 2c9aa6635c more C++11 specifier 2020-05-03 14:24:17 +02:00
Uwe Rathmann 475a5a7dc1 more C++11 specifier 2020-05-03 14:06:56 +02:00
Uwe Rathmann bbf648b8bd more c++11 specifier 2020-05-03 13:47:10 +02:00
Uwe Rathmann 97be72453b more C++11 specifier 2020-05-03 13:46:23 +02:00
Uwe Rathmann 2dece458e4 more C++11 specifier 2020-05-03 13:40:19 +02:00
Uwe Rathmann 5fe6a9beb0 more C++11 specifier 2020-05-03 13:39:47 +02:00
Uwe Rathmann f920eee6c5 QskIntervalF introduced 2020-05-02 11:57:58 +02:00
Uwe Rathmann 84a0927c0e beautified 2020-03-19 14:10:20 +01:00
Uwe Rathmann e8f155c482 code not compiling with 5.6 disabled 2020-03-13 15:05:01 +01:00
Uwe Rathmann 416759f3c6 QskTabBar::autoFitTabs added 2020-03-13 14:50:09 +01:00
Uwe Rathmann 130d2d1771 QskSizePolicy::transposed added 2020-03-13 13:57:56 +01:00
Uwe Rathmann 062713e8cc avoid using deprecated calls 2020-03-13 13:32:22 +01:00
Uwe Rathmann 32b638a2eb qhighdpiscaling_p.h does not compile with disabled deprecations 2020-03-12 09:54:54 +01:00
Uwe Rathmann d92c20e924 some helper functions, for retrieving information from the platform
abstraction
2020-03-10 10:17:44 +01:00
Uwe Rathmann 05403599ae minor performance improvements 2020-01-03 11:40:57 +01:00
Uwe Rathmann 441488e41f QskGradientStop::setStop added 2020-01-02 12:20:15 +01:00
Uwe Rathmann 122181d8a1 Qt 5.14 adjustments 2019-12-14 19:05:40 +01:00
Uwe Rathmann deaffd1f53 Qt 5.14 adjustments 2019-12-14 19:01:38 +01:00
Uwe Rathmann 86f9415211 checks added 2019-09-18 08:43:09 +02:00
Uwe Rathmann 177bb699bc processing of all type of size constraints ( minimum/preferred/maximum )
completed
2019-09-10 17:01:47 +02:00
Uwe Rathmann 79597b61ca QskSizePolicy - more constrained policies 2019-06-20 11:45:32 +02:00
Uwe Rathmann abfdb4894e saving some bytes 2019-06-19 14:32:59 +02:00
Uwe Rathmann 3426e78ed4 more efficient implementation of qskAlignedRect 2019-05-16 08:23:10 +02:00
Uwe Rathmann 7761fccca6 properties added 2019-05-10 08:09:48 +02:00
Uwe Rathmann ba365909d8 qskValidOrInnerRect improved 2019-04-24 08:39:13 +02:00
Uwe Rathmann 126fb5b9bd registering QskGradientStop 2019-04-18 16:11:38 +02:00
Uwe Rathmann c91e3039d4 making some getters public 2019-04-18 16:11:05 +02:00
Uwe Rathmann 9ba37738af tabbars for all edges ( left, right, top, bottom ) 2019-04-17 16:33:17 +02:00
Uwe Rathmann 9e06fbecd1 missing export declarations added 2019-04-17 15:37:03 +02:00
Uwe Rathmann 8058615c02 qskInnerRectF added 2019-04-10 19:37:59 +02:00
Uwe Rathmann 9a3b175798 static assertion added 2019-04-02 17:50:08 +02:00
Uwe Rathmann 4e54d1cb58 uncrustified 2019-01-04 13:42:16 +01:00
Uwe Rathmann 14444fc1fd interpolating colors improved 2019-01-04 11:53:16 +01:00
Uwe Rathmann 738695031b interpolation between an invalid and a valid gradient 2018-12-22 16:12:45 +01:00
Uwe Rathmann 16c21fa4e0 Direction flag added 2018-12-16 15:29:04 +01:00
Uwe Rathmann 9ea7409f68 handling of '\n' in texts fixed 2018-12-13 11:29:40 +01:00
Uwe Rathmann 270c94f89f QskTextOptions::effectiveElideMode added 2018-12-13 11:25:16 +01:00
Uwe f3d6cdd669 QskScrollArea respecting dynamic constraints 2018-11-17 09:22:11 +01:00
Uwe Rathmann 8227d8446c IsFunctorOrStaticFunction added 2018-11-03 17:13:47 +01:00
Uwe Rathmann 856af42ec1 moc on enums in namespaces before Qt 5.8 workaround fixed 2018-10-26 16:24:57 +02:00
Uwe Rathmann 1f517d0cd1 metaobject inerfaces improved 2018-10-26 09:04:52 +02:00
Uwe Rathmann 2b6d0bc90a [Misc] moving QskRgbValue tp common 2018-10-22 10:05:57 +02:00
Uwe Rathmann 75e61edd07 some convenience methods to set text options 2018-10-19 12:53:45 +02:00
Uwe Rathmann 6db5105fdc code related to QML access moved to an extra library: qmlexport 2018-10-04 10:23:28 +02:00
Uwe Rathmann 45027d2983 MSVC workaround added 2018-10-03 14:24:25 +02:00