111 Commits

Author SHA1 Message Date
Uwe Rathmann
658bc71891 fixig pedantic compiler warnings 2023-04-04 09:05:16 +02:00
Uwe Rathmann
484780a40e using "icon" instead of "graphic".
"icon" was not used to avoid confusing with QIcon,
but it is probably more confusing not to use the name that
is used by almost all toolkits.
2023-03-08 14:11:27 +01:00
Uwe Rathmann
70aa95dee6 minor fixes, workarounds 2023-03-06 16:40:06 +01:00
Uwe Rathmann
dae0cd7b1b combobox input handling improved ( wheel, more keys ) 2023-03-06 10:44:00 +01:00
Uwe Rathmann
73610cdb61 QskRadioBox updated. Adding a new subcontrol that corresponds to a
single button ( check indicator + text ), what allows better
configuration from the skin
2023-03-05 16:31:55 +01:00
Uwe Rathmann
75d9b4fd31 QskComboBox settings added 2023-03-05 13:30:40 +01:00
Uwe Rathmann
4f244c8f76 pixel scaling algo moved from M3 to QskPlatform.h 2023-03-05 11:52:42 +01:00
Uwe Rathmann
27f79c7c0e using black as default color in SVGs, so that color filtering does not
break when changing skins
2023-03-04 11:35:36 +01:00
Uwe Rathmann
68d02006f4 QskRadioBox development continued - work in progress 2023-03-03 12:49:22 +01:00
Uwe Rathmann
ec8cc05e28 checkbox error state fixed 2023-03-02 15:13:37 +01:00
Uwe Rathmann
c587263592 symbolHints introduced, several skinlets changed to make use of them 2023-03-02 14:56:30 +01:00
Uwe Rathmann
a32204cd8c QskAspect::Flag replaced by QskAspect::NoType. Flag was a leftover from
the very early stages of this project and its semantics had become wrong
in the meantime
2023-03-02 12:19:32 +01:00
Uwe Rathmann
99eb5c3695 using graphics for the spin box button indicators 2023-03-02 09:16:55 +01:00
Uwe Rathmann
99079a666e disable QskSpinBox buttons when reaching minimum/maximum 2023-03-01 16:09:17 +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
Uwe Rathmann
9b2c2a8f12 Squiek settings for the spin box added 2023-02-27 15:21:09 +01:00
Uwe Rathmann
c0eb74f292 wip 2023-02-27 14:46:31 +01:00
Uwe Rathmann
a67d23420f QskMenu::Overlay settings fixed ( working for Squiek again ) 2023-02-27 14:06:57 +01:00
Clemens Manert
c3a4472587
Code cleanup 2023-02-25 23:39:33 +01:00
Clemens Manert
72190aee91
Fix alighnment if sizes of symbol and button differ 2023-02-25 23:36:02 +01:00
Clemens Manert
e4a07909ac
Add Squiek theme 2023-02-20 21:56:33 +01:00
Uwe Rathmann
66db409b71 QskAspect::Placement renamed to QskAspect::Variation so that we use the
corresponding bits for an emphasis too
2023-02-15 16:37:54 +01:00
Uwe Rathmann
454688361c orientation removed from the placement bits 2023-02-15 16:16:19 +01:00
Uwe Rathmann
c1e194b464 hide QskScrollView::Panel 2022-12-05 12:06:49 +01:00
Uwe Rathmann
c5ace32bf2 QskAspect::Control renamed to QskAspect::NoSubcontrol 2022-11-18 12:29:58 +01:00
Uwe Rathmann
b140d1b30a QskGradientDirection introduced - no more classes derived from
QskGradient
2022-11-13 17:22:09 +01:00
Uwe Rathmann
f14036c124 using QskGrdient::Stops for separator hints 2022-10-31 18:02:35 +01:00
Uwe Rathmann
ad67d035f3 new QskGradient 2022-10-31 14:42:08 +01:00
Uwe Rathmann
99132276fc first adjustments for QskGradient improvements 2022-10-24 16:02:46 +02:00
Uwe Rathmann
0cda639d87 initializations simplified 2022-10-21 16:47:53 +02:00
Uwe Rathmann
4f8a76234a index added for animator lookups to allow smooth transitions f.e when
selcting an cell in a list box
2022-09-13 12:40:44 +02:00
Uwe Rathmann
cb7acb6b92 QskDialogButton subcontrols removed. In case we need to make them
different from normal push buttons we should introduce a "dialog" section, where we can avoid having to duplicate all hint settings
2022-09-09 12:36:21 +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
209fbaef97 keep upper case letters for skin names 2022-07-14 13:55:35 +02:00
Uwe Rathmann
f7cd259fb0 using QskSkin::symbol for the indicator 2022-07-01 12:40:52 +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
3c5b6f9f01 QskAbstractButton::Flat removed, using QskAspect::Header instead 2022-06-29 16:21:54 +02:00
Uwe Rathmann
6c7ba0489c M(aterial)2 related code replaced 2022-06-25 16:14:08 +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
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
2a6d27d78d wip 2022-04-05 11:38:23 +02:00
Uwe Rathmann
6ef1f8a45d QskCheckBox improvements 2022-04-05 08:48:16 +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
0cd577c977 making QskSwtchButton smaller 2022-04-01 13:57:26 +02:00
Uwe Rathmann
60e27536e8 using QString::compare 2022-03-27 19:06:29 +02:00
Uwe Rathmann
c3eb20ee98 using QStringLiteral 2022-03-25 10:32:14 +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