37 Commits

Author SHA1 Message Date
Uwe Rathmann
484780a40e using "icon" instead of "graphic".
"icon" was not used to avoid confusing with QIcon,
but it is probably more confusing not to use the name that
is used by almost all toolkits.
2023-03-08 14:11:27 +01:00
Uwe Rathmann
28432446e6 Material is using the term "Ripple" for 2 different type of effects - Flutter
calls them "Splash" and "Highlight". We are using Splash too.
2023-03-01 10:51:46 +01:00
Peter Hartmann
1d57d87332 Gallery: Add buttons with different emphasis and style for M3 2023-02-23 10:19:42 +01:00
Uwe
c9b83ff689 emphasis added 2023-02-20 10:30:24 +01:00
Uwe Rathmann
66db409b71 QskAspect::Placement renamed to QskAspect::Variation so that we use the
corresponding bits for an emphasis too
2023-02-15 16:37:54 +01:00
Uwe Rathmann
454688361c orientation removed from the placement bits 2023-02-15 16:16:19 +01:00
Uwe Rathmann
896145ac11 QskTextOptions as skin hints 2022-08-25 09:39:33 +02:00
Uwe Rathmann
bc5510f7ef temporary improvements for push buttons - until we have a general layout class
for graphic/text combinations
2022-08-03 18:28:53 +02:00
Uwe Rathmann
2737bc0be3 sourceSize members replaced by strutSizeHints to make icons sizes
configurable in the skin
2022-07-28 11:37:14 +02:00
Uwe Rathmann
0390166783 using built in QskHintAnimators 2022-07-17 16:01:46 +02:00
Uwe Rathmann
e6fb38d383 minor cleanups 2022-07-17 14:44:19 +02:00
Peter Hartmann
7eed06659b push button: Allow for animations when clicking
Which e.g. the Material 3 style does
2022-07-15 13:50:04 +02:00
Uwe Rathmann
3c5b6f9f01 QskAbstractButton::Flat removed, using QskAspect::Header instead 2022-06-29 16:21:54 +02:00
Uwe Rathmann
71da4dcdff QskCorner removed - using QskBoxShapeMetrics instead 2021-09-15 17:54:44 +02:00
Uwe Rathmann
9ebb5ae0a2 QskSkinnable::hasSkinState added 2021-08-30 15:30:41 +02:00
Uwe Rathmann
66cc68bcda getting rid of the confusing QskAbstractButton::Checkable state 2021-08-04 08:24:36 +02:00
Uwe Rathmann
79cceb1b09 subControlContentsRect added 2020-12-29 12:57:03 +01:00
Uwe Rathmann
1b832e122c hovered signal removed 2020-12-29 09:46:48 +01:00
Uwe Rathmann
0eadfa8fa2 sizeHint calculations moved to the skinlet 2020-12-29 09:45:00 +01:00
Uwe Rathmann
98343dec60 auto-updating the control, when setting a skinHint 2020-12-27 16:31:07 +01:00
Uwe Rathmann
bdc068c4d6 ubcontro, substitution moved to setSkinHint/resetHint 2020-12-21 09:57:57 +01:00
Uwe Rathmann
58de684902 using StrutSize instead og Minimum/Maximum metric hints 2020-12-16 12:49:24 +01:00
Uwe Rathmann
c1e70a2d9e more convenience methods to access skin hints 2020-12-15 07:21:12 +01:00
Uwe Rathmann
f33f38bbbb some preparations for modifications with QskAspect 2020-12-13 14:23:17 +01: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
dd39017dbe implementation of dynamic constraints reorganized 2019-04-26 18:09:59 +02:00
Uwe Rathmann
91c16e8076 making layout calculations of the skinlets independent from the current
of the control
2019-04-25 14:23:39 +02:00
Uwe Rathmann
4e54d1cb58 uncrustified 2019-01-04 13:42:16 +01:00
Uwe Rathmann
9a1e46e0ba QskPushButton::graphicSourceSize added to prevent raster graphics
from being scaled
2018-11-26 17:52: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
87f4d718c5 QString version of setGraphicSource added 2018-06-07 07:24:34 +02:00
Uwe Rathmann
b083479b21 using QString() instead of QString::null 2018-01-16 20:34:54 +01:00
Uwe Rathmann
2ebfd306e1 having valid layoutRects for buttons 2017-11-17 08:03:38 +01: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
d2d37852a2 suing initSizePolicy in constructors to avoid potential problems from
layout requests coming before the parent has been constructed completely.
2017-08-31 09:09:05 +02:00
Uwe
3cdfeaaf1c initial commit 2017-07-21 18:21:34 +02:00