Commit Graph

831 Commits

Author SHA1 Message Date
Uwe Rathmann 4d724bb6fe compiler error fixed 2022-04-01 17:00:05 +02:00
Uwe Rathmann a40ca46556 font initialization changed 2022-04-01 14:42:18 +02:00
Uwe Rathmann e2d6823927 skin transition heavily changed 2022-03-31 18:09:03 +02:00
Uwe Rathmann 27ee0fe423 using QVariant::metaType 2022-03-31 12:25:24 +02:00
Uwe Rathmann 511c6ddcd3 try to convert if start/end values have different types 2022-03-29 11:15:08 +02:00
Uwe Rathmann 94a7ae4509 using qskEffectiveSkin 2022-03-29 08:09:19 +02:00
Uwe Rathmann aa3c01dee3 making hintTable() public 2022-03-29 08:08:46 +02:00
Uwe Rathmann 1eae47aefa tracking states of the aspects in a QskSkinHintTable 2022-03-28 21:28:56 +02:00
Uwe Rathmann 5dae58fc44 making code slightly more readable 2022-03-28 20:17:56 +02:00
Uwe Rathmann 3aa320f233 accepting hover events as default 2022-03-26 16:22:47 +01:00
Uwe Rathmann 28c47725e2 do not like protected keywords in macros 2022-03-25 18:17:14 +01:00
Uwe Rathmann d6c4968d3c using QSK_EVENT_DISABLE_COPY 2022-03-25 18:04:41 +01:00
Uwe Rathmann 04ec8b52a1 making clazy happier 2022-03-25 07:46:48 +01:00
Uwe Rathmann 73f11cffd9 making clazy happier 2022-03-24 17:33:40 +01:00
Uwe Rathmann 115141bc21 reserving memory in advance 2022-03-24 17:33:01 +01:00
Uwe Rathmann eeb9e04b60 making clazy happier 2022-03-24 17:30:50 +01:00
Uwe Rathmann b572c23561 using const methods 2022-03-24 17:18:27 +01:00
Uwe Rathmann fe372f64e4 Q_DISABLE_COPY added 2022-03-24 17:13:47 +01:00
Uwe Rathmann 828986de2e bad return statements fixed 2022-03-24 17:10:11 +01:00
Uwe Rathmann a8b176aa71 QskSkinTransition pimpled 2022-03-24 11:17:03 +01:00
Uwe Rathmann d285b7e85c Q_DISABLE_COPY added 2022-03-24 11:12:45 +01:00
Uwe Rathmann 5c62725cd1 using reference parameters 2022-03-24 08:45:06 +01:00
Uwe Rathmann 74a09c8f7e using const method 2022-03-24 08:42:54 +01:00
Uwe Rathmann cc21fec436 using qAsConst 2022-03-24 08:41:11 +01:00
Uwe Rathmann c963ec7deb beautified 2022-03-24 08:10:57 +01:00
Uwe Rathmann eaa554addc using reference parameter 2022-03-24 08:10:29 +01:00
Uwe Rathmann 44ca6c964f Q_EMIT added 2022-03-24 08:10:04 +01:00
Uwe Rathmann 057866e7ff disable copying 2022-03-24 08:08:40 +01:00
Uwe Rathmann 12a3476e71 return code for all remove operations 2022-03-24 08:01:52 +01:00
Uwe Rathmann 24e8c28d9e unused code removed 2022-03-24 07:59:02 +01:00
Uwe Rathmann 1cc0dff8d5 uncrustified 2022-03-23 11:54:34 +01:00
Uwe Rathmann 7f5d289808 obsolete code for earlier versions removed 2022-03-20 14:22:11 +01:00
Uwe Rathmann 3bfdd9ed93 workaround for emit usages in qt headers 2022-03-20 13:14:06 +01:00
Uwe Rathmann bc3ef26584 include guards formalized 2022-03-20 13:11:34 +01:00
Uwe Rathmann 598224e487 qmake setup changed 2022-03-18 12:32:57 +01:00
Uwe Rathmann 36c759dc41 qskIsStandardKeyInput added 2022-03-11 14:24:10 +01:00
Uwe Rathmann d7d5c8cff3 Squashed commit of the following:
commit 02f95db2e5a105cad4ac0bc07f5dcfc655546f9d
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Fri Mar 11 14:14:35 2022 +0100

    wip
