Commit Graph

1137 Commits

Author SHA1 Message Date
Clemens Manert 13faf53495
Add SwitchButton (#121) 2021-08-02 13:22:37 +02:00
Uwe Rathmann 13867df163 making clang happy 2021-07-14 14:43:12 +02:00
Uwe Rathmann 3df57c6025 itemFocusClip added 2021-07-14 13:31:05 +02:00
Uwe Rathmann 44f9f36d0d beautified 2021-07-14 13:30:24 +02:00
Uwe Rathmann c57924d7eb qskFuzzyFloor/Ceil improved 2021-07-14 13:29:46 +02:00
Uwe Rathmann 14fc393775 more error checks 2021-07-12 08:32:37 +02:00
Uwe Rathmann 34b158b023 code changes to help the static code analyzer 2021-07-12 08:26:04 +02:00
Uwe Rathmann 4d888f7a4d isEmpty added 2021-05-26 13:07:23 +02:00
Uwe Rathmann d07e5fcf3f qskFuzzyFllor/qskFuzzyCeil added 2021-05-26 13:06:50 +02:00
Uwe Rathmann 75a9ee305c QskAspect::Primitive cleanup 2021-04-28 09:32:49 +02:00
Uwe Rathmann 3112df6c2f Flag/Color/Metric-Primitive united to Primitive - the initial concept
was not correct anymore as primitives like Border/Shadow are used for
Color and Metric
2021-04-27 10:11:10 +02:00
Uwe Rathmann 777149aecb restoring the focus only makes sense, when editing is terminated from
the input method
2021-04-26 16:29:17 +02:00
Uwe Rathmann 91232e845c crash with Qt 6.1 fixed 2021-04-26 15:11:19 +02:00
Uwe Rathmann 71a791918a version check fixed 2021-04-26 11:44:25 +02:00
Uwe Rathmann 37b7b47f1a typos fixed 2021-04-23 17:31:55 +02:00
Uwe Rathmann 2c8c6c8651 do not rely on default parameter 2021-04-23 15:17:43 +02:00
Uwe Rathmann 960f2a8d66 AllUserStates removed 2021-04-23 15:14:57 +02:00
Uwe Rathmann 5e546e1e23 replaceSkinState added 2021-04-21 09:29:52 +02:00
Uwe Rathmann fddf5efab4 pointlesskeyword removed 2021-04-21 09:28:57 +02:00
Uwe Rathmann 7b71744917 panel property added 2021-04-21 09:18:50 +02:00
Uwe Rathmann 63619f68d4 qskGlobalScalefactor added 2021-04-21 08:26:15 +02:00
Uwe Rathmann 0461029ea9 code fixed for later Qt versions 2021-04-21 08:24:17 +02:00
Uwe Rathmann 90200ed95f using QT_VERSION_CHECK 2021-04-21 08:23:31 +02:00
Uwe Rathmann 5abe0803c0 typo fixed 2021-04-21 08:22:58 +02:00
Uwe Rathmann f90736efed missing update added 2021-04-21 07:50:13 +02:00
Uwe Rathmann d6dcf0a3d1 missing implementation of fuzzyIsBoundary 2021-04-21 07:49:50 +02:00
Uwe Rathmann 293055ac06 using fuzzy compares for bounded values 2021-04-19 09:30:29 +02:00
Uwe Rathmann 1f8ec04bde snap mode improved for unaligned boundaries 2021-04-19 09:29:22 +02:00
Uwe Rathmann a73df141c6 avoid overlapping tick labels 2021-04-19 09:28:19 +02:00
Uwe Rathmann 228e94dcce suppress overlapping tick labels 2021-04-19 09:27:23 +02:00
Uwe Rathmann 33c0d92ee1 some additional methods added 2021-04-19 09:26:40 +02:00
Uwe Rathmann 76e61eba0d clenaup of the activeFocusItem fixed for Qt 5.15 2021-03-11 17:32:59 +01:00
Uwe Rathmann d1f2677c01 workarounds for mouse grabbing 2021-03-08 12:56:13 +01:00
Uwe Rathmann b1c750744c visibleToLayout property added 2021-03-08 12:25:31 +01:00
Uwe Rathmann 93d34efa9a clearing keepMouse flag 2021-03-03 12:37:00 +01:00
Uwe Rathmann 634fde4621 some more event handling 2021-03-03 08:25:39 +01:00
Uwe Rathmann fd218e6b2e Qt6 incompatibilities fixed 2021-03-02 17:09:38 +01:00
Uwe Rathmann 6c9cbcad62 text vw displayText to support text prediction 2021-03-02 16:17:56 +01:00
Uwe Rathmann 0ac9ad4387 using C++11 2021-03-02 16:17:08 +01:00
Uwe Rathmann 5bf10f5cc5 workround for broken mouse grabbing ( >= Qt 5.8 ) added 2021-03-02 16:15:56 +01:00
Uwe Rathmann e32c17df51 work around Qt issues with replayed synthesized mouse events 2021-02-26 12:43:22 +01:00
Uwe Rathmann 85a9ffd3cc ovrloading ungrab notifications for debugging purposes 2021-02-26 12:42:49 +01:00
Uwe Rathmann b1948f8655 always setting QQuickItemPrivate::Transform when cleaning unnecessary nodes to
ensure, that they will be recreatd in the next cycle
2021-02-24 13:31:03 +01:00
Uwe Rathmann b1ba6d1369 filtering can be done for QskQuickItem ( not only QskControl ) 2021-02-24 13:29:48 +01:00
Uwe Rathmann 99f852dc83 block focusInEvent calls, when the item tree is deconstructing 2021-02-23 12:04:55 +01:00
Uwe Rathmann d59d31ceff position of tick labels fixed 2021-02-23 12:03:41 +01:00
Uwe Rathmann c4e6db80df Doxygen docs 2021-02-22 17:15:37 +01:00
Uwe Rathmann e9364e0f11 more methods for tools that rely on meta object data 2021-02-19 12:43:11 +01:00
Uwe Rathmann cea3828e3d more methods for tools that rely on meta object data 2021-02-19 12:42:05 +01:00
Uwe Rathmann 5a19669f26 buttonClicked signal added 2021-02-19 12:31:00 +01:00
Uwe Rathmann bf6409b3a8 doxygen docs 2021-02-17 11:09:45 +01:00
Uwe Rathmann 6fddbeecbf doxygen work 2021-02-16 12:19:05 +01:00
Uwe Rathmann 1f09fa320e setHidden/setDisabled added 2021-02-15 09:17:29 +01:00
Uwe Rathmann d54404c9f4 QMetaType support, debug operator 2021-02-14 12:36:15 +01:00
Uwe Rathmann cf2ca93cab full updates for setting skinlet or margin 2021-02-11 12:45:17 +01:00
Uwe Rathmann 0a04f0be74 QskQuickItem::setUpdateFlags removed, due to its unclear semantics 2021-02-09 12:26:58 +01:00
Uwe Rathmann b84e621bfe handling of updateFlagsMask fixed 2021-02-09 12:26:29 +01:00
Uwe Rathmann 864fa97180 sending a QEvent::ReadOnlyChange 2021-02-09 12:25:41 +01:00
Uwe Rathmann 5cb33ad79b renamed to QskQuickItem::UpdateFlags 2021-02-09 08:13:20 +01:00
Uwe Rathmann 40b257a36f hash function for QskGraphic added 2021-02-05 13:21:35 +01:00
Uwe Rathmann f0dd624306 parameter name aligned with the QML property 2021-02-03 13:20:23 +01:00
Uwe Rathmann a61b1f4b2f more getter as properties 2021-02-02 10:15:01 +01:00
Uwe Rathmann 8c99bd59db position renamed to tabPosition to avoid shadowing the
QQuickItem::position
2021-02-02 10:13:39 +01:00
Uwe Rathmann f9e7c304c2 beautified 2021-02-01 10:24:40 +01:00
Uwe Rathmann 3aae2ca47d setBoxBorderColors variation added 2021-02-01 10:23:47 +01:00
Uwe Rathmann 6bb65b5aeb missing const added 2021-02-01 10:23:24 +01:00
Uwe Rathmann 956e830691 boundingLabelSize introduced 2021-02-01 10:22:54 +01:00
Uwe Rathmann 38d0397c5e more properties 2021-02-01 10:09:37 +01:00
Uwe Rathmann 41549a4392 header reorganized 2021-01-25 11:04:25 +01:00
Uwe Rathmann 0ef91c060f missing StrutSize primitive added 2021-01-21 07:30:32 +01:00
Uwe Rathmann 786e6c2446 code simplified 2021-01-20 16:44:09 +01:00
Uwe Rathmann a213d50170 missing const specifier added 2021-01-20 16:39:15 +01:00
Uwe Rathmann df10f402ed Merge branch 'master' of https://github.com/uwerat/qskinny 2021-01-20 16:33:45 +01:00
Uwe Rathmann 86e9ea98ab meta type registration added 2021-01-14 07:07:13 +01:00
Uwe Rathmann ed4066369a better handling of finding the current item after removeing an item 2021-01-13 17:50:16 +01:00
Uwe Rathmann aa43b0bece useless forward declarations removed 2021-01-12 18:43:57 +01:00
Uwe Rathmann f71bd4e359 pointless nullptr checks removed 2021-01-12 16:25:33 +01:00
Uwe Rathmann e7d03e2ddd graphicRole property added 2021-01-07 13:49:57 +01:00
Uwe Rathmann f037297620 convenience sett for gradients 2021-01-07 13:48:56 +01:00
Uwe Rathmann 45f09f7a2c beautified 2021-01-07 13:42:42 +01:00
Uwe Rathmann 60b3604e04 resetOverlay added 2020-12-29 12:58:57 +01:00
Uwe Rathmann 79cceb1b09 subControlContentsRect added 2020-12-29 12:57:03 +01:00
Uwe Rathmann c419b26850 sizeHint calculations moved to skinlet 2020-12-29 10:11:31 +01:00
Uwe Rathmann afd3a3ded8 using auto 2020-12-29 09:47:03 +01:00
Uwe Rathmann 1b832e122c hovered signal removed 2020-12-29 09:46:48 +01:00
Uwe Rathmann 0eadfa8fa2 sizeHint calculations moved to the skinlet 2020-12-29 09:45:00 +01:00
Uwe Rathmann 98343dec60 auto-updating the control, when setting a skinHint 2020-12-27 16:31:07 +01:00
Uwe Rathmann 92b1ed669b fontRole/graphicRole renamed to fontRoleHint/graphicRoleHint 2020-12-27 16:19:01 +01:00
Uwe Rathmann 556cde3f88 hasChildItems added 2020-12-27 16:08:18 +01:00
Uwe Rathmann 9bf5936732 SizeMode primitive removed 2020-12-27 16:07:22 +01:00
Uwe Rathmann 3901c02368 QskSkinHintTable::setHint indicating changes as return value 2020-12-27 12:06:12 +01:00
Uwe Rathmann c8be7224cf missing update call added 2020-12-27 11:18:02 +01:00
Uwe Rathmann 0c3a8ebece signals with parameters 2020-12-27 11:17:43 +01:00
Uwe Rathmann bb3ffc454f QskMargins improved 2020-12-27 11:15:34 +01:00
Uwe Rathmann c48fcbffd3 bad return statement removed 2020-12-27 11:10:51 +01:00
Uwe Rathmann f3dd88c11c overlapping states fixed ( where possible ) 2020-12-26 14:34:26 +01:00
Uwe Rathmann 1a3058fad8 code moved to QskSkinHintTable 2020-12-26 13:00:09 +01:00
Uwe Rathmann 5ecec7892e QskSkinHintTableEditor introduced 2020-12-26 12:57:08 +01:00
Uwe Rathmann 9f2cb6920d includes added 2020-12-23 09:49:20 +01:00
Uwe Rathmann c87dae7e9d using QskAspect::setState 2020-12-23 09:48:55 +01:00
Uwe Rathmann 2091e6dcaf using gradientHint 2020-12-23 09:48:23 +01:00
Uwe Rathmann e176f474a8 QskSkin::skinlet using the metaObject 2020-12-23 09:41:29 +01:00
Uwe Rathmann 73b5934839 setAnimation being aware of subControl substitution 2020-12-23 09:38:10 +01:00
Uwe Rathmann 0a98b5c1c0 QskInterval removed from the skinHint helper methods 2020-12-23 09:34:11 +01:00
Uwe Rathmann 726aca98df QskAspect::hasState added 2020-12-23 09:28:17 +01:00
Uwe Rathmann 95d8d2a6da making QskAspect a class 2020-12-21 16:06:58 +01:00
Uwe Rathmann 0df922cba8 making startTransition aware of sunControl redirection 2020-12-21 15:27:05 +01:00
Uwe Rathmann 812f108e21 effectiveHint -> effectiveSkinHint 2020-12-21 10:24:59 +01:00
Uwe Rathmann bdc068c4d6 ubcontro, substitution moved to setSkinHint/resetHint 2020-12-21 09:57:57 +01:00
Uwe Rathmann 63929da406 minor optimizations 2020-12-20 16:10:24 +01:00
Uwe Rathmann 549031fe78 setState added 2020-12-20 16:05:05 +01:00
Uwe Rathmann 34b94f1181 exported again 2020-12-20 16:04:19 +01:00
Uwe Rathmann c599dd808d wrong aspect fixed 2020-12-20 12:24:13 +01:00
Uwe Rathmann a90648902e auto/const added 2020-12-18 18:26:32 +01:00
Uwe Rathmann 23bbab7820 unused enum removed 2020-12-18 13:44:02 +01:00
Uwe Rathmann 8426e71156 handling of primitives optimized 2020-12-18 13:09:22 +01:00
Uwe Rathmann 38f48a7cb0 do not export QskSkinnable 2020-12-18 13:09:01 +01:00
Uwe Rathmann 247112ae5c LastPrimitive fixed 2020-12-18 08:50:23 +01:00
Uwe Rathmann 4d40a9bd12 using QskMargins 2020-12-17 16:44:54 +01:00
Uwe Rathmann a49ef1daa4 using strutSize 2020-12-17 16:14:56 +01:00
Uwe Rathmann 6bb7486578 width/height/extent added 2020-12-17 16:13:44 +01:00
Uwe Rathmann 7ef63f0a2d anoher variation of sunControlRect added 2020-12-17 16:13:02 +01:00
Uwe Rathmann b1d70b49d4 some convenience methods added 2020-12-17 16:12:18 +01:00
Uwe Rathmann 846cada62d using removed 2020-12-17 09:04:06 +01:00
Uwe Rathmann 03d71b56f0 using extent property 2020-12-17 09:03:52 +01:00
Uwe Rathmann 6f8d2998bb using the extent property 2020-12-17 08:53:44 +01:00
Uwe Rathmann 6087f53088 resetStrutSizeHint added 2020-12-17 08:53:00 +01:00
Uwe Rathmann 72dfde05a1 extent property fixed 2020-12-17 08:52:30 +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 e64111bc35 QskShortcutMap::setEnabled added 2020-12-15 17:02:20 +01:00
Uwe Rathmann 3004b8b74f thickness -> extent 2020-12-15 11:01:23 +01:00
Uwe Rathmann 1527f46d51 convenience methods for resetHint 2020-12-15 11:01:00 +01:00
Uwe Rathmann 06fe52de32 wip 2020-12-15 08:37:06 +01:00
Uwe Rathmann 38b832d463 noexcept keywords added 2020-12-15 07:56:42 +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 3ec404385c resetThickness added 2020-12-11 15:17:09 +01:00
Uwe Rathmann 05cb42a7ea include guards harmonized 2020-12-11 15:16:50 +01:00
Uwe Rathmann 95391139f9 setAutoLayout defaults to true 2020-12-10 09:46:50 +01:00
Uwe Rathmann c98a2a7032 QEvent::clone finished 2020-12-09 15:58:27 +01:00
Uwe Rathmann de419971c8 QskEvent::clone support overrides 2020-12-09 14:56:10 +01:00
Uwe Rathmann 9f189119da Qt 6.0 incompatibilities fixed 2020-12-09 12:44:08 +01:00
Uwe Rathmann 8365da891b Qt 6.0 incompatibiities fixed 2020-12-09 12:42:00 +01:00
Uwe Rathmann fbf2a33a9a uncrustified 2020-12-05 15:09:31 +01:00
Uwe Rathmann 6281c43dda trailling , removed 2020-11-26 06:56:38 +01:00
Uwe Rathmann 4803701a56 QskScaleRenderer added ( work in progress ) 2020-11-22 15:28:56 +01:00
Uwe Rathmann 8fb18ab145 codemoved to QskSGNode 2020-11-22 15:27:58 +01:00
Uwe Rathmann e8351e4496 adjustments for Qt 6.0.0 beta5 2020-11-21 20:36:47 +01:00
Uwe Rathmann 6be542394a overflows when clipping fixed 2020-11-19 16:23:43 +01:00
Uwe Rathmann 4e983f4b07 child ordering changed 2020-11-19 16:23:19 +01:00
Uwe Rathmann fd94985ae3 beautified 2020-11-19 11:48:25 +01:00
Uwe Rathmann 4fd41e7be2 some classes for scales/axes 2020-11-13 15:34:02 +01:00
Uwe Rathmann 80611901ac indentations 2020-11-13 15:24:20 +01:00
Uwe Rathmann d334ed84c5 API cleanup 2020-11-11 11:50:41 +01:00
Uwe Rathmann da1f385682 using elementCount instead of count 2020-11-11 10:31:39 +01:00
Uwe Rathmann b53eaaaa95 Merge branch 'master' of https://github.com/uwerat/qskinny 2020-11-11 08:50:40 +01:00
Uwe Rathmann ec0d3dc49a deprecated calls removed 2020-11-11 08:50:01 +01:00
Uwe Rathmann acab3f7cdd using QskEvent methods 2020-11-09 14:18:20 +01:00
Uwe Rathmann 650204292c QskShortcutMap::invoke added 2020-11-09 14:17:54 +01:00
Uwe Rathmann 774a34a6b8 finally the code seems to work with Qt 6.0.0 Beta 2 2020-11-01 16:57:59 +01:00
Uwe Rathmann 75cdda5f6a working towards Qt6 2020-11-01 15:44:15 +01:00
Uwe Rathmann 5e195a9743 includes fixed 2020-11-01 12:09:52 +01:00
Uwe Rathmann 271b595609 code moved to QskTextureRenderer 2020-11-01 10:43:16 +01:00
Uwe Rathmann d64f861e33 code cleanup 2020-11-01 10:16:28 +01:00
Uwe Rathmann c9e959e73f makeing code more readable 2020-11-01 09:28:20 +01:00
Uwe Rathmann a5327a68b8 using c++11 auto 2020-11-01 09:26:19 +01:00
Uwe Rathmann 9426e69e3e Qt6 incomptibilities 2020-11-01 08:48:50 +01:00
Uwe Rathmann c7383a5e31 disabled lines for DebugContext added 2020-11-01 08:48:19 +01:00
Uwe Rathmann b004e6d8d5 code improved 2020-10-31 08:06:41 +01:00
Uwe Rathmann e86ce49fb4 converters added 2020-10-30 07:29:43 +01:00
Uwe Rathmann 9a3e8d0d2d using QskMargins instead of QMargins in Q_PROPRTY definitions to get Qt6
working
2020-10-28 19:35:51 +01:00
Uwe Rathmann aed9412aee Q_GADGET added 2020-10-28 12:33:51 +01:00
Uwe Rathmann 1eada5fbe0 Qt6 incompatibilities fixed 2020-10-28 12:33:26 +01:00
Uwe Rathmann a81c0e4708 version check fixed 2020-10-28 08:28:13 +01:00
Uwe Rathmann 4c6e0ae32d Qt5 incompatibilities 2020-10-26 18:50:48 +01:00
Uwe Rathmann 4d7d9735dc prepairing Qt6 usage 2020-10-26 18:06:06 +01:00
Uwe Rathmann 93dc6f76f7 Qt6 incompatibilities fixed 2020-10-26 17:59:19 +01:00
Uwe Rathmann 8e410a9e4b Qt6 incompatibilities fixed 2020-10-26 17:52:08 +01:00
Uwe Rathmann 07cdcc56df code improved 2020-10-26 14:13:57 +01:00
Uwe Rathmann 5757d49ba9 avoid Qt5/6 incompatibilities 2020-10-25 18:04:55 +01:00
Uwe Rathmann 963ccb1da8 avoid Qt 5/6 incompatibilities 2020-10-25 17:53:22 +01:00
Uwe Rathmann 571f532307 moving ClipItem to namespace 2020-10-25 17:40:29 +01:00
Uwe Rathmann 1228518e6a avoid Qt5/6 incompatbilities 2020-10-25 17:35:50 +01:00
Uwe Rathmann 35c786c012 Qt 6 incompatibilities fixed 2020-10-25 16:09:49 +01:00
Uwe Rathmann a101080231 Qt6 incompatibilities fixed 2020-10-25 15:56:22 +01:00
Uwe Rathmann 0c37453d5f workaround for Qt 5/6 QMouseEvent incompatabilities 2020-10-25 15:55:02 +01:00
Uwe Rathmann bf4fbaa905 no QVector forward declaration - can't be done with Qt6, but as we have
all what we need from qglobal.h ...
2020-10-25 14:57:41 +01:00
Uwe Rathmann c4b32c0d50 Qt6 incompatibility 2020-10-23 14:08:27 +02:00
Uwe Rathmann 21bd75ae5b Qt6 incompatibility fixed 2020-10-23 14:00:27 +02:00
Uwe Rathmann 205de91dae Qt6 incompatibility fixed 2020-10-23 13:54:27 +02:00
Uwe Rathmann 484c0ceec5 no QStringList forward declarations possible with Qt6 - so we have to
rely on Qt headers we have included before. Not good ...
2020-10-23 13:45:09 +02:00
Uwe Rathmann 77c00fb727 no QVector forward declarations with Qt6 2020-10-23 13:44:29 +02:00
Uwe Rathmann 27c4704f68 no QVector forward declarations possible with Qt6 2020-10-23 13:43:28 +02:00
Uwe Rathmann 4fefe62ad0 Qt6 changes for QList/QVector disaallow forward declarations, but as
with every qobject.h we have qlist.h anyway
2020-10-23 13:41:18 +02:00
Uwe Rathmann 5d9d307d6f Qt6 compatibility fixes 2020-10-23 13:38:00 +02:00
Uwe Rathmann 862ab8cc16 Qt6 incompatibilities fixed 2020-10-23 13:20:51 +02:00
Uwe Rathmann b351e078f5 Qt6 incompatibility fixed 2020-10-23 12:49:42 +02:00
Uwe Rathmann 2d8e3ec7a8 avoid deprecated APIs 2020-10-23 12:49:10 +02:00
Uwe Rathmann 60c8ec4746 avoid dprecated APIs 2020-10-23 12:48:34 +02:00