Commit Graph

1301 Commits

Author SHA1 Message Date
Uwe Rathmann ec3da9af4f making clazy happier 2022-03-24 17:33:40 +01:00
Uwe Rathmann a3e7b96694 reserving memory in advance 2022-03-24 17:33:01 +01:00
Uwe Rathmann 564079c318 making clazy happier 2022-03-24 17:30:50 +01:00
Uwe Rathmann ca6a029b96 using const methods 2022-03-24 17:18:27 +01:00
Uwe Rathmann b04c4b8060 Q_DISABLE_COPY added 2022-03-24 17:13:47 +01:00
Uwe Rathmann d4eadcd004 reserving memory in advance 2022-03-24 17:13:09 +01:00
Uwe Rathmann 24f3cfb893 Q_DISABLE_COPY added 2022-03-24 17:12:34 +01:00
Uwe Rathmann 995b54a497 bad return statements fixed 2022-03-24 17:10:11 +01:00
Uwe Rathmann 065702ad5a QskDialogButtonBox::isDefaultButtonKeyEvent fixed 2022-03-24 11:44:08 +01:00
Uwe Rathmann 3a6d052c30 QskSkinTransition pimpled 2022-03-24 11:17:03 +01:00
Uwe Rathmann d8bc768be8 pimpled 2022-03-24 11:14:46 +01:00
Uwe Rathmann 6e94c5a937 Q_DISABLE_COPY added 2022-03-24 11:12:45 +01:00
Uwe Rathmann 0dbf6cfbd4 using qAsConst 2022-03-24 10:39:33 +01:00
Uwe Rathmann b7faf34ff0 making QskGraphic a Q_GADGET 2022-03-24 10:26:33 +01:00
Uwe Rathmann e33672456e QskStandardSymbol as namespace 2022-03-24 08:50:53 +01:00
Uwe Rathmann 71abc95f8f using reference parameters 2022-03-24 08:45:06 +01:00
Uwe Rathmann 9443111b05 using const method 2022-03-24 08:42:54 +01:00
Uwe Rathmann e306907802 using qAsConst 2022-03-24 08:41:11 +01:00
Uwe Rathmann 5cd3de9943 pointless QObject inheritance removed 2022-03-24 08:27:17 +01:00
Uwe Rathmann 6dd81fad8c using const getter 2022-03-24 08:20:05 +01:00
Uwe Rathmann 4b1552439d using QStringLiteral 2022-03-24 08:19:24 +01:00
Uwe Rathmann 6ae31b856c class moved to anonymous namespace 2022-03-24 08:18:15 +01:00
Uwe Rathmann 1597c0e015 using c++11 2022-03-24 08:11:29 +01:00
Uwe Rathmann d3d4cbb51f beautified 2022-03-24 08:10:57 +01:00
Uwe Rathmann 56a721ff81 using reference parameter 2022-03-24 08:10:29 +01:00
Uwe Rathmann 7d464da5b0 Q_EMIT added 2022-03-24 08:10:04 +01:00
Uwe Rathmann 94dc9f4e62 using reference parameters 2022-03-24 08:09:30 +01:00
Uwe Rathmann b3aa2a2f7f disable copying 2022-03-24 08:08:40 +01:00
Uwe Rathmann 018a605460 return code for all remove operations 2022-03-24 08:01:52 +01:00
Uwe Rathmann e84488d080 rong return statement removed 2022-03-24 07:59:28 +01:00
Uwe Rathmann 42f293e3ea unused code removed 2022-03-24 07:59:02 +01:00
Uwe Rathmann c439d5475b Squashed commit of the following:
commit 547927f937a3260d5b23068f06cd181de9b7c763
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Wed Mar 23 15:38:40 2022 +0100

    wip

commit ca06b1da4bf9c5b30ef2857f0b6c1e4fb137a64e
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Wed Mar 23 15:30:31 2022 +0100

    using private classes

commit 4977b0afa481039f22b64e7f55262be8053a26c2
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Wed Mar 23 15:18:20 2022 +0100

    avoid using private Qt headers in examples
