Commit Graph

313 Commits

Author SHA1 Message Date
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 421db106da.

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
Uwe Rathmann 78d39d242f QskMenu::Cursor animation added 2021-12-29 16:23:19 +01:00
Uwe Rathmann 6c46c0160d some functions copied from QskFunctions to QskPlatform 2021-12-26 12:57:02 +01:00
Uwe Rathmann a4d34dfa54 QskMenu::cascading added 2021-12-26 12:17:31 +01:00
Uwe Rathmann 452ff3a07b QskMenu improved 2021-12-24 16:20:34 +01:00
Uwe Rathmann 8010d70e4a QskMenu added ( work in progress ) 2021-12-23 18:36:32 +01:00
Uwe Rathmann 8d2ff3c3fe QskPopup improvements 2021-12-23 18:19:52 +01:00
Uwe Rathmann 47f7737985 QskListView::Selected state introduced 2021-12-22 15:08:27 +01:00
Uwe Rathmann 4092ec0a8a QskAspect::States introduced to be more accurate about state vs. states 2021-09-14 13:05:56 +02:00
Uwe Rathmann 93987bd92f minor adjustments 2021-08-27 09:45:24 +02:00
Clemens Manert 01ea49fe02
Add ripple to SwitchButton (#123) 2021-08-27 09:09:10 +02:00
Uwe Rathmann 66cc68bcda getting rid of the confusing QskAbstractButton::Checkable state 2021-08-04 08:24:36 +02:00
Uwe Rathmann 1b4be3bc23 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 0e334e5fd9 switch button adjustments 2021-08-02 19:17:04 +02:00
Clemens Manert 13faf53495
Add SwitchButton (#121) 2021-08-02 13:22:37 +02:00
Uwe Rathmann 75a9ee305c 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
Uwe Rathmann 5bd66a27a8 QskRgbValue -> QskRgb 2020-08-15 13:29:17 +02:00
Uwe Rathmann 2572409791 vertical tabbars changed 2020-08-11 17:52:28 +02:00
Uwe Rathmann d0b0703551 tabview hints changed 2020-08-10 14:30:29 +02:00
Uwe Rathmann 27a95ee60f QskProgressBar improved 2020-08-06 09:28:18 +02:00
Uwe Rathmann 95d3c6e37b QskProgressBar improved 2020-08-03 08:02:13 +02: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 53e924a999 flickable tabbars 2020-03-13 07:39:31 +01:00
Uwe Rathmann f8c04461a3 optional QskTextLabel::Panel added 2019-12-15 13:57:19 +01:00
Uwe Rathmann 9dbf34cea2 unused padding removed 2019-09-02 18:29:45 +02:00
Uwe Rathmann 309106965d QskAnimationHint::UpdateFlag introduced 2019-06-22 16:26:10 +02:00
Uwe Rathmann f8c57f7a7e making gcc4 happy 2019-06-19 13:59:07 +02:00
Uwe Rathmann 9ba37738af tabbars for all edges ( left, right, top, bottom ) 2019-04-17 16:33:17 +02:00
Uwe Rathmann 2373761e2d tabbutton hint fixed 2019-04-17 15:38:43 +02:00
Uwe Rathmann 053fbe1ad2 obsolete assignment removed 2019-04-17 15:36:17 +02:00
Uwe Rathmann 250cce0d76 using feature files 2019-04-02 09:07:09 +02:00
Uwe Rathmann ba95c58aa2 CONFIG+=hide_symbols added 2019-04-01 17:41:21 +02:00
Uwe Rathmann 7cbe60f5fc project file include mechanism based on QMAKEFEATURES 2019-03-31 13:05:25 +02:00
Uwe Rathmann 6a82c9ba22 cleaning up qskLibraryTarget/qskAddLibrary 2019-03-09 16:43:47 +01:00
Uwe Rathmann e1ca897478 uncrustified 2019-01-07 09:13:53 +01:00
Uwe Rathmann 5da92830df QskSubWindow titleBar improvements 2018-10-29 20:11:48 +01:00
Uwe Rathmann adaee2b5ab install rues 2018-10-26 09:04:08 +02:00
Uwe Rathmann 19df7461c0 dllimport/dllexport stuff 2018-10-12 08:03:03 +02:00
Uwe Rathmann 0a92cb82db playing with clang-format 2018-08-03 08:15:28 +02:00
Uwe Rathmann 68bc2f032c dh 2018-07-31 17:32:25 +02:00
Uwe Rathmann e195614654 input panel again 2018-06-12 08:20:48 +02:00
Uwe Rathmann 3ffd9b3a71 input panel improved 2018-04-30 10:03:51 +02:00
Uwe Rathmann 6e2e80d2de QskTextInput/QskInputPanel improvements 2018-04-18 19:41:46 +02:00
Uwe Rathmann 3f8616c084 QskTextInput improved 2018-04-18 10:46:11 +02:00
Uwe Rathmann 34cc82dd70 QskTextInput/QskInputPanel improved 2018-04-13 16:32:48 +02:00
Uwe Rathmann 546044f916 layout code with transformations 2018-04-06 18:07:12 +02:00
Uwe Rathmann 07d28529be QskVirtualKeyboard much simpler now 2018-04-06 17:30:24 +02:00
Uwe Rathmann 80c41c53e0 inputpanel subdir introduced 2018-04-06 11:27:10 +02:00
Uwe Rathmann 26417ed49a initial version of QskTextInput wrapping QQuickTextInput 2018-04-03 10:47:21 +02:00
Peter Hartmann b497b776ae merge changes from downstream (#56)
* keyboard: Rename some classes

* keyboard: adapt some files from downstream
2018-03-28 18:01:25 +02:00
Peter Hartmann b68fc92cc9 keyboard: fix layout calculation 2018-03-28 15:49:45 +02:00
Peter Hartmann c1945a00ec keyboard skins: remove commented lines 2018-03-28 15:14:30 +02:00
Peter Hartmann a28909327b Add subcontrol for input panel 2018-03-27 16:40:53 +02:00
Peter Hartmann 80249f0c30 QskInputPanel: Support margins 2018-03-27 16:39:54 +02:00
Peter Hartmann debd286b4d input panel: Apply style to new input panel 2018-03-27 16:38:42 +02:00
Peter Hartmann e365592457 new input panel code 2018-03-27 16:37:27 +02:00
Uwe Rathmann 1d086d9051 project file fixed 2018-02-27 08:27:03 +01:00
Uwe Rathmann 4f6bf75426 some auto scrolling modes added 2018-01-16 12:13:38 +01:00
Uwe Rathmann 6813d643d3 skins factories can be loaded as plugins 2018-01-03 11:57:05 +01:00