2022-03-11 14:16:41 +01:00
Uwe Rathmann 820bb9cdc2 obsolete version check removed 2022-03-09 07:25:18 +01:00
Uwe Rathmann cdb17476b5 platform depending code moved to QskSkin 2022-03-08 15:59:35 +01:00
Uwe Rathmann 7f63392eed TODO note added 2022-03-08 12:08:15 +01:00
Uwe Rathmann ae2c6d87a8 upport for Qt < Qt 5.12 dropped 2022-03-08 11:53:46 +01:00
Uwe Rathmann 01a79a1b0b updates in setPopupFlags fixed 2022-03-08 11:17:17 +01:00
Uwe Rathmann f17a73f53b updateFocusFrame is protected now 2022-03-08 11:16:14 +01:00
Uwe Rathmann b79e46e256 comment added 2022-02-20 11:06:48 +01:00
Clemens Manert adc4875629
Bugfix: Respect QskControl::Disabled aspect. (#162) 2022-02-20 10:54:01 +01:00
Uwe Rathmann 9cc840f0f8 compatibility method for early Qt versions 2022-02-08 09:01:18 +01:00
Uwe Rathmann 05dd8ea087 setting the placement bit only when being undefined in the request 2022-02-08 09:00:13 +01:00
Uwe Rathmann d38d4429f5 source as string 2022-02-08 08:59:34 +01:00
Uwe Rathmann 96e210ce3c Qt 6.3 ( beta1 ) incompatibilities fixed 2022-02-06 14:32:26 +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 cec696a78b wheel scrolling improved 2022-01-17 09:46:27 +01:00
Uwe Rathmann acbb5d1c0b wheel scrolling improved 2022-01-12 13:29:42 +01:00
Uwe Rathmann e310c3c9bb Merge branch 'master' of https://github.com/uwerat/qskinny 2022-01-10 14:59:52 +01:00
Uwe Rathmann 379a6f6ccc wheelEvent handling improved 2022-01-10 14:59:22 +01:00
Uwe Rathmann cf5c326208 compiler issue fixed 2022-01-10 12:20:56 +01:00
Uwe Rathmann d4f140f20e wrnings disabled 2022-01-10 08:47:27 +01:00
Uwe Rathmann 030483badb wheel + Ctrl/Shift scrolls pagewise 2022-01-10 08:46:20 +01:00
Uwe Rathmann 1dd3127f9f QskScrollBox::scrollOffset reintroduced 2022-01-07 15:34:13 +01:00
Uwe Rathmann 3f0aaae1a1 changes reverted 2022-01-07 15:09:05 +01:00
Uwe Rathmann 1bac9f37c3 forgotten declarations removed 2022-01-07 13:55:30 +01:00
Uwe Rathmann 36001a6fec menu separators added 2022-01-06 18:36:15 +01:00
Uwe Rathmann 8b5077ed2b useless call removed 2022-01-05 12:05:44 +01:00
Uwe Rathmann e67cccc088 wheel event handling improved 2022-01-05 11:59:32 +01:00
Uwe Rathmann 911847da11 QskPageIndicator improved 2022-01-04 15:58:49 +01:00
Uwe Rathmann 38f14eee80 mouse handling modified 2022-01-04 15:54:16 +01:00
Uwe Rathmann 4a3b419470 QskPageIndicator improved 2022-01-04 14:34:15 +01:00
Uwe Rathmann 1feccd942a QskPageIndicator improved 2022-01-04 13:58:34 +01:00
Uwe Rathmann 84edabe8e3 code simplified 2022-01-04 13:47:40 +01:00
Uwe Rathmann 1d7b551b05 QskBoxHints introduced 2022-01-04 13:44:53 +01:00
Uwe Rathmann 4a3f56e842 QskPopup::execPopup introduced 2022-01-01 18:13:33 +01:00
Uwe Rathmann 9cef7705d8 QskMenu::exec added 2021-12-30 11:13:48 +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 22bee7e62e missing include added 2021-12-29 16:54:16 +01:00
Uwe Rathmann 78d39d242f QskMenu::Cursor animation added 2021-12-29 16:23:19 +01:00
Uwe Rathmann 1a0ea4a3c4 cenvenience setter added 2021-12-29 16:21:33 +01:00
Uwe Rathmann 17f32546fd moveSkinHint introduced 2021-12-29 15:55:44 +01:00
Uwe Rathmann 46707cc507 more convenience setter/getter 2021-12-29 15:36:04 +01:00
Uwe Rathmann e5f15d34e4 QskAnimationHint improved 2021-12-29 15:27:53 +01:00
Uwe Rathmann 05bb54e48d avoiding deprecation warnings 2021-12-29 15:21:09 +01:00
Uwe Rathmann aca538a89d introducing series/sample for subcontrols being related to multiple
instances
2021-12-28 16:14:30 +01:00
Uwe Rathmann 9fff09144a QskMenuSkinlet improved 2021-12-28 15:33:13 +01:00
Uwe Rathmann f1a324b216 QskSkinlet improved for subControls with multible instances 2021-12-28 10:08:21 +01:00
Uwe Rathmann 320ed1b39c QskSkinStateChanger improved 2021-12-27 17:33:06 +01:00
Uwe Rathmann 622c6f06c2 trailing semicolons removed 2021-12-27 10:21:03 +01:00
Uwe Rathmann 9ce14619e7 using QVariant 2021-12-27 09:50:14 +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 26336fa5dc ReplayMousePressOutsidePopup reminder added 2021-12-26 12:15:07 +01:00
Uwe Rathmann 1930810070 QskSkinlet::itemIndexAt introduced 2021-12-26 09:15:15 +01:00
Uwe Rathmann 34641e4860 QskSkinlet::itemRect added 2021-12-24 16:50:34 +01:00
Uwe Rathmann 452ff3a07b QskMenu improved 2021-12-24 16:20:34 +01:00
Uwe Rathmann 1beec5e599 layout code improved 2021-12-24 16:18:46 +01:00
Uwe Rathmann fa6fc7b4c1 QskSkinnable::effectiveFontHeight added 2021-12-24 16:17:49 +01:00
Uwe Rathmann ca2cdf7663 beautified 2021-12-23 19:05:59 +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 af8df9f4be minor improvements 2021-12-23 18:16:18 +01:00
Uwe Rathmann d37b9ca39c using QskSkinStateChanger 2021-12-23 18:15:54 +01:00
Uwe Rathmann 6fd771d741 QskSkinStateChanger introduced 2021-12-23 18:15:07 +01:00