Commit Graph

43 Commits

Author SHA1 Message Date
Uwe Rathmann 8d780244b6 Squashed commit of the following:
commit c331fd601a
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Tue Dec 10 12:17:51 2024 +0100

    use enums for class members

commit 0d86454774
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Tue Dec 10 11:27:16 2024 +0100

    elide mode for QskTextField::PlaceholderText added

commit 0038f6d3b3
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Mon Dec 9 16:03:55 2024 +0100

    more enums specified

commit 5d95913366
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Mon Dec 9 15:56:49 2024 +0100

    QskSizePolicy enums specified

commit 4220edc7ca
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Mon Dec 9 15:46:43 2024 +0100

    don't use enum bitfields for unspecied enums

commit 36f502b57a
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Mon Dec 9 15:43:57 2024 +0100

    QskItem::UpdateFlags sepcified

commit 23beda3c28
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Mon Dec 9 15:39:06 2024 +0100

    more enum types specified

commit 0849571523
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Mon Dec 9 15:21:37 2024 +0100

    enum types specified

commit d53579f3d9
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Mon Dec 9 15:04:37 2024 +0100

    enum types specified

commit 4e6ee36420
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Mon Dec 9 14:53:59 2024 +0100

    NodeRole enums qualified as quint8

commit 3a83f5fa2c
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Mon Dec 9 13:29:03 2024 +0100

    compiler errors fixed

commit d1fa0207fa
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Mon Dec 9 12:10:10 2024 +0100

    Markdown format added

commit 66d97831b5
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Mon Dec 9 12:01:16 2024 +0100

    QskTextColors is a Q_GADGET now

commit 4ad28e6076
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Mon Dec 9 10:04:33 2024 +0100

    don't show the placeholder when text is not empty

commit b6f2003826
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Wed Dec 4 10:08:39 2024 +0100

    QskTextFieldSkinlet::sizeHint added

commit f0d53322aa
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Tue Dec 3 17:52:39 2024 +0100

    gallery updated, dummy TextFieldSkinlets introduced

commit e86378a072
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Tue Dec 3 13:33:17 2024 +0100

    fusion skin improved

commit 4540cc1e4e
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Tue Dec 3 10:06:26 2024 +0100

    QskTextFieldSkinlet::Selected state introduced

commit 77e556fad2
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Tue Dec 3 09:32:39 2024 +0100

    QskTextField::placeholderText introduced, QskTextField::description
    removed

commit 77739d7734
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Tue Dec 3 07:44:44 2024 +0100

    skin hint table size reduced

commit 108aa23397
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Mon Dec 2 12:54:31 2024 +0100

    QskTextInput renamed to QskTextField ( term used by F2/M3 and QC2 )

commit b0864965a8
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Sun Dec 1 11:06:51 2024 +0100

    Material3 adjustements for progress bars

commit d18017ca90
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Fri Nov 29 13:55:30 2024 +0100

    QskProgressRing fixed + M3 updates

commit a58d6dd589
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Fri Nov 29 09:42:01 2024 +0100

    QskProgressIndicator::hasOrigin(), QskSlider::hasOrigin added

commit 12dfac153d
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Thu Nov 28 16:06:00 2024 +0100

    QskSlider::inverted introduced

commit db1e9a7e44
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Thu Nov 28 15:59:59 2024 +0100

    key handling of bounded inputs improved

commit d9a66e4a98
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Thu Nov 28 15:55:57 2024 +0100

    QskSlider API cleanup

commit 9d13cd1edf
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Thu Nov 28 15:47:20 2024 +0100

    subcontrol renamed from Knob to Handle

commit 7a180cfe5e
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Thu Nov 28 12:00:46 2024 +0100

    the corrected mouse/touch handling works without extending the handle
    selection area
    handle selection

commit 66085ea41f
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Wed Nov 27 16:27:57 2024 +0100

    QskSlider::origin implemented

commit e2c76aa121
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Wed Nov 27 16:24:55 2024 +0100

    QskSlider ticks implementaton completed

commit 77731954eb
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Tue Nov 26 13:59:42 2024 +0100

    slider changes on press

commit 59b88ffd7c
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Tue Nov 26 13:57:13 2024 +0100

    slider layout code fixed

commit cd65adb451
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Tue Nov 26 13:48:55 2024 +0100

    QskSkinnable::metric with default value

commit ea3d7a5e69
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Mon Nov 25 09:02:04 2024 +0100

    QskInterval::center(), QskInterval::stretch removed as they the
    implementation is only handling normalized intervals

commit 494c370e61
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Fri Nov 22 17:38:58 2024 +0100

    ticks for F2 sliders

commit f4c2211f2c
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Fri Nov 22 17:37:47 2024 +0100

    API extended

