Commit Graph

257 Commits

Author SHA1 Message Date
Uwe Rathmann bc066c8103 QskArcRenderer using the normal vector of the tangents for expanding
the arc to the desired thickness. This matches the result of what
QPainter::drawArc does. However our implementation is much
simpler as we do not convert the arc into a sequence of
bezier curves finally running into code that has to deal with
random QPainterPath element lists.
2024-05-30 19:06:02 +02:00
Uwe Rathmann a327084c3f QskArcMetrics::isProprtional added 2024-05-21 17:19:24 +02:00
Uwe Rathmann aba7656d2a proportional arc thickness - like what the Qt rendering classes do 2024-05-15 09:27:52 +02:00
Uwe Rathmann f6845c709c QskArcRenderer - work in progress, QskArcRenderNode added 2024-05-14 17:03:03 +02:00
Uwe Rathmann bb3f453c7b missing include added 2024-02-19 16:20:17 +01:00
Uwe Rathmann f3b4a3d8da QskFontRole introduced 2024-02-19 15:51:55 +01:00
Uwe Rathmann 5aa46b3ccc Qt::ColorScheme handling added to QskSkin - no more multiple skins for
dark/light.
2024-01-30 14:52:40 +01:00
Uwe Rathmann 38e00addd6 code moved from QskSetup to QskSkinManager 2024-01-30 10:43:27 +01:00
Uwe Rathmann 459b1ae93b bye, bye squiek 2024-01-25 08:56:01 +01:00
Uwe Rathmann 511db2650e copyright notice generalised 2024-01-17 14:31:45 +01:00
Uwe Rathmann e63b064f5a QskArcShadowNode introduced ( kudos to Rick ) 2024-01-06 15:05:30 +01:00
Uwe Rathmann 1e3e1f83de QskBox namespace renamed to QskBoxRenderer to avoid name clashes with
QskBox from QskBox.h
2023-12-17 17:18:35 +01:00
Uwe Rathmann 6c826c3adc tickWidth moved into QskGraduationMetrics 2023-11-28 15:19:49 +01:00
Uwe Rathmann 3fabf3ee03 using QskGraduationMetrics 2023-11-28 14:35:28 +01:00
Uwe Rathmann d0472bc617 QskScaleRenderer -> QskGraduationRenderer 2023-11-28 13:45:14 +01:00
Uwe Rathmann 717a1c2ef2 code from features/plots merged 2023-11-28 13:36:47 +01:00
Uwe Rathmann 3c505652a3 QskIntervalF::width -> QskIntervalF::length 2023-11-28 13:12:52 +01:00
Uwe Rathmann 16754b4f9d avoid deprecation warnings 2023-11-15 11:52:07 +01:00
Rick Vogel 97628151b7 Remove QSK_EXPORT to prevent inconsitent dll linkage warning 2023-08-07 07:04:06 +02:00
Uwe Rathmann 7fd2fabb78 hardcoded colors removed + themed top level backgrounds 2023-07-03 16:53:12 +02:00
Uwe Rathmann a394fbacd1 update of internal cache fixed 2023-06-14 12:20:46 +02:00
Uwe Rathmann 34776ee664 using QskLinesNode in the dials example 2023-06-05 10:42:05 +02:00
Uwe Rathmann 0e2f9fd839 code improved 2023-05-30 08:12:37 +02:00
Uwe Rathmann d7eca19685 fallback code reorganized 2023-05-28 12:44:29 +02:00
Uwe Rathmann b5d7c4cb26 update calls removed - happens with setSkinHint and friends anyway 2023-04-20 13:31:09 +02:00
Uwe Rathmann 207ba079a1 charts code added: will become Qsk classes at some point 2023-04-20 11:15:46 +02:00
Uwe Rathmann 9e583166ff BSD-3-Clause license 2023-04-06 09:23:37 +02:00
Uwe Rathmann 247dd38067 bye,bye qmake, say hello to cmake 2023-04-05 17:47:15 +02:00
Uwe Rathmann 658bc71891 fixig pedantic compiler warnings 2023-04-04 09:05:16 +02:00
Uwe Rathmann 91834513a6 compiler warnings fixed 2023-04-04 08:52:40 +02:00
Uwe Rathmann 7e36893d1c compiler warnings fixed 2023-04-04 08:49:11 +02:00
Peter Hartmann f56cf19fd5 virtual keyboard: Make layouts settable 2023-03-09 18:02:44 +01:00
Uwe Rathmann 4f244c8f76 pixel scaling algo moved from M3 to QskPlatform.h 2023-03-05 11:52:42 +01:00
Uwe Rathmann a6bf60c9b4 upgraded to uncrustify 0.76.0 - still not happy with the C++ beautifier
situation, that requires way too much manual post processing
2023-02-28 15:49:42 +01:00
Uwe Rathmann 07cd35ba19 suppress input of group seperators - highly confusing with German
locales leading to invalid inputs with unfixed final results showing a
text, that does not match the actual value
2023-02-17 08:31:15 +01:00
Uwe Rathmann 31feeff9aa Complete support of linear gradients from the box renderer - only
expection are reflect/repeat spreading.
Code has been reimplemented or cleaned up significantly
2023-02-08 17:58:09 +01:00
Uwe Rathmann da7e1f7ae4 compiler warnings fixed 2023-01-10 12:09:27 +01:00
Uwe Rathmann 25558dd50d editable gradient vector 2022-12-30 10:27:36 +01:00
Uwe Rathmann 8c6f0ffd60 full support of all linear gradient vectors by QskRectRenderer ( = not rounded rectangles ). 2022-12-28 19:39:08 +01:00
Uwe Rathmann 76c8e41fcc radiusX/radiusY to allow ellipsoid and circular radial gradients 2022-12-23 14:57:46 +01:00
Uwe Rathmann 877f4151bc using a more interesting gradient 2022-12-22 20:43:19 +01:00
Uwe Rathmann 2392f458af more gradient examples 2022-12-22 20:29:35 +01:00
Uwe Rathmann 65a733299b radial gradients fixed 2022-12-22 20:26:02 +01:00
Uwe Rathmann 82cb6e6811 QskGradient::effectiveGradient added 2022-12-22 20:13:45 +01:00
Uwe Rathmann a7a0510c21 QskBoxFillNode instead of QskRectangleNode 2022-12-22 17:51:57 +01:00
Uwe Rathmann e551906849 QskGradient::StretchMode introduced 2022-12-22 12:38:44 +01:00
Uwe Rathmann 3de71d1bd5 QskGradient::Spread -> QskGradient::SpreadMode 2022-12-22 11:45:23 +01:00
Uwe Rathmann 998153f6ec minor improvements 2022-12-21 13:26:46 +01:00
Uwe Rathmann a85127ca14 Qt 6.2 needs the signals keyword as well 2022-12-20 16:48:09 +01:00
Uwe Rathmann 0f825209d0 gradients testprogram:
- widgets dependency removed
    - implementations for other shaders added
