Commit Graph

78 Commits

Author SHA1 Message Date
Peter Hartmann 4c4ab1d865 Material: Set values according to new palette 2022-06-07 11:09:25 +02:00
Peter Hartmann 59d7ba075d fixup Material: Move palette generation around 2022-06-03 10:23:02 +02:00
Peter Hartmann ad247b15c2 fixup? Material: Use predefined palettes in skin 2022-06-03 09:52:22 +02:00
Peter Hartmann 1daf1382db Material: Use predefined palettes
At some later point we might want to make the palettes settable,
so the user can define his own palettes.
2022-06-03 09:11:29 +02:00
Peter Hartmann 595c7ec5f2 fixup 2022-06-02 18:25:35 +02:00
Uwe Rathmann 83ed2b94a6 nothing useful, but fixes compiler error 2022-05-02 16:43:50 +02:00
Uwe Rathmann 2ee865614c Merge branch 'master' into material-theme 2022-05-02 16:27:16 +02:00
Uwe Rathmann 33841c9004 compiler erors fixed 2022-04-20 15:32:14 +02:00
Uwe Rathmann 5fa323cb3f boilerplate code to have QskSegmentedBar in the gallery. 2022-04-20 15:25:15 +02:00
Uwe Rathmann 410a00e89b QskSegmentedBar ( inspired by the IOS segmented control ) added 2022-04-20 14:14:37 +02:00
Uwe Rathmann 29421138ab suing QskMenu::Segement instead of Qskmenu::Cell to be in line with other
controls
2022-04-20 13:58:53 +02:00
Uwe Rathmann 812a547531 Merge branch 'master' into material-theme 2022-04-16 12:27:25 +02:00
Uwe Rathmann 870cfbd27d heuristic for initializing the cascading property moved from skin to
QskMenu
2022-04-16 12:25:39 +02:00
Uwe Rathmann 9c9841c3ac QskMenu initialization fixed 2022-04-05 11:55:26 +02:00
Uwe Rathmann 9905723015 Merge branch 'master' into material-theme 2022-04-05 11:46:05 +02:00
Uwe Rathmann bf6afd15a9 wip 2022-04-05 11:38:23 +02:00
Uwe Rathmann 1e0f603463 Merge branch 'master' into material-theme 2022-04-05 10:19:00 +02:00
Uwe Rathmann cd9211c241 QskCheckBox improvements 2022-04-05 08:48:16 +02:00
Uwe Rathmann 1e276ef3aa Merge branch 'master' into material-theme 2022-04-04 18:13:31 +02:00
Clemens Manert cdf062e5bd 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 99352ec365 code grouped 2022-04-03 16:24:50 +02:00
Uwe Rathmann 73dd013d74 using gardients instead of colors 2022-04-02 11:50:55 +02:00
Uwe Rathmann 77088143de Uing RGB values instead of colors. QskSkinTransition reimplemented.
Ongoing work
2022-03-31 18:29:39 +02:00
Uwe Rathmann 97eeb95c09 using QString::compare 2022-03-27 19:06:29 +02:00
Uwe Rathmann 24fcfa384b Merge branch 'improve-material-theme' of https://github.com/clemensmanert/qskinny into clemensmanert-improve-material-theme 2022-03-26 15:57:02 +01:00
Uwe Rathmann 4a5f80c6af using QStringLiteral 2022-03-25 10:32:14 +01:00
Clemens Manert 4b110b635f Improve material theme 2022-02-19 00:30:23 +01:00
Peter Hartmann 61cbb6cfa1 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 acbc66ea80 QskPageIndicator improved 2022-01-04 13:58:34 +01:00
Uwe Rathmann c37f792054 using positionHint methods 2021-12-29 17:05:29 +01:00
Uwe Rathmann 2fd66b314e some functions copied from QskFunctions to QskPlatform 2021-12-26 12:57:02 +01:00
Uwe Rathmann e7127cda5d QskListView::Selected state introduced 2021-12-22 15:08:27 +01:00
Uwe Rathmann 139f40067b QskAspect::States introduced to be more accurate about state vs. states 2021-09-14 13:05:56 +02:00
Uwe Rathmann 9ccf0020da minor adjustments 2021-08-27 09:45:24 +02:00
Clemens Manert b7e2fda578 Add ripple to SwitchButton (#123) 2021-08-27 09:09:10 +02:00
Uwe Rathmann bffafdbaf3 getting rid of the confusing QskAbstractButton::Checkable state 2021-08-04 08:24:36 +02:00
Uwe Rathmann c4e765db7c layout code in QskSwitchButtonSkinlet improved - still some way to go
until the switch is perfectly themable and looks like in the material
specs
2021-08-03 15:02:33 +02:00
Uwe Rathmann e26434c1cd switch button adjustments 2021-08-02 19:17:04 +02:00
Clemens Manert 423768bc84 Add SwitchButton (#121) 2021-08-02 13:22:37 +02:00
Uwe Rathmann df4a2f0d27 QskAspect::Primitive cleanup 2021-04-28 09:32:49 +02:00
Uwe Rathmann 5ecec7892e QskSkinHintTableEditor introduced 2020-12-26 12:57:08 +01:00
Uwe Rathmann 95d8d2a6da making QskAspect a class 2020-12-21 16:06:58 +01:00
Uwe Rathmann a90648902e auto/const added 2020-12-18 18:26:32 +01:00
Uwe Rathmann a49ef1daa4 using strutSize 2020-12-17 16:14:56 +01:00
Uwe Rathmann 1f2617fe86 outdated inline comment removed 2020-12-17 08:51:20 +01:00
Uwe Rathmann 58de684902 using StrutSize instead og Minimum/Maximum metric hints 2020-12-16 12:49:24 +01:00
Uwe Rathmann 6c0f0810f1 code cleanup 2020-12-15 18:12:48 +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 fbf2a33a9a uncrustified 2020-12-05 15:09:31 +01:00