2022-03-23 15:39:17 +01:00
Uwe Rathmann 823a5fc91c compiler errors for Qt6 fixed 2022-03-23 14:43:05 +01:00
Uwe Rathmann 1987a28430 uncrustified 2022-03-23 11:54:34 +01:00
Uwe Rathmann 9f093674ff obsolete code for earlier versions removed 2022-03-20 14:22:11 +01:00
Uwe Rathmann 084d9958ee workaround for emit usages in qt headers 2022-03-20 13:14:06 +01:00
Uwe Rathmann 05cf4649f8 outdated comment fixed 2022-03-20 13:12:30 +01:00
Uwe Rathmann 3e68490da9 include guards formalized 2022-03-20 13:11:34 +01:00
Uwe Rathmann c589e06dc5 support for QGradient::Preset 2022-03-18 16:50:34 +01:00
Uwe Rathmann bfa3d6d6bd constexpr, where possible 2022-03-18 16:08:40 +01:00
Uwe Rathmann 9159b50dd6 qmake setup changed 2022-03-18 12:32:57 +01:00
Uwe Rathmann 79494fc5fa qskIsStandardKeyInput added 2022-03-11 14:24:10 +01:00
Uwe Rathmann 750af90094 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 52222d3bdd obsolete version check removed 2022-03-09 07:25:18 +01:00
Uwe Rathmann 7936ba3f12 QskDialogButton::resetButton 2022-03-08 16:15:37 +01:00
Uwe Rathmann 5aed34f52f platform depending code moved to QskSkin 2022-03-08 15:59:35 +01:00
Uwe Rathmann 89e4dc1546 TODO note added 2022-03-08 12:08:15 +01:00
Uwe Rathmann 64ed933cd8 upport for Qt < Qt 5.12 dropped 2022-03-08 11:53:46 +01:00
Uwe Rathmann 6e48df9da2 formal changes 2022-03-08 11:18:10 +01:00
Uwe Rathmann cc1eda9fe6 cacheSize as property 2022-03-08 11:17:48 +01:00
Uwe Rathmann ee08a307ce updates in setPopupFlags fixed 2022-03-08 11:17:17 +01:00
Uwe Rathmann fab37f428e updateFocusFrame is protected now 2022-03-08 11:16:14 +01:00
Uwe Rathmann 932f238416 comment added 2022-02-20 11:06:48 +01:00
Clemens Manert b296f572e2 Bugfix: Respect QskControl::Disabled aspect. (#162) 2022-02-20 10:54:01 +01:00
Uwe Rathmann 1ec16afd9a compatibility method for early Qt versions 2022-02-08 09:01:18 +01:00
Uwe Rathmann 0e7b2048d1 setting the placement bit only when being undefined in the request 2022-02-08 09:00:13 +01:00
Uwe Rathmann 287a34e62c source as string 2022-02-08 08:59:34 +01:00
Uwe Rathmann 263a522e1a Qt 6.3 ( beta1 ) incompatibilities fixed 2022-02-06 14:32:26 +01:00
Uwe Rathmann 425790b072 beautified 2022-02-04 16:18:35 +01:00
Uwe Rathmann 9e068f7af3 using references 2022-02-04 16:18:14 +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
Peter Hartmann d249c5f75e Hunspell: Move prediction to an own thread (#159)
* text prediction: Move predictors to input panel

* hunspell: Move predictor to an own thread and update implementation
2022-02-04 16:10:44 +01:00
Uwe Rathmann 389d20a2d9 constructor fixed 2022-01-21 07:49:38 +01:00
Uwe Rathmann 3c7fbdad1a status bit initialization improved 2022-01-21 07:33:28 +01:00
Uwe Rathmann dd0c272514 status bits introduced to cache information, that would be recaclulated
many times otherwise
2022-01-21 07:29:07 +01:00
Uwe Rathmann aa2a1d72c2 avoid using the same procedure name 2022-01-21 07:28:34 +01:00
Uwe Rathmann 50ffa5b9e1 wheel scrolling improved 2022-01-17 09:46:27 +01:00
Uwe Rathmann ab1e7d537e wheel scrolling improved 2022-01-12 13:29:42 +01:00
Uwe Rathmann f830ac23ed Merge branch 'master' of https://github.com/uwerat/qskinny 2022-01-10 14:59:52 +01:00
Uwe Rathmann fc3cfc6101 wheelEvent handling improved 2022-01-10 14:59:22 +01:00
Uwe Rathmann 4d4558464d compiler issue fixed 2022-01-10 12:20:56 +01:00
Uwe Rathmann b8a7b5269c wrnings disabled 2022-01-10 08:47:27 +01:00
Uwe Rathmann 013fba769c wheel + Ctrl/Shift scrolls pagewise 2022-01-10 08:46:20 +01:00
Uwe Rathmann 221b9e90b9 minor improvements 2022-01-10 08:44:02 +01:00
Uwe Rathmann 90bfdcb915 QskScrollBox::scrollOffset reintroduced 2022-01-07 15:34:13 +01:00
Uwe Rathmann b1a5b8a53d changes reverted 2022-01-07 15:09:05 +01:00
Uwe Rathmann e6dc1e311b toTransparentF added 2022-01-07 13:55:51 +01:00
Uwe Rathmann 212efb8861 forgotten declarations removed 2022-01-07 13:55:30 +01:00
Uwe Rathmann baadd6fa96 QskRgb::totransparentF added 2022-01-07 13:23:29 +01:00
Uwe Rathmann d8c7485ab1 Qt 5.6 incompatibility fixed 2022-01-07 12:46:24 +01:00
Uwe Rathmann f1c48a4b9a menu separators added 2022-01-06 18:36:15 +01:00
Uwe Rathmann 9f2f35b1fe useless call removed 2022-01-05 12:05:44 +01:00
Uwe Rathmann 703b96d250 wheel event handling improved 2022-01-05 11:59:32 +01:00
Uwe Rathmann bce93a196f QskPageIndicator improved 2022-01-04 15:58:49 +01:00
Uwe Rathmann 7a1ea07914 mouse handling modified 2022-01-04 15:54:16 +01:00
Uwe Rathmann 96cb249a88 QskPageIndicator improved 2022-01-04 14:34:15 +01:00
Uwe Rathmann acbc66ea80 QskPageIndicator improved 2022-01-04 13:58:34 +01:00
Uwe Rathmann bfdb00c77b QskStackBox::transientindex introduced 2022-01-04 13:50:40 +01:00
Uwe Rathmann 57ad556afe code simplified 2022-01-04 13:47:40 +01:00
Uwe Rathmann cf1afeb498 qskInterpolatedSize added 2022-01-04 13:46:54 +01:00
Uwe Rathmann f49a73c78d QskBoxHints introduced 2022-01-04 13:44:53 +01:00
Uwe Rathmann 8b9c0c0381 QskPopup::execPopup introduced 2022-01-01 18:13:33 +01:00
Uwe Rathmann 3818f4e397 return QString(), when the dialog has been rejected 2022-01-01 18:12:17 +01:00
Uwe Rathmann d5b19fe12d QskMenu::exec added 2021-12-30 11:13:48 +01:00
Uwe Rathmann e389df5b70 QskMenu::Cursor transition fixed 2021-12-29 17:19:19 +01:00
Uwe Rathmann c37f792054 using positionHint methods 2021-12-29 17:05:29 +01:00
Uwe Rathmann f70ea29b0a missing include added 2021-12-29 16:54:16 +01:00
Uwe Rathmann e358bee2fa QskMenu::Cursor animation added 2021-12-29 16:23:19 +01:00
Uwe Rathmann 6a0e79e21a cenvenience setter added 2021-12-29 16:21:33 +01:00
Uwe Rathmann 042f04cdad moveSkinHint introduced 2021-12-29 15:55:44 +01:00
Uwe Rathmann ef114e16eb more convenience setter/getter 2021-12-29 15:36:04 +01:00
Uwe Rathmann 10b200d52c QRectF interpolator added 2021-12-29 15:30:44 +01:00
Uwe Rathmann 450be00367 QskAnimationHint improved 2021-12-29 15:27:53 +01:00
Uwe Rathmann 0e5060a80b avoiding deprecation warnings 2021-12-29 15:21:09 +01:00
Uwe Rathmann 8fefbb4ccc introducing series/sample for subcontrols being related to multiple
instances
2021-12-28 16:14:30 +01:00
Uwe Rathmann d4ba6cd69b QskMenuSkinlet improved 2021-12-28 15:33:13 +01:00
Uwe Rathmann ba1d9dde74 QskSkinlet improved for subControls with multible instances 2021-12-28 10:08:21 +01:00
Uwe Rathmann 616708a67f QskSkinStateChanger improved 2021-12-27 17:33:06 +01:00
Uwe Rathmann ce814e6399 trailing semicolons removed 2021-12-27 10:21:03 +01:00
Uwe Rathmann c99112f160 using QVariant 2021-12-27 09:50:14 +01:00
Uwe Rathmann 2fd66b314e some functions copied from QskFunctions to QskPlatform 2021-12-26 12:57:02 +01:00
Uwe Rathmann 400f2cb2cc QskMenu::cascading added 2021-12-26 12:17:31 +01:00
Uwe Rathmann fef427f9f3 ReplayMousePressOutsidePopup reminder added 2021-12-26 12:15:07 +01:00
Uwe Rathmann 73ccabb65f qskPlatformIntegration/qskMaybeDesktopPlatform added 2021-12-26 12:12:18 +01:00
Uwe Rathmann 83024bf4dc QskSkinlet::itemIndexAt introduced 2021-12-26 09:15:15 +01:00
Uwe Rathmann 2123fb4072 QskSkinlet::itemRect added 2021-12-24 16:50:34 +01:00
Uwe Rathmann c9f65c7e0c QskMenu improved 2021-12-24 16:20:34 +01:00
Uwe Rathmann 2b143917db layout code improved 2021-12-24 16:18:46 +01:00
Uwe Rathmann 7037ee9809 QskSkinnable::effectiveFontHeight added 2021-12-24 16:17:49 +01:00
Uwe Rathmann eb13fd4fa5 beautified 2021-12-23 19:05:59 +01:00
Uwe Rathmann cbd611602f QskMenu added ( work in progress ) 2021-12-23 18:36:32 +01:00
Uwe Rathmann 0a7dcd1996 QskPopup improvements 2021-12-23 18:19:52 +01:00
Uwe Rathmann 265f39fa5a minor improvements 2021-12-23 18:16:18 +01:00
Uwe Rathmann 2c8585dadf using QskSkinStateChanger 2021-12-23 18:15:54 +01:00
Uwe Rathmann 6845c1737c QskSkinStateChanger introduced 2021-12-23 18:15:07 +01:00
Uwe Rathmann e7127cda5d QskListView::Selected state introduced 2021-12-22 15:08:27 +01:00
Uwe Rathmann 6ac5bbf3bb minor improvements 2021-12-22 15:07:51 +01:00
Uwe Rathmann 17c72010bf QskGraphic::aspectRatio added 2021-12-22 15:07:03 +01:00
Uwe Rathmann 6858875171 minor improvements 2021-12-22 10:55:48 +01:00
Uwe Rathmann a4e7738e61 dead code removed 2021-12-15 08:47:16 +01:00
Uwe Rathmann cda3df4fe3 QskLayoutHint renamed to QskLayoutMetrics 2021-12-15 08:45:29 +01:00
Uwe Rathmann 12d857c60b forgotten debug code removed 2021-12-13 16:53:18 +01:00
Uwe Rathmann 863351e372 hiding the devicePixelRato scaling in the nodes 2021-12-13 16:43:34 +01:00
Uwe Rathmann 9d7a836d6a manually aligning textures to avoid rounding issues 2021-12-10 13:39:41 +01:00
Uwe Rathmann 6af87f45aa missing interpolators added 2021-12-09 17:38:37 +01:00
Uwe Rathmann cf57111724 hiding internal class in an anonymous namespace 2021-12-09 17:32:22 +01:00
Uwe Rathmann 4fadefa766 missing paint device metrics added 2021-12-09 17:22:52 +01:00
Uwe Rathmann 515c449365 wip 2021-12-08 08:26:55 +01:00
Uwe Rathmann 5ceff116c2 code moved to internal methods to make things more readable 2021-12-06 12:40:32 +01:00
Uwe Rathmann 6357d2a5a1 more versatile APIs 2021-12-02 18:40:54 +01:00
Uwe Rathmann f0c46d5665 respect the device pixel ratio 2021-12-02 17:33:53 +01:00
Uwe Rathmann eb1c2b07de using degrees for arcs ( not multiplied by 16, what QPainter wants ) 2021-12-02 17:15:41 +01:00
Uwe Rathmann 4edfbc55b6 layout issue fixed, update of the clipNode fixed 2021-11-26 14:12:42 +01:00
Uwe Rathmann 2fea6609d0 using c++11 2021-11-23 07:58:12 +01:00
Peter Hartmann 46360c694d aspects: Fix off-by-one error when printing subcontrols (#151) 2021-11-22 15:50:18 +01:00
Uwe Rathmann cd9d9079f7 disconnect from visibleChanged when being destructed 2021-11-02 07:47:01 +01:00
Uwe Rathmann 56b7d95db5 QML export as QskGadientStops does nor work - we need to stay with
QVector
2021-10-27 15:08:06 +02:00
Uwe Rathmann 59fab80418 wrong include 2021-10-27 15:07:17 +02:00
Uwe Rathmann e38771486f internal layoutBox replaced by a plain layout. A bit more lightweight
and we do not end up with focus changes when rearranging the buttons
2021-10-27 14:03:39 +02:00
Uwe Rathmann 9cb3dfa8b6 button centering fixed 2021-10-27 13:02:34 +02:00