2022-12-20 16:30:49 +01:00
Uwe Rathmann 8318ff757b update issues with gradients fixed 2022-12-10 16:08:32 +01:00
Uwe Rathmann a48943e68f initial implementation for the playground/gradients added. This demo is
intended to compare how gradients are rendered with the different QSkinny
backends to the raster paint engine
2022-12-09 12:07:46 +01:00
Uwe Rathmann 740101b9a2 Qt5 compiler error fixed 2022-12-05 13:56:15 +01:00
Uwe Rathmann 71321578a6 missing include ( Qt5 ) added 2022-12-05 13:04:46 +01:00
Uwe Rathmann 125fe1e9f4 QskBoxNode renamed to QskBoxRectangleNode, QskShadedBoxNode renamed to QskBoxNode 2022-12-05 12:34:08 +01:00
Uwe Rathmann ac73161e33 compiler warning fixed 2022-12-03 17:24:25 +01:00
Uwe Rathmann fad8d8a616 alternative qml implementation added ( can be started with shapes -qml ) 2022-12-03 17:19:07 +01:00
Uwe Rathmann 1e7dde8f53 minor fixes 2022-12-03 10:38:42 +01:00
Uwe Rathmann 2fce815925 working towards an API, that works for QML 2022-12-02 16:30:01 +01:00
Uwe Rathmann 0925b40b7a QGradient::Spread -> QskGradient::Spread 2022-12-01 12:03:36 +01:00
Uwe Rathmann bbfc16c609 improving Qml support or QskGradient 2022-11-29 10:59:09 +01:00
Uwe Rathmann b140d1b30a QskGradientDirection introduced - no more classes derived from
QskGradient
2022-11-13 17:22:09 +01:00
Uwe Rathmann ad67d035f3 new QskGradient 2022-10-31 14:42:08 +01:00
Uwe Rathmann 38bc3286cd QskGradient improved ( linear/radial/conic gradients ) 2022-10-31 14:22:20 +01:00
Uwe Rathmann 51a7e4e589 Using our own gradient shaders ( no dependencies from quickshapes
anymore ). shapes/Gradient has not yet been merged into QskGradient
and we still have some stupid conversions to QGradient in the way.
2022-10-13 19:39:57 +02:00
Uwe Rathmann cfc3d8f079 comiler errors fixed 2022-10-07 19:01:07 +02:00
Uwe Rathmann 9d640d3f06 Qt5 fixes 2022-10-07 16:17:52 +02:00
Uwe Rathmann f20abaddd2 example improved 2022-10-07 14:40:10 +02:00
Uwe Rathmann b1bf367fa6 shapes example improved, linear/radial/conic gradients shown 2022-10-07 14:36:14 +02:00
Uwe Rathmann ee7dbb300a scaling of pens moved to QskStrokeNode 2022-09-30 15:09:52 +02:00
Uwe Rathmann 45e59d6c10 wip 2022-09-29 17:26:15 +02:00
Uwe Rathmann f798f2228c more details around shapes 2022-09-29 16:50:46 +02:00
Uwe Rathmann b138d04053 shaders for gradients ( QGradient variations ) added 2022-09-28 20:14:10 +02:00
Uwe Rathmann f3acb55170 code improved 2022-09-27 15:06:44 +02:00
Uwe Rathmann c8367c8a5e shapes playground example added 2022-09-26 17:51:28 +02:00
Uwe Rathmann d424927fe8 dashboard exampe renamed to dials 2022-07-14 18:53:01 +02:00
Uwe Rathmann 1bcfd82d10 dashboard example simplified 2022-07-14 18:50:17 +02:00
Uwe Rathmann 3b03d942e7 examples/automotive moved to playground/dashboard 2022-07-14 14:03:46 +02:00
Uwe Rathmann 1ef8078b61 wip 2022-07-14 14:03:03 +02:00
Uwe Rathmann bf15d21fb5 shadows example improved 2022-06-14 11:58:56 +02:00
Uwe Rathmann 1339a5f4cb shadows added to the box model 2022-06-13 17:01:15 +02:00
Uwe Rathmann 0ed9afe2b4 QskBoxShadowNode introduced ( from playground/shadows )
- shader code migrated from glsl to vulkan-glsl
   - #ifdef "Geschnetzel" introduced to support old and rhi graphic APIs
   - iotdashboard, shadows examples adjusted
