319 Commits

Author SHA1 Message Date
Peter Hartmann
56f25bd74c fix button size again, was lost in a merge 2022-06-15 11:37:02 +02:00
Peter Hartmann
bac7a2024a Merge branch 'uwerat-master' into material-theme 2022-06-15 10:58:56 +02:00
Peter Hartmann
8ee681588e Revert "QskPushButton: respect the graphics alignment"
This reverts commit 3c69498026c0a4e26b585a265a25ecf73857ab5d.
2022-06-15 10:57:36 +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
Peter Hartmann
4aa0c7de79 fix menu 2022-06-14 12:09:07 +02:00
Peter Hartmann
f8070c1bf0 fix build 2022-06-14 11:26:12 +02:00
Peter Hartmann
c3dd5efd1a improve button shadow 2022-06-14 10:26:43 +02:00
Peter Hartmann
42ab3fcb85 add shadow to buttons 2022-06-13 17:41:50 +02:00
Peter Hartmann
3a0b3b077d style menu 2022-06-13 17:11:27 +02:00
Peter Hartmann
4841e39813 small fix for switch 2022-06-08 11:50:43 +02:00
Peter Hartmann
e6b85e528b button: Add more states to cover different button types 2022-06-08 11:48:29 +02:00
Peter Hartmann
a810739254 Revert "Material skin: Allow setting a different palette"
This reverts commit 421db106da4724aee16274ecfb818713e3ac61d7.

We cannot easily change this on the fly anyhow.
2022-06-07 16:21:04 +02:00
Peter Hartmann
421db106da Material skin: Allow setting a different palette 2022-06-07 14:03:06 +02:00
Peter Hartmann
a2d67f0438 Material: set up fonts 2022-06-07 12:58:50 +02:00
Peter Hartmann
1839cd452f Material: More skin hints 2022-06-07 12:14:50 +02:00
Peter Hartmann
3c69498026 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
8a14b75747 Material: Set values according to new palette 2022-06-07 11:09:25 +02:00
Peter Hartmann
fdd19894fb fixup Material: Move palette generation around 2022-06-03 10:23:02 +02:00
Peter Hartmann
17185addeb fixup? Material: Use predefined palettes in skin 2022-06-03 09:52:22 +02:00
Peter Hartmann
6281a6afe0 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
d1fb1e71cb fixup 2022-06-02 18:25:35 +02:00
Uwe Rathmann
535d94b494 nothing useful, but fixes compiler error 2022-05-02 16:43:50 +02:00
Uwe Rathmann
41de0f3933 Merge branch 'master' into material-theme 2022-05-02 16:27:16 +02:00
Uwe Rathmann
8039ebd785 compiler erors fixed 2022-04-20 15:32:14 +02:00
Uwe Rathmann
12a3dd06da boilerplate code to have QskSegmentedBar in the gallery. 2022-04-20 15:25:15 +02:00
Uwe Rathmann
50ee82fbaa QskSegmentedBar ( inspired by the IOS segmented control ) added 2022-04-20 14:14:37 +02:00
Uwe Rathmann
e689575510 suing QskMenu::Segement instead of Qskmenu::Cell to be in line with other
controls
2022-04-20 13:58:53 +02:00
Uwe Rathmann
87c9bcd85c Merge branch 'master' into material-theme 2022-04-16 12:27:25 +02:00
Uwe Rathmann
d52453311f heuristic for initializing the cascading property moved from skin to
QskMenu
2022-04-16 12:25:39 +02:00
Uwe Rathmann
6adee18cb7 QskMenu initialization fixed 2022-04-05 11:55:26 +02:00
Uwe Rathmann
1ce1188f4b Merge branch 'master' into material-theme 2022-04-05 11:46:05 +02:00
Uwe Rathmann
2a6d27d78d wip 2022-04-05 11:38:23 +02:00
Uwe Rathmann
526003f173 Merge branch 'master' into material-theme 2022-04-05 10:19:00 +02:00
Uwe Rathmann
6ef1f8a45d QskCheckBox improvements 2022-04-05 08:48:16 +02:00
Uwe Rathmann
d5a1ce19c9 Merge branch 'master' into material-theme 2022-04-04 18:13:31 +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
45e0d8b537 code grouped 2022-04-03 16:24:50 +02:00
Uwe Rathmann
afefaf952a using gardients instead of colors 2022-04-02 11:50:55 +02:00
Uwe Rathmann
bf2ad4ee13 merge from master 2022-04-01 17:00:50 +02:00
Uwe Rathmann
0cd577c977 making QskSwtchButton smaller 2022-04-01 13:57:26 +02:00
Uwe Rathmann
570d3d2d51 Uing RGB values instead of colors. QskSkinTransition reimplemented.
Ongoing work
2022-03-31 18:29:39 +02:00
Uwe Rathmann
60e27536e8 using QString::compare 2022-03-27 19:06:29 +02:00
Uwe Rathmann
345f24f621 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
c3eb20ee98 using QStringLiteral 2022-03-25 10:32:14 +01:00
Clemens Manert
6f42dae3e3
Improve material theme 2022-02-19 00:30:23 +01:00
Peter Hartmann
ac8ef9cd5a
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
36001a6fec menu separators added 2022-01-06 18:36:15 +01:00
Uwe Rathmann
1feccd942a QskPageIndicator improved 2022-01-04 13:58:34 +01:00
Uwe Rathmann
89a2a395fd QskMenu::Cursor transition fixed 2021-12-29 17:19:19 +01:00
Uwe Rathmann
f45be55e90 using positionHint methods 2021-12-29 17:05:29 +01:00