Commit Graph

85 Commits

Author SHA1 Message Date
Peter Hartmann 8b91dd9514 fix button size again, was lost in a merge 2022-06-15 11:37:02 +02:00
Peter Hartmann 5213a9fd0e Merge branch 'uwerat-master' into material-theme 2022-06-15 10:58:56 +02:00
Peter Hartmann 33d601befd Revert "QskPushButton: respect the graphics alignment"
This reverts commit 3c69498026.
2022-06-15 10:57:36 +02:00
Peter Hartmann be360c729c QskPushButton: respect the graphics alignment (#193)
Also, respect the padding hint of the graphic

Resolves #22
2022-06-15 10:34:51 +02:00
Peter Hartmann 9d64f2b957 fix menu 2022-06-14 12:09:07 +02:00
Peter Hartmann 45b10e9d92 improve button shadow 2022-06-14 10:26:43 +02:00
Peter Hartmann e09f10084f add shadow to buttons 2022-06-13 17:41:50 +02:00
Peter Hartmann e8fea0bdfb style menu 2022-06-13 17:11:27 +02:00
Peter Hartmann 413e9f0853 small fix for switch 2022-06-08 11:50:43 +02:00
Peter Hartmann 24bff6d64d button: Add more states to cover different button types 2022-06-08 11:48:29 +02:00
Peter Hartmann fe064cdbe4 Revert "Material skin: Allow setting a different palette"
This reverts commit 421db106da.

We cannot easily change this on the fly anyhow.
2022-06-07 16:21:04 +02:00
Peter Hartmann 5df51f4133 Material skin: Allow setting a different palette 2022-06-07 14:03:06 +02:00
Peter Hartmann f1f7dae7e1 Material: set up fonts 2022-06-07 12:58:50 +02:00
Peter Hartmann adf44674b6 Material: More skin hints 2022-06-07 12:14:50 +02:00
Peter Hartmann 769e88d1d5 QskPushButton: respect the graphics alignment
Also, respect the padding hint of the graphic

Resolves #22
2022-06-07 11:44:41 +02:00
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
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 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