2022-06-04 17:56:14 +02:00
Uwe Rathmann b2a95c126e memory leak fixed 2022-05-30 17:17:47 +02:00
Uwe Rathmann 28d9b7385f compiler warning fixed 2022-05-02 16:26:13 +02:00
Uwe Rathmann 1f0ad384ac dropping support for Qt < 5.15 2022-04-16 16:29:58 +02:00
Uwe Rathmann 3a88045f80 Skinny::init added 2022-04-12 14:13:59 +02:00
Uwe Rathmann d42e27af5d some adjustments for the software renderer 2022-04-11 11:13:47 +02:00
Uwe Rathmann 4e8ede8130 QQuickImagePrivate can be used now 2022-04-11 10:12:33 +02:00
Uwe Rathmann 69e4152b4c QskPlacementPolicy introduced 2022-04-08 16:46:20 +02:00
Uwe Rathmann bd9718007d workaround for Qt 6.2 incompatibility 2022-04-01 14:53:20 +02:00
Uwe Rathmann a676caf994 support lib reorganized 2022-04-01 13:56:16 +02:00
Uwe Rathmann d46f63fef1 LICENSE/README for Kiwi added 2022-03-25 11:05:36 +01:00
Uwe Rathmann 3442542048 using const methods 2022-03-24 08:50:28 +01:00
Uwe Rathmann 1cc0dff8d5 uncrustified 2022-03-23 11:54:34 +01:00
Uwe Rathmann 7f5d289808 obsolete code for earlier versions removed 2022-03-20 14:22:11 +01:00
Uwe Rathmann 1c30548690 workaround for missing skin loading 2021-12-17 14:44:31 +01:00
Uwe Rathmann 303dd2f25d using C++ auto 2021-10-27 13:02:18 +02:00
Uwe Rathmann 10519ffee0 Qt 5.6 incompatibility fixed 2021-10-26 10:59:26 +02:00
Uwe Rathmann e0cdc8d768 shadows added for Qt < 6 2021-09-24 12:58:29 +02:00
Uwe Rathmann c5ebb6c298 broken code removed from default build 2021-09-21 08:50:23 +02:00