Commit Graph

1228 Commits

Author SHA1 Message Date
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
Uwe Rathmann 2895bd886a fromPixmapAsImage added 2021-10-26 11:33:26 +02:00
Peter Hartmann 0f5ffa5ea2 page indicator: Support different width / height for both horizontal and vertical orientations (#138)
* add Uwe's changes

* fix horizontal page indicators
2021-10-26 08:32:54 +02:00
Uwe Rathmann a0417aef0c setColor/setColors fixed 2021-10-25 08:32:46 +02:00
Uwe Rathmann 35ae18d016 more constructors to avoid losing alpha values 2021-10-25 08:31:32 +02:00
Uwe Rathmann 842df5368c workaround for monochrome gradients with additional stops 2021-10-25 08:29:12 +02:00
Uwe Rathmann 837848b8d1 toAbsolute using width or height 2021-10-20 12:42:48 +02:00
Uwe Rathmann 947f6ff345 beautified 2021-10-20 12:42:26 +02:00
Uwe Rathmann 96d2ef05dc QskArcMetrics adjustments 2021-10-20 09:27:05 +02:00
Peter Hartmann 5f2e285ce3 Iot dashboard arc rendering (#134)
* add QskArcNode and QskArcRenderer

* IOT example: Use QskArcNode instead of own arc node

* move some functionality to the arc renderer

* add QskArcMetrics

* add methods to QskSkinlet

* remove circular bar graph node

We can now use updateArcNode() and don't need our own method.

* support linear gradients in the arc renderer

* clean up

* incorporate Uwe's changes

* add overloads for updateArcNode() when the angles are set dynamically

The angles don't always come from the style, so we need overloads
in QskSkinlet to set them dynamically.
2021-10-20 07:50:25 +02:00
Uwe Rathmann c1efa7d9a1 code duplication removed 2021-10-19 06:44:17 +02:00
Uwe Rathmann 83beba341a checking against divison by 0 2021-10-14 17:08:54 +02:00
Uwe Rathmann 6957ab4086 defensive checks added 2021-10-12 17:57:07 +02:00
Uwe Rathmann 92ee66da11 singletons should be destroyd at program termination 2021-10-12 10:36:45 +02:00
Uwe Rathmann 8d98b98e0f memory leak detection simplified 2021-10-08 07:47:00 +02:00
Uwe Rathmann 0bdd05c4d7 leak statistics fixed 2021-10-07 18:37:46 +02:00
Uwe Rathmann c980a2ada6 object info added 2021-10-07 17:47:15 +02:00
Uwe Rathmann 5e9729ce45 hiding code in QskObjectCounter.cpp 2021-10-07 13:49:13 +02:00
Uwe Rathmann 6e6ebd8c8f QskScrollArea::layoutSizeHint added 2021-10-01 13:42:56 +02:00
Uwe Rathmann 5d5a3ae1e3 QskSkinTransition fixed 2021-09-21 16:06:12 +02:00
Uwe Rathmann 35c1aa1c1b Qt 6.2 workarounds 2021-09-21 10:28:13 +02:00
Uwe Rathmann c909ee585d Qt 6.2 adjustments 2021-09-21 08:51:01 +02:00
Uwe Rathmann e675b2c4c2 making QskBoxBorderMetrics a Q_GADGET 2021-09-18 15:01:04 +02:00
Uwe Rathmann 5dafe78fa0 making QskShadowMetrics a Q_GADGET 2021-09-18 14:54:25 +02:00
Uwe Rathmann 3e263598c8 playing with shadows 2021-09-18 14:48:25 +02:00
Uwe Rathmann a2475abbe6 typo fixed 2021-09-18 14:06:31 +02:00
Uwe Rathmann 2ad305edb1 QskSkinnable::setSkinStates cleanup 2021-09-17 16:32:01 +02:00
Uwe Rathmann fd0fd39a26 using clearState instead of clearStates 2021-09-17 14:49:42 +02:00
Uwe Rathmann b2e9627d43 using QskGradientStops 2021-09-17 13:47:43 +02:00
Uwe Rathmann b7c1f63b15 QskGradientStops introduced 2021-09-17 13:35:11 +02:00
Uwe Rathmann 97f0b86004 code moved to QskGradientStop.[h|cpp] 2021-09-16 10:01:53 +02:00
Uwe Rathmann cedff456d4 QskCorner removed - using QskBoxShapeMetrics instead 2021-09-15 17:54:44 +02:00
Uwe Rathmann 96df46c952 pointless forward declaraton removed 2021-09-15 14:06:12 +02:00
Uwe Rathmann b950b77dc2 missing noexcept keywords added 2021-09-15 13:46:02 +02:00
Uwe Rathmann 8dc1165ca5 missing noexcept keywords added 2021-09-15 13:45:26 +02:00
Uwe Rathmann 41cba80f61 pointless initialization removed 2021-09-14 13:27:22 +02:00
Uwe Rathmann 68a166306f using QDataStream::Qt_5_6 2021-09-14 13:25:11 +02:00
Uwe Rathmann 139f40067b QskAspect::States introduced to be more accurate about state vs. states 2021-09-14 13:05:56 +02:00
Uwe Rathmann 52e917ec2f each window might have its own skin 2021-09-09 07:53:35 +02:00
Uwe Rathmann e53cc00262 missing parameter fixed 2021-09-04 17:11:59 +02:00
Uwe Rathmann e5c6adee2a QskSkinHintTableEditor API simplified 2021-09-04 16:48:02 +02:00
Uwe Rathmann dd7c08ae40 QskSkinHintTableEditor extended 2021-09-03 06:51:50 +02:00
Uwe Rathmann ef529b0b0a Metric/Color fixed 2021-09-02 17:06:16 +02:00
Uwe Rathmann 7fe1d7e901 state explicitely casted to quint16 2021-09-02 13:12:29 +02:00
Uwe Rathmann 67fdcff6b9 mehods renamed to setXYZForAllStateCombinations 2021-09-02 08:11:53 +02:00
Uwe Rathmann 2a46ae1475 methods for setting hints for state combinations added 2021-08-31 17:59:00 +02:00
Uwe Rathmann 53e068afc0 QskSkinnable::hasSkinState added 2021-08-30 15:30:41 +02:00
Uwe Rathmann 24a9963550 memory leak fixed 2021-08-30 12:39:16 +02:00
Uwe Rathmann 9ccf0020da minor adjustments 2021-08-27 09:45:24 +02:00
Clemens Manert b7e2fda578 Add ripple to SwitchButton (#123) 2021-08-27 09:09:10 +02:00
Uwe Rathmann 2a04e0613e QskGraphicLabel::panel property added 2021-08-26 15:17:41 +02:00
Uwe Rathmann 4dbb19564c missing const qualifier added 2021-08-06 14:22:50 +02:00
Uwe Rathmann 2265edab87 older gcc verion need override final 2021-08-06 09:52:12 +02:00
Uwe Rathmann 4029f95a4d don't call effectiveSubcontrol from substitutedSubcontrol 2021-08-05 15:31:00 +02:00
Uwe Rathmann 40b236fcdb substitutedSubcontrol is protected 2021-08-05 15:30:27 +02:00
Uwe Rathmann 1361629067 yet another QskControl::setMargins overload 2021-08-05 11:06:14 +02:00
Uwe Rathmann bec613f4af more geometry convenence setter 2021-08-04 18:48:26 +02:00
Uwe Rathmann a1f375a127 QskSkinnable::subcontrolProxy added 2021-08-04 15:06:44 +02:00
Uwe Rathmann b3540aa3a0 Squashed commit of the following:
commit f429d3ab4e82ab06bfd40577aef8e2d5fdfd59fd
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Wed Aug 4 14:40:36 2021 +0200

    subcontrolProxy introduced
2021-08-04 15:06:04 +02:00
Uwe Rathmann aaf0c739a7 overlapping status bits fixed 2021-08-04 11:48:14 +02:00
Uwe Rathmann 44dc4417f6 forgotten signal removed 2021-08-04 11:32:33 +02:00
Uwe Rathmann 2b719190c3 uncrustified 2021-08-04 09:31:16 +02:00
Uwe Rathmann bffafdbaf3 getting rid of the confusing QskAbstractButton::Checkable state 2021-08-04 08:24:36 +02:00
Uwe Rathmann c4e765db7c 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 e26434c1cd switch button adjustments 2021-08-02 19:17:04 +02:00
Clemens Manert 423768bc84 Add SwitchButton (#121) 2021-08-02 13:22:37 +02:00
Uwe Rathmann b1634c6f78 making clang happy 2021-07-14 14:43:12 +02:00
Uwe Rathmann d24e012944 itemFocusClip added 2021-07-14 13:31:05 +02:00
Uwe Rathmann 641323e711 beautified 2021-07-14 13:30:24 +02:00
Uwe Rathmann a44f9e4379 qskFuzzyFloor/Ceil improved 2021-07-14 13:29:46 +02:00
Uwe Rathmann c63eb592eb more error checks 2021-07-12 08:32:37 +02:00
Uwe Rathmann 88aca08d3e code changes to help the static code analyzer 2021-07-12 08:26:04 +02:00
Uwe Rathmann 541b747a91 isEmpty added 2021-05-26 13:07:23 +02:00
Uwe Rathmann 5e6563d3d3 qskFuzzyFllor/qskFuzzyCeil added 2021-05-26 13:06:50 +02:00