Commit Graph

62 Commits

Author SHA1 Message Date
Uwe Rathmann d0a888ab74 smooth transition of font sizes added 2024-02-23 13:46:23 +01:00
Uwe Rathmann 8fd8034d2a Qt5 incompatibility fixed 2024-02-20 13:31:53 +01:00
Uwe Rathmann f3b4a3d8da QskFontRole introduced 2024-02-19 15:51:55 +01:00
Uwe Rathmann 463187d048 no need to interpolate the metrics, when the color scheme changes 2024-02-01 15:35:31 +01:00
Uwe Rathmann 59c2e8ca33 handling QStyleHints::colorSchemeChanged 2024-01-30 16:46:01 +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 3873e07765 Qt5 incompatibilities fixed 2024-01-30 14:41:38 +01:00
Uwe Rathmann 9ca02d7f1c moving away from std::unordered_map towards QHash. For transitions between
color schemes we need to copy out hash tables, what is way much easier
with the COW concept of the Qt containers. Also: according to
https://tessil.github.io/2016/08/29/benchmark-hopscotch-map.html QHash
seems to be faster in the most relevant category "Random full reads: execution time (integers)"
2024-01-30 13:04:38 +01:00
Uwe Rathmann 57ebeec2df obsolete methods removed 2024-01-29 13:37:25 +01:00
Uwe Rathmann 511db2650e copyright notice generalised 2024-01-17 14:31:45 +01:00
Uwe Rathmann 1ab236de9f better fading support for popups, being used in QskDrawer/QskMenu/QskSubWindow 2023-11-03 18:13:24 +01:00
Peter Hartmann ec61c11ab6 progress bars: Introduce progress ring and refactor
Most of the code between rings and bars can be shared with a
common superclass QskProgressIndicator.

Resolves #98
2023-08-09 08:33:05 +02:00
Uwe Rathmann 33b3ddb5e3 allow registration of skinlet for skinnables ( not only controls ) 2023-05-12 13:16:49 +02:00
Uwe Rathmann 9e583166ff BSD-3-Clause license 2023-04-06 09:23:37 +02:00
Uwe Rathmann 18c16c12fe hiding QGuiApplicationPrivate 2023-04-05 09:52:23 +02:00
Uwe Rathmann 658bc71891 fixig pedantic compiler warnings 2023-04-04 09:05:16 +02:00
Uwe Rathmann 4f244c8f76 pixel scaling algo moved from M3 to QskPlatform.h 2023-03-05 11:52:42 +01:00
Uwe Rathmann 69aa0903c5 QskSkin::symbol removed - using symbolHints instead 2023-03-03 18:11:57 +01:00
Clemens Manert 8c0a54e54a
Add QskRadioBox 2023-02-20 21:56:26 +01:00
Peter Hartmann a89d3def3b Add new control QskComboBox
Resolves #102
2023-02-17 17:26:06 +01:00
Vogel, Rick ba9ec8e783 initial commit of QskSpinBox 2023-02-17 13:28:44 +01:00
Uwe Rathmann 912d768a61 QskControl::Background subcontrol introduced allowing to have a default setting for
all backgrounds ( color, padding ) without changing the overall fallback settings. This made
it possible to remove the confusing autoFillBackground property.
2022-11-18 13:20:21 +01:00
Uwe Rathmann c5ace32bf2 QskAspect::Control renamed to QskAspect::NoSubcontrol 2022-11-18 12:29:58 +01:00
Uwe Rathmann 50ee82fbaa QskSegmentedBar ( inspired by the IOS segmented control ) added 2022-04-20 14:14:37 +02:00
Uwe Rathmann 449f08bf98 beautified 2022-04-08 15:37:55 +02:00
Clemens Manert a05d1e3471
Add a Checkbox (#169)
* Add checkbox

* Add checkbox tests

* Add checkbox-groups

* Add checkbox-groups tests
2022-04-04 08:53:20 +02:00
Uwe Rathmann 4d724bb6fe compiler error fixed 2022-04-01 17:00:05 +02:00
Uwe Rathmann a40ca46556 font initialization changed 2022-04-01 14:42:18 +02:00
Uwe Rathmann 1eae47aefa tracking states of the aspects in a QskSkinHintTable 2022-03-28 21:28:56 +02:00
Uwe Rathmann cdb17476b5 platform depending code moved to QskSkin 2022-03-08 15:59:35 +01:00
Uwe Rathmann 8010d70e4a QskMenu added ( work in progress ) 2021-12-23 18:36:32 +01:00
Uwe Rathmann 4092ec0a8a QskAspect::States introduced to be more accurate about state vs. states 2021-09-14 13:05:56 +02:00
Clemens Manert 13faf53495
Add SwitchButton (#121) 2021-08-02 13:22:37 +02:00
Uwe Rathmann f71bd4e359 pointless nullptr checks removed 2021-01-12 16:25:33 +01:00
Uwe Rathmann 5ecec7892e QskSkinHintTableEditor introduced 2020-12-26 12:57:08 +01:00
Uwe Rathmann e176f474a8 QskSkin::skinlet using the metaObject 2020-12-23 09:41:29 +01:00
Uwe Rathmann 95d8d2a6da making QskAspect a class 2020-12-21 16:06:58 +01:00
Uwe Rathmann b1d70b49d4 some convenience methods added 2020-12-17 16:12:18 +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 cad27956e6 QskValueBar -> QskProgressBar 2020-08-01 17:51:45 +02:00
Uwe Rathmann 7cd4b940aa QskValueBar added 2020-07-31 16:57:22 +02:00
Uwe Rathmann 8a8bfc4124 assertion added for skinlets without invokable constructor 2020-07-31 07:39:14 +02:00
Uwe Rathmann a6c9af503c QskSkin::stateMask added to block handling of states not being supported
from the skin
2020-03-19 14:10:50 +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 c139bf2f99 not using QMetaObject::newInstance anymore, incompatibilities with Qt >=
12.4 fixed
2019-06-25 20:27:40 +02:00
Uwe Rathmann 6081325c2a forgotten member removed 2019-02-28 08:07:05 +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 777a134645 improving text input classes 2018-04-03 20:15:20 +02:00