commit 5c1e0ccad4
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Thu Nov 21 19:19:53 2024 +0100

    invalid constexpr qualifier removed

commit 9a5dd886ed
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Thu Nov 21 17:59:54 2024 +0100

    slider ticks - not only for M3

commit d04c030924
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Thu Nov 21 17:59:37 2024 +0100

    using constexpr

commit d87c8e3d0b
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Thu Nov 21 13:54:01 2024 +0100

    API cleanup of the Bounded controls

commit 109fc7d7f4
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Wed Nov 20 14:57:16 2024 +0100

    QskBoxClipNode renamed to QskClipNode + more clip options added

commit 1e383406e2
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Wed Nov 20 11:00:17 2024 +0100

    M3 specific definitions moved to M3 classes

commit 97e3ea6e1f
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Mon Nov 18 16:44:06 2024 +0100

    Qt5 incompatibility fixed

commit 00f2112817
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Mon Nov 18 16:15:50 2024 +0100

    QskMaterial3SliderSkinlet introduced

commit 9fc7b1f677
Author: Peter Hartmann <peter@edelhirsch.io>
Date:   Mon Nov 18 12:18:30 2024 +0100

    push buttons: Style checked state properly (#477)

    Resolves #367

commit b5c56f7f80
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Thu Nov 14 10:52:08 2024 +0100

    mismatch between allocated and used memory fixed

commit d1c2751a8e
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Thu Nov 14 10:51:53 2024 +0100

    nullptr check added

commit 8dd5a7b249
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Thu Nov 14 08:52:40 2024 +0100

    dangling reference fixed

commit baaccb2f41
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Thu Nov 14 07:43:34 2024 +0100

    avoid enum bitfields

commit 7f389ef6cc
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Wed Nov 13 14:11:11 2024 +0100

    don't subtract the slider margins twice

commit d84ab6e387
Author: Peter Hartmann <peter@edelhirsch.io>
Date:   Wed Nov 13 10:00:38 2024 +0100

    Update instructions on how to build the website (#470)

    * Regenerate doxygen file

    ... and change some things

    * Add custom stylesheet from Skia

    * update instructions on how to build the website

commit 525ca3bd0e
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Thu Nov 7 17:31:14 2024 +0100

    QskSlider: Adapt to new Material3 style
    ( ValueLabel a.k.a Tooltip is not done yet )
2024-12-10 14:41:17 +01:00
Uwe Rathmann fe1706905e passing QQuickWindow to the box renderer, so it knows about detals of
the render target ( f.e devivePixelratio )
2024-11-07 11:21:45 +01:00
Uwe Rathmann 9d8666290f QskShadowMetrics::ShapeMode introduced 2024-10-25 18:54:04 +02:00
Uwe Rathmann 1258c17534 several fixes concerning box shadows 2024-10-24 10:16:51 +02:00
Uwe Rathmann ca1951d9a6 using QskBoxRectangleNode for shadows without blur 2024-10-23 15:20:42 +02:00
Uwe Rathmann a946394e9d code of QskBoxNode/QskArcNode aligned 2024-09-24 10:17:10 +02:00
Uwe Rathmann 25b9423ae4 QskRgb::isVisible introduced 2024-09-24 10:14:26 +02:00
Uwe Rathmann c9f7bf59ee better detection of the dirty flags 2024-09-23 15:55:00 +02:00
Uwe Rathmann 6c391b831d functionality of QskBoxFillNode/QskRectangleNode moved into QskBoxRectangleNode 2024-09-17 13:57:10 +02:00
Uwe Rathmann d6b9f4edc7 QskBoxRenderer::isGradientSupported does not need the shape 2024-09-17 13:34:23 +02:00
Uwe Rathmann 511db2650e copyright notice generalised 2024-01-17 14:31:45 +01:00
Uwe Rathmann 972f839cad Qt5 implementation of QskSceneTexture 2023-12-22 13:52:01 +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 9e583166ff BSD-3-Clause license 2023-04-06 09:23:37 +02:00
Uwe Rathmann 7e36893d1c compiler warnings fixed 2023-04-04 08:49:11 +02: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 ad09186229 QskGradientDirection::contais added 2023-01-23 10:59:34 +01:00
Uwe Rathmann e1b65c6dd6 QskBoxRenderer::isGradientSupported also depends on the shape ( at least
in the future )
2022-12-06 16:37:18 +01:00
Uwe Rathmann c31d554d6b QskBoxRenderer::isGradientSupported introduced 2022-12-05 17:08:32 +01:00
Uwe Rathmann 125fe1e9f4 QskBoxNode renamed to QskBoxRectangleNode, QskShadedBoxNode renamed to QskBoxNode 2022-12-05 12:34:08 +01:00
Uwe Rathmann 615e0016c2 working more with RGBA values instead of QColor 2022-11-16 13:46:37 +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 e67b0b385a allowing gradient stops that do not start/end with 0.0/1.0 ( like
QGradient )
2022-10-24 17:29:39 +02:00
Uwe Rathmann 99132276fc first adjustments for QskGradient improvements 2022-10-24 16:02:46 +02:00
Uwe Rathmann ab095afb13 using left/top/right/bottom 2022-04-16 16:01:40 +02:00
Uwe Rathmann 55d5f99575 introducing QskHashValue to work around Qt5/6 incompatibilities 2022-03-25 10:28:06 +01:00
Uwe Rathmann f44208213c Squashed commit of the following:
commit 547927f937a3260d5b23068f06cd181de9b7c763
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Wed Mar 23 15:38:40 2022 +0100

    wip

commit ca06b1da4bf9c5b30ef2857f0b6c1e4fb137a64e
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Wed Mar 23 15:30:31 2022 +0100

    using private classes

commit 4977b0afa481039f22b64e7f55262be8053a26c2
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Wed Mar 23 15:18:20 2022 +0100

    avoid using private Qt headers in examples
2022-03-23 15:39:17 +01:00
Uwe Rathmann 1cc0dff8d5 uncrustified 2022-03-23 11:54:34 +01:00
Peter Hartmann ac8ef9cd5a
Box renderer: Support border gradients (#158)
* QskBoxBorderColors: Use gradients instead of colors

* QskBoxBorderColors: rename API

* render gradients on borders

* boxes example: Also draw gradient borders

* calculate proper numbers of needed border colors

* fixup with example

* support rounded corners

* support more colors in rounded color gradients

I THINK WE DON'T REALLY NEED THIS COMMIT

* We don't need this commit either

* Revert "We don't need this commit either"

This reverts commit 2dc38064f7fee1d0505262fe5cebcf9e1fb16cea.

* Revert "support more colors in rounded color gradients"

This reverts commit 5754d2d0773d8273d42ae1775b53d40f5e6af26a.

* fix borders for rect ellipses

* play around a bit

* small fixes

* some helper stuff and missing stuff

* user border colors

* close to something working somehow

* works a bit better

* put it into an own function

* rearrange a bit

* something's off

* still off, but seems like we need an additional line

* works but hackish

* now it works

* bring back samples

* correction

* pimp up example

* fix normal rendering

* some more debugging etc.

* turn around gradients

* turn around rectangular gradients as well

* turn around easier

* more test cases

* fix fill case

* more test cases

* clean up a bit

* clean up example

* clean up some more

* incorporate feedback from Uwe

* fix bug when using horizontal gradients
2022-02-04 16:11:11 +01:00
Uwe Rathmann 14040bf652 workaround for monochrome gradients with additional stops 2021-10-25 08:29:12 +02:00
Uwe Rathmann 44f9f36d0d beautified 2021-07-14 13:30:24 +02:00
Uwe Rathmann 34b158b023 code changes to help the static code analyzer 2021-07-12 08:26:04 +02:00
Uwe Rathmann 4e54d1cb58 uncrustified 2019-01-04 13:42:16 +01:00
Uwe Rathmann 0a92cb82db playing with clang-format 2018-08-03 08:15:28 +02:00
Uwe Rathmann aaac57de94 unused member removed 2018-07-19 14:10:48 +02:00
Uwe Rathmann 6db25ff7bc making clazy happier 2017-10-30 14:38:30 +01:00
Uwe Rathmann 9caad94075 making clang happy 2017-10-30 08:08:58 +01:00
Uwe Rathmann f21bed63c7 started to remove QskSkinRenderer 2017-10-20 13:09:30 +02:00
Uwe Rathmann e6f0088ae4 All box subcontrols are displayd with vertex lists instead of
textures
    now. Implementation is almost complete beside of the not yet done Qt
    antialiasing mode. Not all sort of linear gradients ( see
    QLinearGradients ) are implemented - needs 1-2 days more.
    The aspect flags for box primitives have been substantially changed
from
    too atomic to more strutured units.
    The skins are currently incomplete - will be fixed later.
2017-10-17 17:34:00 +02:00
Uwe Rathmann 1866ecb2f3 bad hash value calculation of QskBoxNode fixed 2017-09-03 14:55:21 +02:00
Uwe Rathmann ff9e9ab63c starting to configure box subcontrols/nodes with
QskBoxColors/QskBorderMetrics
2017-08-28 17:42:11 +02:00
Uwe 3cdfeaaf1c initial commit 2017-07-21 18:21:34 +02:00