Commit Graph

37 Commits

Author SHA1 Message Date
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
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
Peter Hartmann 7f24cbb95b push buttons: Fix ripple effect
This way it looks like the original
2023-02-23 10:19:42 +01:00
Uwe Rathmann 15b73d215c QskTextOption layout impacts added 2023-02-16 11:42:07 +01:00
Peter Hartmann 03e24d5fea push button: Support more alignments of icon and text 2023-01-24 09:51:36 +01:00
Peter Hartmann 9882dc61ee push button: Fix size hint 2023-01-18 06:36:47 +01:00
Uwe Rathmann 7ca1e2f261 uncrustified 2022-09-13 12:22:20 +02:00
Uwe Rathmann 45e157c2c6 code moved to QskSubcontrolLayoutEngine 2022-08-29 14:17:13 +02:00
Uwe Rathmann 2479064f58 spacing added 2022-08-26 13:19:37 +02:00
Uwe Rathmann b84dfc8226 QskSubcontrolLayoutEngine introduced 2022-08-26 12:56:12 +02: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 cb6ec8437c QskPushButtonSkinlet::rippleRect simplified 2022-07-18 16:40:53 +02:00
Uwe Rathmann 9fdaf8aef6 clipping the ripple into the button panel 2022-07-18 09:11:45 +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 080fcdb69f Starting with a simpler version of QskCheckBox ( no tristate ), but with
having an optional text.
2022-07-01 11:10:59 +02:00
Uwe Rathmann 061cdb0a07 minor improvements of the push button layout 2022-06-18 11:32:48 +02:00
Uwe Rathmann 54616a5781 missing Metric bit for spacings added 2022-06-15 11:38:07 +02:00
Peter Hartmann 74e036c355
QskPushButton: respect the graphics alignment (#193)
Also, respect the padding hint of the graphic

Resolves #22
2022-06-15 10:34:51 +02:00
Uwe Rathmann fa6fc7b4c1 QskSkinnable::effectiveFontHeight added 2021-12-24 16:17:49 +01:00
Uwe Rathmann 79cceb1b09 subControlContentsRect added 2020-12-29 12:57:03 +01:00
Uwe Rathmann 0eadfa8fa2 sizeHint calculations moved to the skinlet 2020-12-29 09:45:00 +01:00
Uwe Rathmann c1e70a2d9e more convenience methods to access skin hints 2020-12-15 07:21:12 +01:00
Uwe Rathmann e9a8c0bc7f using subControlRect 2019-11-27 17:38:34 +01: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 2a3811fcd9 QskGlobal include cleanup 2018-08-03 08:30:23 +02:00
Uwe Rathmann 0a92cb82db playing with clang-format 2018-08-03 08:15:28 +02:00
Uwe Rathmann 7e765a903a using QFontMetricsF 2018-07-19 15:21:47 +02:00
Uwe Rathmann aaac57de94 unused member removed 2018-07-19 14:10:48 +02:00
Uwe Rathmann 6f4a0045d5 using subControlRect 2018-04-03 10:46:55 +02:00
Uwe Rathmann 8ba11e2136 unused buttonShift method removed QskPushButtonSkinlet, this has to be
done by setting the padding
2017-09-01 12:28:20 +02:00
Uwe Rathmann 16585a708d harmonizing skinlet code 2017-09-01 11:55:55 +02:00
Uwe 3cdfeaaf1c initial commit 2017-07-21 18:21:34 +02:00