Commit Graph

2040 Commits

Author SHA1 Message Date
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 0d43fbcc27 qskPlatformIntegration/qskMaybeDesktopPlatform added 2021-12-26 12:12:18 +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
Uwe Rathmann 47f7737985 QskListView::Selected state introduced 2021-12-22 15:08:27 +01:00
Uwe Rathmann 28024d80d9 minor improvements 2021-12-22 15:07:51 +01:00
Uwe Rathmann 3842ca36a3 QskGraphic::aspectRatio added 2021-12-22 15:07:03 +01:00
Uwe Rathmann 0b5b622d1a minor improvements 2021-12-22 10:55:48 +01:00
Uwe Rathmann 8f76cf4c62 dead code removed 2021-12-15 08:47:16 +01:00
Uwe Rathmann c3dc970a94 QskLayoutHint renamed to QskLayoutMetrics 2021-12-15 08:45:29 +01:00
Uwe Rathmann b76d96bb2e forgotten debug code removed 2021-12-13 16:53:18 +01:00
Uwe Rathmann 738de14d4c hiding the devicePixelRato scaling in the nodes 2021-12-13 16:43:34 +01:00
Uwe Rathmann e4ffc3f074 manually aligning textures to avoid rounding issues 2021-12-10 13:39:41 +01:00
Uwe Rathmann 8ecff64b4a missing interpolators added 2021-12-09 17:38:37 +01:00
Uwe Rathmann 2b9eef700c hiding internal class in an anonymous namespace 2021-12-09 17:32:22 +01:00
Uwe Rathmann b0cbb4f9e4 missing paint device metrics added 2021-12-09 17:22:52 +01:00
Uwe Rathmann be16e74336 wip 2021-12-08 08:26:55 +01:00
Uwe Rathmann 9f6e2733ca code moved to internal methods to make things more readable 2021-12-06 12:40:32 +01:00
Uwe Rathmann 1a5a94838e more versatile APIs 2021-12-02 18:40:54 +01:00
Uwe Rathmann c93958a24d respect the device pixel ratio 2021-12-02 17:33:53 +01:00
Uwe Rathmann b5bc26eb63 using degrees for arcs ( not multiplied by 16, what QPainter wants ) 2021-12-02 17:15:41 +01:00
Uwe Rathmann ef38b069e6 layout issue fixed, update of the clipNode fixed 2021-11-26 14:12:42 +01:00
Uwe Rathmann ed77fc54e1 using c++11 2021-11-23 07:58:12 +01:00
Peter Hartmann 0657f1120c
aspects: Fix off-by-one error when printing subcontrols (#151) 2021-11-22 15:50:18 +01:00
Uwe Rathmann 9b0dd47cae disconnect from visibleChanged when being destructed 2021-11-02 07:47:01 +01:00
Uwe Rathmann 0d9dbf4c58 QML export as QskGadientStops does nor work - we need to stay with
QVector
2021-10-27 15:08:06 +02:00
Uwe Rathmann 4c26392d72 wrong include 2021-10-27 15:07:17 +02:00
Uwe Rathmann 4938156ada 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 ff8a5fbe31 button centering fixed 2021-10-27 13:02:34 +02:00
Uwe Rathmann 6194f947b8 fromPixmapAsImage added 2021-10-26 11:33:26 +02:00
Peter Hartmann bf1c45352c
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 a1b67ee7fb setColor/setColors fixed 2021-10-25 08:32:46 +02:00
Uwe Rathmann 4744d85725 more constructors to avoid losing alpha values 2021-10-25 08:31:32 +02:00
Uwe Rathmann 14040bf652 workaround for monochrome gradients with additional stops 2021-10-25 08:29:12 +02:00
Uwe Rathmann 2bfc8ee9f9 toAbsolute using width or height 2021-10-20 12:42:48 +02:00
Uwe Rathmann 56e94d01cf beautified 2021-10-20 12:42:26 +02:00
Uwe Rathmann 73dbfeb708 QskArcMetrics adjustments 2021-10-20 09:27:05 +02:00
Peter Hartmann b89621a3d4
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 15102be421 code duplication removed 2021-10-19 06:44:17 +02:00
Uwe Rathmann 2ef09e3f02 checking against divison by 0 2021-10-14 17:08:54 +02:00
Uwe Rathmann 896cf240f3 defensive checks added 2021-10-12 17:57:07 +02:00
Uwe Rathmann fef2464120 singletons should be destroyd at program termination 2021-10-12 10:36:45 +02:00
Uwe Rathmann 5791341996 memory leak detection simplified 2021-10-08 07:47:00 +02:00
Uwe Rathmann 766105b201 leak statistics fixed 2021-10-07 18:37:46 +02:00
Uwe Rathmann d75ed9d6de object info added 2021-10-07 17:47:15 +02:00
Uwe Rathmann 22e75daf6a hiding code in QskObjectCounter.cpp 2021-10-07 13:49:13 +02:00
Uwe Rathmann 18dfd907fe QskScrollArea::layoutSizeHint added 2021-10-01 13:42:56 +02:00
Uwe Rathmann 0f0368d3b1 QskSkinTransition fixed 2021-09-21 16:06:12 +02:00
Uwe Rathmann 372751a13d Qt 6.2 workarounds 2021-09-21 10:28:13 +02:00
Uwe Rathmann f9ca36443e Qt 6.2 adjustments 2021-09-21 08:51:01 +02:00
Uwe Rathmann 899256ce86 making QskBoxBorderMetrics a Q_GADGET 2021-09-18 15:01:04 +02:00
Uwe Rathmann b2bf7c30e0 making QskShadowMetrics a Q_GADGET 2021-09-18 14:54:25 +02:00
Uwe Rathmann 2438b0f7ee playing with shadows 2021-09-18 14:48:25 +02:00
Uwe Rathmann 1e9080ee82 typo fixed 2021-09-18 14:06:31 +02:00
Uwe Rathmann 07aac221bb QskSkinnable::setSkinStates cleanup 2021-09-17 16:32:01 +02:00
Uwe Rathmann b1d80e37f1 using clearState instead of clearStates 2021-09-17 14:49:42 +02:00
Uwe Rathmann 1c3c04a745 using QskGradientStops 2021-09-17 13:47:43 +02:00
Uwe Rathmann 341d60e39b QskGradientStops introduced 2021-09-17 13:35:11 +02:00
Uwe Rathmann 2219a6fe8e code moved to QskGradientStop.[h|cpp] 2021-09-16 10:01:53 +02:00
Uwe Rathmann 71da4dcdff QskCorner removed - using QskBoxShapeMetrics instead 2021-09-15 17:54:44 +02:00
Uwe Rathmann b188491568 pointless forward declaraton removed 2021-09-15 14:06:12 +02:00
Uwe Rathmann 06b0fe56bc missing noexcept keywords added 2021-09-15 13:46:02 +02:00
Uwe Rathmann 295a964cd5 missing noexcept keywords added 2021-09-15 13:45:26 +02:00
Uwe Rathmann 11451576e3 pointless initialization removed 2021-09-14 13:27:22 +02:00
Uwe Rathmann 4a63f2cf68 using QDataStream::Qt_5_6 2021-09-14 13:25:11 +02: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 e1a4e1fec3 each window might have its own skin 2021-09-09 07:53:35 +02:00
Uwe Rathmann 2fceca2385 missing parameter fixed 2021-09-04 17:11:59 +02:00
Uwe Rathmann 99822fc7aa QskSkinHintTableEditor API simplified 2021-09-04 16:48:02 +02:00
Uwe Rathmann f51f3b65ab QskSkinHintTableEditor extended 2021-09-03 06:51:50 +02:00
Uwe Rathmann e0d2fdf8bc Metric/Color fixed 2021-09-02 17:06:16 +02:00
Uwe Rathmann bd30a5bbd5 state explicitely casted to quint16 2021-09-02 13:12:29 +02:00
Uwe Rathmann decbce4bdd mehods renamed to setXYZForAllStateCombinations 2021-09-02 08:11:53 +02:00
Uwe Rathmann eea001f831 methods for setting hints for state combinations added 2021-08-31 17:59:00 +02:00
Uwe Rathmann 9ebb5ae0a2 QskSkinnable::hasSkinState added 2021-08-30 15:30:41 +02:00
Uwe Rathmann 95731d9432 memory leak fixed 2021-08-30 12:39:16 +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 26710da0b3 QskGraphicLabel::panel property added 2021-08-26 15:17:41 +02:00
Uwe Rathmann 89ceca4fb4 missing const qualifier added 2021-08-06 14:22:50 +02:00
Uwe Rathmann b626019345 older gcc verion need override final 2021-08-06 09:52:12 +02:00
Uwe Rathmann 728e92dad2 don't call effectiveSubcontrol from substitutedSubcontrol 2021-08-05 15:31:00 +02:00
Uwe Rathmann 08fc3b95a6 substitutedSubcontrol is protected 2021-08-05 15:30:27 +02:00
Uwe Rathmann 26387aeefc yet another QskControl::setMargins overload 2021-08-05 11:06:14 +02:00
Uwe Rathmann 56211d9816 more geometry convenence setter 2021-08-04 18:48:26 +02:00
Uwe Rathmann 3606f61c65 QskSkinnable::subcontrolProxy added 2021-08-04 15:06:44 +02:00
Uwe Rathmann d947920abe 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 0bfb08b20b overlapping status bits fixed 2021-08-04 11:48:14 +02:00
Uwe Rathmann 82bb10b7a8 forgotten signal removed 2021-08-04 11:32:33 +02:00
Uwe Rathmann 923affe749 uncrustified 2021-08-04 09:31:16 +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 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
Uwe Rathmann 19b5918f43 Merge branch 'master' of https://github.com/uwerat/qskinny 2020-10-20 17:48:02 +02:00
Uwe Rathmann bb0cb27e69 version ifdefing simplified 2020-10-20 17:47:19 +02:00
Uwe Rathmann a5cf44a869 missing include added 2020-10-20 17:46:22 +02:00
Uwe Rathmann 7ac3375d30 unused member removed 2020-10-20 17:45:31 +02:00
Uwe Rathmann 9b9fb04adb shadowRect added 2020-10-20 17:45:07 +02:00
Uwe Rathmann 6e1eb9801a setReadOnly fixed 2020-10-20 12:03:05 +02:00
Uwe Rathmann d0b833a38d missing inline keywords added 2020-10-09 08:37:23 +02:00
Uwe Rathmann e5f770d753 QskShadowMetrics added 2020-10-09 08:21:30 +02:00
Uwe Rathmann 1b8bbdc261 hash function simplified 2020-10-09 08:21:06 +02:00
Uwe Rathmann 21d90e5fa0 pointless "bit saving" removed 2020-10-09 08:20:36 +02:00
Uwe Rathmann 7b59793054 debug operator added 2020-09-28 09:04:25 +02:00
Uwe Rathmann b78a77f4ff constructor for QMarginsF added 2020-09-28 09:03:35 +02:00
Uwe Rathmann 42d48c4649 debug operator fixed 2020-09-28 09:03:11 +02:00
Uwe Rathmann b3d8598965 handlePosition property added 2020-09-23 12:43:46 +02:00
Uwe Rathmann 4ebd07390f QskSlider::tracking fixed 2020-09-23 12:32:08 +02:00
Uwe Rathmann 31244327f2 mutex added when accessing the cache 2020-09-22 12:33:31 +02:00
Uwe Rathmann 65a73f949e comment fixed 2020-09-21 15:20:00 +02:00
Uwe Rathmann db9916d4b9 wheel increment by stepsize 2020-09-21 15:03:12 +02:00
Uwe Rathmann 44cdbbeba1 avoid conflict with QskBoundedInput::ReadOnly 2020-09-21 12:53:25 +02:00
Uwe Rathmann 9d01f938f5 using effectiveSubcontrol when setting the position of the handle 2020-09-21 11:31:37 +02:00
Uwe Rathmann fef6e1cef1 using width/height 2020-09-04 07:39:52 +02:00
Uwe Rathmann b4e735acce for autoLayoutChildren we also need to polish on LayoutRequest events 2020-09-04 07:37:16 +02:00
Uwe Rathmann 664b141ee4 contains/fuzzyContains for intervals added 2020-08-26 13:30:41 +02:00
Uwe Rathmann 18dd693892 using more auto 2020-08-15 14:42:28 +02:00
Uwe Rathmann 5bd66a27a8 QskRgbValue -> QskRgb 2020-08-15 13:29:17 +02:00
Uwe Rathmann 3519e92e91 lighter/darker added 2020-08-15 13:05:25 +02:00
Uwe Rathmann 5b6f070d7d rgb colors alphabetically ordered 2020-08-15 12:49:09 +02:00
Uwe Rathmann 65872352e0 conversion from Qt::GlobalColor added 2020-08-15 12:19:44 +02:00
Uwe Rathmann d1652bda82 extending the clip rectangle by the padding of the tabbar 2020-08-11 13:08:02 +02:00
Uwe Rathmann 9ab254ae5b typo fixed 2020-08-11 13:07:26 +02:00
Uwe Rathmann f2c1eff7ac effectivePlacement added 2020-08-10 14:24:42 +02:00
Uwe Rathmann e5cb155350 beautified 2020-08-09 11:50:34 +02:00
Uwe Rathmann 50923fcf8c QskIntervalF::interpolate added 2020-08-09 11:06:48 +02:00
Uwe Rathmann 48a5e387d4 indeterminated progress bars 2020-08-09 10:49:32 +02:00
Uwe Rathmann 606a3e2ce2 support for QskIntervalF added 2020-08-09 10:45:48 +02:00
Uwe Rathmann c4006f655b autoRepeat added 2020-08-09 10:43:52 +02:00
Uwe Rathmann 45f9e7c7f6 using auto 2020-08-07 12:14:47 +02:00
Uwe Rathmann 27a95ee60f QskProgressBar improved 2020-08-06 09:28:18 +02:00
Uwe Rathmann c9717a9d33 render bug for ellipsoid monochrome boxes fixed 2020-08-05 14:02:03 +02:00
Uwe Rathmann d276dcb7ae debuf functions improved 2020-08-05 14:01:40 +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 c66d2044a9 more variations for generating color stops 2020-07-31 16:56:33 +02:00
Uwe Rathmann 0df61d647d QskGradient::extracted fixed 2020-07-31 16:55:54 +02:00
Uwe Rathmann 9c55e03859 QskRgbPalette::colorStops added 2020-07-31 13:26:22 +02:00
Uwe Rathmann 39f4d80153 QskRgbPalette added 2020-07-31 12:43:08 +02:00
Uwe Rathmann 6871b7a0b8 features added 2020-07-31 12:42:36 +02:00
Uwe Rathmann 2186765763 QskBoundedControl added 2020-07-31 07:41:25 +02:00
Uwe Rathmann 1e6f1c810b more variations of updateBoxNode 2020-07-31 07:40:33 +02:00
Uwe Rathmann 97b1c7167d fuzzyContains added 2020-07-31 07:40:04 +02:00
Uwe Rathmann 8a8bfc4124 assertion added for skinlets without invokable constructor 2020-07-31 07:39:14 +02:00
Uwe Rathmann 151a62cdb7 default implementation for alignInput 2020-07-29 07:25:35 +02:00
Uwe Rathmann c35b81b106 making updateNode virtual 2020-07-29 07:22:04 +02:00
Uwe Rathmann d39501c1b9 TabChain -> FocusChain 2020-07-27 18:03:02 +02:00
Uwe Rathmann 14e844eb84 making setSkinStata public 2020-07-27 07:26:38 +02:00
Uwe Rathmann 79ac52110d lower/upper adjustements changed 2020-07-25 19:08:05 +02:00
Uwe Rathmann 0e2172db30 clipping fixed 2020-07-25 18:54:44 +02:00
Uwe Rathmann 89cedda359 shifting the focus when removing the active focus item from the focus
tab chain
2020-07-25 18:53:43 +02:00
Uwe Rathmann 9bd3e608ba QskBoundedRangeInput added 2020-07-25 18:46:04 +02:00
Uwe Rathmann fefbbe1ffe QskBoundedInput added 2020-07-25 14:19:14 +02:00
Uwe Rathmann bf4d401fd2 QskBoundedValueControl -> QskBoundedValueInput 2020-07-25 13:05:19 +02:00
Uwe Rathmann 2aadafc34c QskRangeControl -> QskBoundedValueControl 2020-07-25 12:50:26 +02:00
Uwe Rathmann 22230365b7 Merge branch 'master' of https://github.com/uwerat/qskinny 2020-07-25 09:56:30 +02:00
Uwe Rathmann a31659dc58 obsolete decleration removed 2020-07-25 09:55:53 +02:00
Uwe Rathmann 2f69ca4388 QskSkinlet::removeTraillingNodes added 2020-07-23 09:29:45 +02:00
Uwe Rathmann d8aee0e2a0 QskIntervalF::width fixed 2020-07-23 09:29:18 +02:00
Uwe Rathmann 05c4be184f using intervals 2020-07-22 11:49:28 +02:00
Uwe Rathmann e461b46013 font property added 2020-07-15 16:17:50 +02:00
Uwe Rathmann 6cbc72b44e focus tab chain fixed 2020-07-15 13:30:24 +02:00
Uwe Rathmann 2bea439c80 limiting the focus indicator to the window 2020-07-15 12:45:20 +02:00
Uwe Rathmann 3b66787977 memory leak fixed 2020-07-03 14:55:57 +02:00
Uwe Rathmann 90bfc14a00 antizipate scrollbars before resizing the content item 2020-07-03 13:51:02 +02:00
Uwe Rathmann 94b2aec272 avoid invalid rects 2020-07-03 13:50:12 +02:00
Uwe Rathmann cf7603da37 focus tab chain fixed 2020-07-03 13:49:27 +02:00
Uwe Rathmann 15777421a2 handling initial empty sizes 2020-06-09 06:56:20 +02:00
Uwe Rathmann d611e9cf57 destructor code reverted 2020-05-24 10:07:35 +02:00
Uwe Rathmann 3919fc4938 since Qt 5.12 topLevel children are removed in ~QQuickWindow and we
don't need to do this in ~QskWindow anymore
2020-05-10 11:16:39 +02:00
Uwe Rathmann ecf49658f7 crash fixed, when updates happen on deconstruction of the window 2020-05-10 11:15:38 +02:00
Uwe Rathmann 4d262d0a83 Merge branch 'master' of https://github.com/uwerat/qskinny 2020-05-09 16:17:56 +02:00
Uwe Rathmann 3f416c21f9 making -fanalyzer happy 2020-05-09 16:17:27 +02:00
Uwe Rathmann 56d5da7f2b better cast 2020-05-04 12:20:20 +02:00
Uwe Rathmann cb43ac7dee more C++11 specifier 2020-05-04 08:59:44 +02:00
Uwe Rathmann 8ab9c4cddb declared but not implemented method removed 2020-05-03 14:50:59 +02:00
Uwe Rathmann 2c9aa6635c more C++11 specifier 2020-05-03 14:24:17 +02:00
Uwe Rathmann 475a5a7dc1 more C++11 specifier 2020-05-03 14:06:56 +02:00
Uwe Rathmann acbfb9a006 more C++11 specifier 2020-05-03 14:02:54 +02:00
Uwe Rathmann 0fa33f6061 more C++11 specifier 2020-05-03 14:01:41 +02:00
Uwe Rathmann 4bc74e02df more C++11 specifier 2020-05-03 14:00:19 +02:00
Uwe Rathmann 5cbeca4921 more C++11 specifier 2020-05-03 13:59:27 +02:00
Uwe Rathmann bbf648b8bd more c++11 specifier 2020-05-03 13:47:10 +02:00
Uwe Rathmann 97be72453b more C++11 specifier 2020-05-03 13:46:23 +02:00
Uwe Rathmann 2dece458e4 more C++11 specifier 2020-05-03 13:40:19 +02:00
Uwe Rathmann 5fe6a9beb0 more C++11 specifier 2020-05-03 13:39:47 +02:00
Uwe Rathmann bc54bfbe97 formal changes for QskLayoutHint 2020-05-02 12:38:44 +02:00
Uwe Rathmann f920eee6c5 QskIntervalF introduced 2020-05-02 11:57:58 +02:00
Uwe Rathmann e108487d4e avoid Qt 5.15 deprecation warnings 2020-04-13 16:11:04 +02:00
Uwe Rathmann d5604823c2 missing include ( Qt 5.15-Beta2 ) added 2020-03-29 11:40:07 +02:00
Uwe Rathmann f4853e7849 fixing focusClipRect updates 2020-03-23 16:10:17 +01:00
Uwe Rathmann a6c9af503c QskSkin::stateMask added to block handling of states not being supported
from the skin
2020-03-19 14:10:50 +01:00
Uwe Rathmann 84a0927c0e beautified 2020-03-19 14:10:20 +01:00
Uwe Rathmann 0b77a24be0 missing status parameter added 2020-03-18 12:49:57 +01:00
Uwe Rathmann 167f7f628c QskGraphicPaintEngine::drawTextItem added 2020-03-17 12:01:05 +01:00
Uwe Rathmann fd919e9065 disable wheel handling 2020-03-16 16:38:02 +01:00
Uwe Rathmann efe053ecd2 clip rectangle updates fixed 2020-03-16 16:37:28 +01:00
Uwe Rathmann 6ea56cdf30 QskControl::focusIndicatorClipRect added 2020-03-16 13:17:51 +01:00
Uwe Rathmann b1c3c11984 obsolete comment removed 2020-03-13 18:11:56 +01:00
Uwe Rathmann 72b1fb48c9 using postEvent instead of sendEvent 2020-03-13 18:11:31 +01:00
Uwe Rathmann e8f155c482 code not compiling with 5.6 disabled 2020-03-13 15:05:01 +01:00
Uwe Rathmann 416759f3c6 QskTabBar::autoFitTabs added 2020-03-13 14:50:09 +01:00
Uwe Rathmann f257ad8f95 code improved 2020-03-13 14:04:28 +01:00
Uwe Rathmann f8e4117beb non-const tabBar getter added 2020-03-13 13:59:17 +01:00
Uwe Rathmann 130d2d1771 QskSizePolicy::transposed added 2020-03-13 13:57:56 +01:00
Uwe Rathmann 062713e8cc avoid using deprecated calls 2020-03-13 13:32:22 +01:00
Uwe Rathmann 53e924a999 flickable tabbars 2020-03-13 07:39:31 +01:00
Uwe Rathmann 3c7308e23f wrong velocity calculation fixed 2020-03-12 19:00:52 +01:00
Uwe Rathmann 7af6d6fd09 QSK_DEBUG_RENDER_TIMING does not work with Qt >= 5.12 2020-03-12 11:26:14 +01:00
Uwe Rathmann 1d4b8763b4 fixed for Qt >= 5.12 2020-03-12 11:17:43 +01:00
Uwe Rathmann c23b3fae18 avoid deprecation warnings 2020-03-12 09:59:46 +01:00
Uwe Rathmann 132095e8db avoid deprecation warnings 2020-03-12 09:59:07 +01:00
Uwe Rathmann 9fe283d24e beautified 2020-03-12 09:58:40 +01:00
Uwe Rathmann bd83f75e5d avoid deprecation warnings 2020-03-12 09:57:38 +01:00
Uwe Rathmann 263eef1e9a avoid deprecation warnings 2020-03-12 09:57:12 +01:00
Uwe Rathmann 89b8321ed7 avoid deprecation warnings 2020-03-12 09:56:38 +01:00
Uwe Rathmann 32b638a2eb qhighdpiscaling_p.h does not compile with disabled deprecations 2020-03-12 09:54:54 +01:00
Uwe Rathmann 7044bced9e accidently reverted fix reenabled 2020-03-11 14:34:50 +01:00
Uwe Rathmann 2981a47fed QskScrollBox added 2020-03-10 16:09:35 +01:00
Uwe Rathmann 911538180e QSK_DEBUG_RENDER_TIMING disabled 2020-03-10 10:42:24 +01:00
Uwe Rathmann 1941fbc847 QskControl::LayoutOutWhenHidden flag added 2020-03-10 10:30:44 +01:00
Uwe Rathmann 4dad15f591 assertion weakened to a warning 2020-03-10 10:28:39 +01:00
Uwe Rathmann 3fd4714bd9 clear + autodelete 2020-03-10 10:27:28 +01:00
Uwe Rathmann f303aeb295 clear + autodelete 2020-03-10 10:26:37 +01:00
Uwe Rathmann af224d3605 clear + autodelete 2020-03-10 10:26:10 +01:00
Uwe Rathmann ab3ec52e78 some defensive checks added 2020-03-10 10:24:02 +01:00
Uwe Rathmann 3f70ff764f string based setScreen method added 2020-03-10 10:21:59 +01:00
Uwe Rathmann d92c20e924 some helper functions, for retrieving information from the platform
abstraction
2020-03-10 10:17:44 +01:00
Uwe Rathmann e75937f711 clearing the focus flag, when removing an item from the window 2020-03-06 10:51:14 +01:00
Uwe Rathmann b4077ebe4d avoid using deprecated calls 2020-03-01 18:27:39 +01:00
Uwe Rathmann fe98439bd6 qskItemSize added for Qt < 5.10 2020-01-17 13:58:15 +01:00
Uwe Rathmann 71a18b43ae code for Qt < 5.8 fixed 2020-01-10 07:22:36 +01:00
Uwe Rathmann 05403599ae minor performance improvements 2020-01-03 11:40:57 +01:00
Uwe Rathmann ea055fc7a7 avoid incompatible Qt::endl calls 2020-01-02 17:49:10 +01:00
Uwe Rathmann fb87fe1251 beautified 2020-01-02 17:48:16 +01:00
Uwe Rathmann efabc6d2ee version compatible handling of QPainter::RenderHints 2020-01-02 12:21:32 +01:00
Uwe Rathmann 441488e41f QskGradientStop::setStop added 2020-01-02 12:20:15 +01:00
Uwe Rathmann fa1cff904c debug operator added, avoid new/delete 2019-12-30 20:06:46 +01:00
Uwe Rathmann 62e4dbf542 using auto 2019-12-30 20:04:22 +01:00
Uwe Rathmann f8c04461a3 optional QskTextLabel::Panel added 2019-12-15 13:57:19 +01:00
Uwe Rathmann 74867144b5 QskWindow::setCustomRenderMode fixed for Qt 5.14 2019-12-14 20:47:15 +01:00
Uwe Rathmann 122181d8a1 Qt 5.14 adjustments 2019-12-14 19:05:40 +01:00
Uwe Rathmann deaffd1f53 Qt 5.14 adjustments 2019-12-14 19:01:38 +01:00
Uwe Rathmann cb5f7df765 reset hint fixed 2019-12-14 16:40:18 +01:00
Uwe Rathmann 4e438df051 QskSkinnable::resetHint changed 2019-12-14 13:34:30 +01:00
Uwe Rathmann 8fccc35156 detection of non-translating transformations fixed 2019-12-05 11:26:48 +01:00
Uwe Rathmann 06959dfc86 not using Q_GADGET to avoid having a moc file, that needs to be included
in the standalone mode of svg2qvg
2019-12-05 10:08:11 +01:00
Uwe Rathmann 3046650f0d QskGraphic::Commandtypes added 2019-12-04 18:33:30 +01:00
Uwe Rathmann 49eb15da83 removeItem fixed 2019-12-03 17:21:56 +01:00
Uwe Rathmann 90c515be42 making some methods private 2019-11-29 17:33:26 +01:00
Uwe Rathmann 86293a65f1 indexOf fixed 2019-11-29 16:15:13 +01:00
Uwe Rathmann e9a8c0bc7f using subControlRect 2019-11-27 17:38:34 +01:00
Uwe Rathmann 3d58c94926 qskItemUpdateRecursive added 2019-11-05 11:47:56 +01:00
Uwe Rathmann 93ddbfa345 block implicitSize updates, when not being necessary 2019-10-29 10:56:26 +01:00
Uwe Rathmann d67d83dd85 using QOpenGLPaintDevice::setPaintFlipped 2019-10-29 07:02:30 +01:00
Uwe Rathmann 93e8009c78 0 filling of the FBO in the OpenGL path 2019-10-28 09:41:12 +01:00
Uwe Rathmann 1f59962360 devicePixelRatio detection moved to QskTextureRenderer 2019-10-27 08:11:47 +01:00
Uwe Rathmann 517f17088a warning disabled 2019-10-27 08:10:25 +01:00
Uwe Rathmann 6dc7fcd6c9 don't recreate textures when the target size for non scalable graphics
has changed
2019-10-16 10:08:05 +02:00
Uwe Rathmann eb4cf2c2ae making readOnly a state 2019-09-27 07:34:25 +02:00
Uwe Rathmann 98f3500ab2 nasty layout bug fixed 2019-09-24 16:49:52 +02:00
Uwe Rathmann c1e153f036 expanding rowCount/columnCount fixed 2019-09-24 16:48:13 +02:00
Uwe Rathmann fdb27d93c3 signature fixed 2019-09-24 16:47:06 +02:00
Uwe Rathmann a8f888ca08 micro optimzation 2019-09-23 16:59:48 +02:00
Uwe Rathmann 9b4cc90063 using siueConstraint 2019-09-23 13:21:55 +02:00
Uwe Rathmann 5b094af452 dump method added 2019-09-23 13:20:56 +02:00
Uwe Rathmann 4224613e15 qskBoundedConstraint fixed 2019-09-20 17:57:02 +02:00
Uwe Rathmann 77c9809574 qskConstrainedItemSize fixed 2019-09-20 10:23:48 +02:00
Uwe Rathmann e49228381e avoid pointless default path 2019-09-20 07:45:50 +02:00
Uwe Rathmann 61e92ce6b0 avoid pointless default path 2019-09-20 07:45:07 +02:00
Uwe Rathmann 1707eefbec code more readable 2019-09-20 07:44:39 +02:00
Uwe Rathmann ceaae8aa60 layoutSizeHint reimplemented 2019-09-20 07:44:03 +02:00
Uwe Rathmann 81817d53da dependency to QskLayoutHint removed 2019-09-20 07:43:16 +02:00
Uwe Rathmann c6553c3310 block resizing of children, when having no width/height 2019-09-20 07:08:08 +02:00
Uwe Rathmann 03c7913f18 check for exceeding extra settings added 2019-09-20 07:06:52 +02:00
Uwe Rathmann ff5e7574d5 padding added 2019-09-20 07:04:17 +02:00
Uwe Rathmann fa26e10c0e calculation of size hints fixed 2019-09-19 09:42:37 +02:00
Uwe Rathmann fdea935991 layoutSizeHint fixed 2019-09-19 09:21:34 +02:00
Uwe Rathmann da7f40ca07 using sizeConstraint instead of sizeHint 2019-09-18 09:12:39 +02:00
Uwe Rathmann 425fb3978f auto layouting code improved 2019-09-18 08:57:08 +02:00
Uwe Rathmann f4887a6e51 checks added 2019-09-18 08:56:16 +02:00
Uwe Rathmann f2b4a5982e handling of the IgnoreFlag added 2019-09-18 08:44:32 +02:00
Uwe Rathmann 171337d399 addColumnSpacer/addRowSpacer added 2019-09-18 08:43:54 +02:00
Uwe Rathmann 86f9415211 checks added 2019-09-18 08:43:09 +02:00
Uwe Rathmann 287631e0d7 layoutSizeHint improved 2019-09-18 08:42:42 +02:00
Uwe Rathmann c71c496235 using updateResources for loading the image 2019-09-18 08:41:53 +02:00
Uwe Rathmann 422c40c397 handling of spacers fixed 2019-09-16 12:39:16 +02:00
Uwe Rathmann 1d04c19999 minor optimization for invisible items with retainSizeWhenHidden flag 2019-09-16 12:38:10 +02:00
Uwe Rathmann 8ee2377c76 spacer for grid layouts: qreal -> QSizeF 2019-09-16 12:36:29 +02:00
Uwe Rathmann 2a122d4e05 int -> qreal 2019-09-16 12:32:37 +02:00
Uwe Rathmann 15ae3901a9 qskSizeConstraint fixed 2019-09-16 12:30:59 +02:00
Uwe Rathmann 5f751ede09 respecting the layout hints when autolayouting children 2019-09-16 12:30:00 +02:00
Uwe Rathmann 5974b4115d spacer -> spacing 2019-09-16 07:32:28 +02:00
Uwe Rathmann 1571b1f59a handling of spacings fixed 2019-09-15 19:48:18 +02:00
Uwe Rathmann 38974f747b qskConstrainedItemSize also respecting the minimum constraint 2019-09-15 19:26:46 +02:00
Uwe Rathmann 82e18ff967 missing polish added 2019-09-15 19:00:51 +02:00
Uwe Rathmann 71d3896efe QskLayoutEngine2D::sizeHint fixed 2019-09-15 14:32:51 +02:00
Uwe Rathmann 84248098ca don't return constraining parameters 2019-09-15 14:31:13 +02:00
Uwe Rathmann 13d2814bc9 return -1 for the constraining direction 2019-09-14 15:41:34 +02:00
Uwe Rathmann 1e733c4e5c invalidation on changes of visisbility added 2019-09-14 15:40:20 +02:00
Uwe Rathmann 4c156706a5 index error fixed 2019-09-14 15:37:32 +02:00
Uwe Rathmann fb5885b3d7 mismatch warnigs added 2019-09-14 15:31:48 +02:00
Uwe Rathmann 65feaac031 convenience methods for inserting and changing the layoutAlignmentHint
in one call
2019-09-14 15:28:49 +02:00
Uwe Rathmann 027db164d0 whitespaces removed 2019-09-14 15:27:41 +02:00
Uwe Rathmann 3975553dd7 convenience method QskControl:.sizeConstraint added 2019-09-14 15:27:04 +02:00
Uwe Rathmann 4840947a5a setting of explicit width/height fixed 2019-09-13 06:57:48 +02:00
Uwe Rathmann 29bb2e8093 compiler warning fixed 2019-09-13 06:55:28 +02:00
Uwe Rathmann 30312b3728 sizeConstraint added 2019-09-13 06:54:55 +02:00
Uwe Rathmann 46e8820cdd beautified 2019-09-13 06:52:47 +02:00
Uwe Rathmann 3f0e398d2b Qt 5.6 incompatibility fixed 2019-09-13 06:46:16 +02:00
Uwe Rathmann eb6dd49be2 hide m_columnCount 2019-09-12 10:44:41 +02:00
Uwe Rathmann 4d0a80ce6d stop animators, when the window becomes invisible 2019-09-12 10:44:06 +02:00
Uwe Rathmann 2bd067f4ea ignore the minimum in qskConstrainedItemSize 2019-09-11 06:52:23 +02:00
Uwe Rathmann 7311b5be56 don't use bounding maximum size of the children as maximum size 2019-09-11 06:51:40 +02:00
Uwe Rathmann 177bb699bc processing of all type of size constraints ( minimum/preferred/maximum )
completed
2019-09-10 17:01:47 +02:00
Uwe Rathmann 9e87cb7b23 dh 2019-09-09 08:49:26 +02:00
Uwe Rathmann 11fdeaf3c1 making clang happy 2019-09-09 08:43:06 +02:00
Uwe Rathmann 9d79b2edf9 isVisibleToLayout added 2019-09-06 19:57:25 +02:00
Uwe Rathmann 3c84c13691 isVisibleToLayout added 2019-09-06 19:56:41 +02:00
Uwe Rathmann e8c46bf0b9 QskQuickItem::isVisibleToParent added 2019-09-06 19:56:03 +02:00
Uwe Rathmann ff27fff0a0 margin/padding confusion fixed 2019-09-06 12:07:18 +02:00
Uwe Rathmann 2500111ee5 making contentsSizeHint protected 2019-09-05 15:16:33 +02:00
Uwe Rathmann b1a2236a90 making contentsSizeHint protected 2019-09-05 13:09:04 +02:00
Uwe Rathmann 153a682fd5 missing namespace qualifier added 2019-09-05 12:37:27 +02:00
Uwe Rathmann 27bb868f9d using QskControl::LayoutHints 2019-09-05 12:08:31 +02:00
Uwe Rathmann 72aee9970c using QskControl::alignmentHint instead of QskStackBox:.setAlignmentOf 2019-09-05 11:45:25 +02:00
Uwe Rathmann 6a588dc95a moving alignment/retainSizeWhenHidden from layouts to QskControl 2019-09-05 10:46:42 +02:00
Uwe Rathmann ab5dc1924e wrong qulifier removed 2019-09-05 07:05:28 +02:00
Uwe Rathmann f4ce23a422 QskLayoutConstraint::itemRect -> QskLayoutConstraint::boundedRect 2019-09-04 12:51:58 +02:00
Uwe Rathmann a52c8d2e7b obsolete code removed from QskLayoutConstraint 2019-09-04 12:11:07 +02:00
Uwe Rathmann 74c349e6c6 blocking of LayoutRequest events to QskControlPrivate 2019-09-04 08:08:13 +02:00
Uwe Rathmann b80b9b709c splitting QskControl.cpp 2019-09-04 06:59:43 +02:00
Uwe Rathmann fcd455a545 pointless Q_INVOKABLE removed 2019-09-03 08:42:23 +02:00
Uwe Rathmann dbae418b1d code moved to QskLayoutConstraint 2019-09-01 15:33:36 +02:00
Uwe Rathmann 83efc6afe7 local type definition removed 2019-09-01 13:12:41 +02:00
Uwe Rathmann a93c263c87 using QskLayoutConstraint 2019-09-01 13:01:01 +02:00
Uwe Rathmann 4e2e2ce30e Disabled state always by using events 2019-09-01 11:45:34 +02:00
Uwe Rathmann bebdd80c9e fallback for pointless constraints added 2019-08-23 09:09:52 +02:00
Uwe Rathmann fe2dc81d07 setting a default constraint value 2019-08-09 10:16:14 +02:00
Uwe Rathmann fb3c3427bd QSizeF() alread initializes -1, -1 2019-08-09 10:15:03 +02:00
Uwe Rathmann 7075879244 handling of multicells improved 2019-07-29 17:34:24 +02:00
Uwe Rathmann 66041bca22 grid layout code improved 2019-07-28 17:06:50 +02:00
Uwe Rathmann 0c7774ba11 typo fixed 2019-07-27 12:51:26 +02:00
Uwe Rathmann f5ee8a3853 QGridLayoutEngine replaced by QskGridLayoutEngine also for QskGridBox 2019-07-27 12:36:52 +02:00
Uwe Rathmann 50d85a524e QskLayoutConstraint::effectiveConstraint hidden 2019-07-25 18:38:54 +02:00
Uwe Rathmann ff0118fe23 effectiveSizeHint improved 2019-07-25 18:38:09 +02:00
Uwe Rathmann c37a99e059 no animtors for invisible windows 2019-07-19 12:18:16 +02:00
Uwe Rathmann 401adac3ba QskLinearBox::count, src/layouts/QskGridBox::count 2019-07-17 17:54:16 +02:00
Uwe Rathmann fae80c3107 effectiveSizeHint added 2019-07-17 17:52:15 +02:00
Uwe Rathmann 353cabe4ac using effectiveCount instead of count 2019-07-13 11:01:48 +02:00
Uwe Rathmann 761c05d316 license note added 2019-07-13 11:01:27 +02:00
Uwe Rathmann 7788cdf1c9 QskLinearLayoutEngine::clear added 2019-07-13 10:36:12 +02:00
Uwe Rathmann e9ff7cca40 QskLayoutChain prepared to be usable for grid layouts 2019-07-13 10:03:04 +02:00
Uwe Rathmann 4f48a3ab92 QskLinearLayoutEngine setter indicating changes 2019-07-12 15:37:42 +02:00
Uwe Rathmann 16a67678f3 resetChain -> updateLayoutChain 2019-07-12 15:26:55 +02:00
Uwe Rathmann a762d51099 code moved to QskLayoutConstraint 2019-07-12 15:24:06 +02:00
Uwe Rathmann f53b28727f using auto 2019-07-12 15:17:02 +02:00
Uwe Rathmann 49c216b582 addCell -> expandTo 2019-07-09 14:52:43 +02:00
Uwe Rathmann bfe2b58ae3 item -> entry 2019-07-09 14:49:50 +02:00
Uwe Rathmann 8555cc3cc4 convenience functions added 2019-07-09 14:49:24 +02:00
Uwe Rathmann 6838260606 QskLinearBox::spacingAtIndex added 2019-07-09 14:27:50 +02:00
Uwe Rathmann f52b8a2e46 QskDialogSubWindow::done fixed 2019-07-05 13:18:12 +02:00
Uwe Rathmann 6fb347eef9 making the code more readable 2019-07-04 14:22:55 +02:00
Uwe Rathmann 42388cb267 debug operators, minor improvements 2019-07-02 18:18:15 +02:00
Uwe Rathmann d600fe9d7b debug operator improved 2019-07-02 18:17:57 +02:00
Uwe Rathmann 148a258160 bad contentsSizeHint implementation relying on the current size fixed 2019-07-02 16:26:05 +02:00
Uwe Rathmann 247d7cb7a9 reset fixed 2019-07-01 16:48:57 +02:00
Uwe Rathmann 9593226e0c code moved to QskLayoutChain 2019-07-01 14:45:25 +02:00
Uwe Rathmann c139bf2f99 not using QMetaObject::newInstance anymore, incompatibilities with Qt >=
12.4 fixed
2019-06-25 20:27:40 +02:00
Uwe Rathmann b1f56594bc QskControl::maybeUnresized() added 2019-06-23 12:53:38 +02:00
Uwe Rathmann 309106965d QskAnimationHint::UpdateFlag introduced 2019-06-22 16:26:10 +02:00
Uwe Rathmann a4a49bb7ae blocking consecutive LayoutRequest events until the next request for
sizeHints happens
2019-06-22 16:17:12 +02:00
Uwe Rathmann ed071ecb65 delete childrenRect from the public API. It does not make sense for a
system, where the parent is responsible for laying out the children
2019-06-22 16:15:37 +02:00
Uwe Rathmann 447eeb9cb2 don't export QskDirtyItemFilter 2019-06-22 16:14:56 +02:00
Uwe Rathmann 1c5cbc10d1 growFlag -> canGrow 2019-06-20 11:46:34 +02:00
Uwe Rathmann 79597b61ca QskSizePolicy - more constrained policies 2019-06-20 11:45:32 +02:00
Uwe Rathmann abfdb4894e saving some bytes 2019-06-19 14:32:59 +02:00
Uwe Rathmann ee65ee1857 replacing QGridLayoutEngine by QskLinearLayoutEngine, QskStackBox
without QGridLayoutEngine
2019-06-19 14:08:45 +02:00
Uwe Rathmann 8b6e00cc68 debug operator added 2019-06-19 13:26:29 +02:00
Uwe Rathmann 6e10527a93 warnings about invalid size policies added 2019-06-19 13:25:29 +02:00
Uwe Rathmann 6a093b9343 respecting minimum/maximum sizes 2019-06-19 13:24:53 +02:00
Uwe Rathmann e60373aa3c forgotten debug statement removed 2019-06-14 13:02:31 +02:00
Uwe Rathmann 56acfbb056 calling QskWindow::effectivePreferredSize only once 2019-06-14 13:00:28 +02:00
Uwe Rathmann 1918bc7cd8 [Misc] one dimensional version of sizeHint added 2019-06-13 14:00:30 +02:00
Uwe Rathmann ba823301b9 QskLayoutHint added 2019-06-04 08:00:00 +02:00
Uwe Rathmann 7ad6072d67 defensive chacks added 2019-06-04 07:59:30 +02:00
Uwe Rathmann 4e23dd9428 more method for future use 2019-05-17 22:33:38 +02:00
Uwe Rathmann 40bbe2d7d9 more functions 2019-05-17 22:33:02 +02:00
Uwe Rathmann c923200e52 obsolete declaration removed 2019-05-17 07:00:08 +02:00
Uwe Rathmann aea6f829ae allow setWatchedItem( nullptr ) 2019-05-16 13:57:55 +02:00
Uwe Rathmann 3426e78ed4 more efficient implementation of qskAlignedRect 2019-05-16 08:23:10 +02:00
Uwe Rathmann 0b8d857714 takeHint added, removeHint with return code 2019-05-16 08:14:53 +02:00
Uwe Rathmann 896772c9b4 making cppcheck happier 2019-05-16 08:14:32 +02:00
Uwe Rathmann 4f5c919706 QskLayoutConstraint::Type as bits 2019-05-12 15:26:57 +02:00
Uwe Rathmann 20a9b3bc76 shifting code to qmlexport 2019-05-12 15:19:49 +02:00
Uwe Rathmann 6113667976 code shifted to qmlexport 2019-05-12 13:54:22 +02:00
Uwe Rathmann 18bea9a46f code moved from QskLayoutItem to QskLayoutConstraint 2019-05-12 12:27:25 +02:00
Uwe Rathmann 62e91ebcee missing polish calls added 2019-05-12 12:26:34 +02:00
Uwe Rathmann d19d82a65f qskSetTransparentForPositioner added 2019-05-12 12:18:41 +02:00
Uwe Rathmann 61ecd2f52e dh 2019-05-12 10:11:50 +02:00
Uwe Rathmann 1216c9aeeb using rowCount/columnCount 2019-05-10 11:58:01 +02:00
Uwe Rathmann 7761fccca6 properties added 2019-05-10 08:09:48 +02:00
Uwe Rathmann f9a71be21c indentation fixed 2019-05-10 07:57:25 +02:00
Uwe Rathmann f5fa8d6fa3 making QskLayoutBox a QskBox 2019-05-10 07:45:10 +02:00
Uwe Rathmann 01d5fedca7 making the panel optional 2019-05-10 07:44:13 +02:00
Uwe Rathmann 16d071489e innerBox reminder added 2019-05-10 07:33:59 +02:00
Uwe Rathmann d53cb4116b code cleanup 2019-05-10 06:45:23 +02:00
Uwe Rathmann 3a616d3c6a missing QSK_EXPORT declarations added 2019-05-09 19:11:25 +02:00
Uwe Rathmann aecd7406f3 minor changes 2019-05-06 16:36:52 +02:00
Uwe Rathmann 748bdebc61 layoutRectForWidth fixed 2019-04-30 09:05:08 +02:00
Uwe Rathmann 5453e84022 using 1e6 as dummy dimension 2019-04-30 09:04:46 +02:00
Uwe Rathmann 196b8f7688 implementation of dynamic constraints reorganized 2019-04-26 18:11:13 +02:00
Uwe Rathmann dd39017dbe implementation of dynamic constraints reorganized 2019-04-26 18:09:59 +02:00
Uwe Rathmann 8dc73dfdac defensive checks added 2019-04-26 18:07:35 +02:00
Uwe Rathmann a9b5eeec96 declaration without implementation removed 2019-04-26 18:06:23 +02:00
Uwe Rathmann 98a7fff0a4 qskControlCast added 2019-04-26 11:56:09 +02:00
Uwe Rathmann 91c16e8076 making layout calculations of the skinlets independent from the current
of the control
2019-04-25 14:23:39 +02:00
Uwe Rathmann 3f1c5fc948 layout code fixed 2019-04-24 19:19:47 +02:00
Uwe Rathmann ba365909d8 qskValidOrInnerRect improved 2019-04-24 08:39:13 +02:00
Uwe Rathmann b2d9663a20 resolving loop harmonized with QskSkinHintTable 2019-04-23 11:34:34 +02:00
Uwe Rathmann 54f8591c33 QskTabBar::Panel | QskAspect::Spacing added 2019-04-23 08:51:17 +02:00
Uwe Rathmann 925613b81c animatedValue fixed 2019-04-19 17:04:36 +02:00
Uwe Rathmann d03779cc6d effectivePlacement fixed 2019-04-18 16:17:35 +02:00
Uwe Rathmann 89f1148a7b finding the corresponding tabBar fixed 2019-04-18 16:16:44 +02:00
Uwe Rathmann bbc3c6bc62 more checks for QskDialogSubWindow::exec 2019-04-18 16:15:41 +02:00
Uwe Rathmann 05d9b98dd7 pan gesture detection modified 2019-04-18 16:13:49 +02:00
Uwe Rathmann d55af92fb6 const version for qskFindAncestorOf added 2019-04-18 16:13:05 +02:00
Uwe Rathmann 3c8cea78ee suicide assertion added 2019-04-18 16:12:33 +02:00
Uwe Rathmann 126fb5b9bd registering QskGradientStop 2019-04-18 16:11:38 +02:00
Uwe Rathmann c91e3039d4 making some getters public 2019-04-18 16:11:05 +02:00
Uwe Rathmann 9ba37738af tabbars for all edges ( left, right, top, bottom ) 2019-04-17 16:33:17 +02:00
Uwe Rathmann 9e06fbecd1 missing export declarations added 2019-04-17 15:37:03 +02:00
Uwe Rathmann 713c80c805 don't animate before being initially painted 2019-04-16 11:54:34 +02:00
Uwe Rathmann 045059b71d using z ordering instead of child reordering, to keep the focus tab
chain working
2019-04-11 14:03:20 +02:00
Uwe Rathmann 8fd6910ca4 manually scaling textures according to window coordinates 2019-04-10 19:39:06 +02:00
Uwe Rathmann c539e3bb24 snapToGrid disable as it leads to rounding errors 2019-04-10 19:38:29 +02:00
Uwe Rathmann 8058615c02 qskInnerRectF added 2019-04-10 19:37:59 +02:00
Uwe Rathmann f1600a396d code duplication removed 2019-04-08 13:25:06 +02:00
Uwe Rathmann 44368f97a8 QskLayout -> QskLayoutBox 2019-04-08 13:08:58 +02:00
Uwe Rathmann 0ccffad3ac always reurning false for contains() to help test tools 2019-04-04 18:00:22 +02:00
Uwe Rathmann f681e0e2db workround for Qt < 5.10 added 2019-04-04 17:59:17 +02:00
Uwe Rathmann 9a3b175798 static assertion added 2019-04-02 17:50:08 +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 3d80322afe autoDelete parameter for QskLayout::clear added 2019-03-31 10:33:23 +02:00
Uwe Rathmann d09d08c338 closing the input panel, when the corresponding input item gets
destroyed
2019-03-30 19:17:45 +01:00
Uwe Rathmann d3e9c1f010 missing signal added 2019-03-30 19:11:35 +01:00
Uwe Rathmann 58a942bb2d trailing blanks removed 2019-03-26 16:11:50 +01:00
Uwe Rathmann 35990ac233 missing update calls added 2019-03-26 16:10:15 +01:00
Uwe Rathmann 8e8431f186 ignoring the horizontal size hint of the input proxy 2019-03-25 09:21:21 +01:00
Uwe Rathmann 4c881bedb4 reordering tab buttons instead of using z values 2019-03-23 09:43:15 +01:00
Uwe Rathmann 40e6fa9b52 For some reason the position of the eleided text is wrong
with QTextOption::NoWrap - even if word wrapping
 for elided text does not make any sense.
2019-03-22 15:53:07 +01:00
Uwe Rathmann 33cf1f0f3b oh boy ! 2019-03-21 14:07:00 +01:00
Uwe Rathmann 37fb088111 avoid layout issues when creating a QTextLayout with eliding and wrapping 2019-03-19 17:36:34 +01:00
Uwe Rathmann 943e2b6de8 QskSkinnable::resetHint added 2019-03-19 17:36:12 +01:00
Uwe Rathmann 53f3dc519d qskAncestorOf -> qskFindAncestorOf 2019-03-16 16:11:27 +01:00
Uwe Rathmann 319ad18fd6 QskGraphic::reset fixed 2019-03-16 16:06:10 +01:00
Uwe Rathmann d99844843b qskAncestor added 2019-03-15 15:39:27 +01:00
Uwe Rathmann 4c3a171c46 missing const qualifiers added 2019-03-15 15:38:52 +01:00
Uwe Rathmann 63ee61879d workaround for wrong calls of childMouseEventFilter ( Qt < 5.10 ) 2019-03-07 13:20:48 +01:00
Uwe Rathmann 422fb816bc forgotten return statement added 2019-03-07 11:21:45 +01:00
Uwe Rathmann eff35ce3cb making done virtual 2019-03-01 14:20:56 +01:00
Uwe Rathmann 6081325c2a forgotten member removed 2019-02-28 08:07:05 +01:00
Uwe Rathmann 72a7e7f8e7 buggy remove operation, accidentally removing wrong entries fixed 2019-02-22 16:01:21 +01:00
Uwe Rathmann 7f4102ff7d workaround for a QGridLayoutEngine bug added 2019-02-14 20:34:17 +01:00
Uwe Rathmann 36e4fe2d5f QskTabView::removeTab improved 2019-02-13 10:27:23 +01:00
Uwe Rathmann b0041c7030 currentIndex fixed, when removing an item 2019-02-13 10:26:09 +01:00
Uwe Rathmann 2abde34210 hide focus indicator, when there is no activeFocusItem 2019-02-13 10:24:59 +01:00
Uwe Rathmann 7ee3c9faff QskTabView::removeTab fixed 2019-02-07 13:35:57 +01:00
Uwe Rathmann e738c9ec89 wrong handling of terminations of unrelated animators fixed 2019-02-05 15:09:00 +01:00
Uwe Rathmann 646e670ee4 QskLayout::isEmpty fixed 2019-02-05 15:08:21 +01:00
Uwe Rathmann bc7562234d use deferred deletion for the mouse grabber, otherwise we might run into
crashes in QQuickWindow, when deleting is the result of a mouse release
somewhere below the popup
2019-02-05 10:12:39 +01:00
Uwe Rathmann 9845aa2966 missing close for the input popop added 2019-02-05 10:12:11 +01:00
Uwe Rathmann 35a0d8336b avoid update calls for items without content 2019-02-05 10:11:29 +01:00
Uwe Rathmann 722fb8511c avoiding a Qt assertion, by doing the check before 2019-02-04 18:22:22 +01:00
Uwe Rathmann 724c1e4a66 QskSkinTransition fixed for multiple windows 2019-02-03 12:48:43 +01:00
Uwe Rathmann 3efb1f93e7 as the root item is no child of the window we have to handle it
explicitly, so that traversing does not stop
2019-01-21 15:23:25 +01:00
Uwe Rathmann 3e40bfb257 adding the locale as property for the root item, so that resolving the
locale works from window to item
2019-01-21 15:21:42 +01:00
Uwe Rathmann dd090a9f6e comment as reminder added 2019-01-21 15:21:02 +01:00
Uwe Rathmann c27c100d64 inline comment improved 2019-01-10 20:07:55 +01:00
Uwe Rathmann cbf6ef10b8 disconnect from enabledChanged in the destructor 2019-01-09 10:08:31 +01:00
Uwe Rathmann 2670715097 broken comment fixed 2019-01-08 17:21:18 +01:00
Uwe Rathmann 07b6ad0e7a workaround for a dangling pointer usage in
QQuickWindowPrivate::polishItems added
2019-01-08 17:08:50 +01:00
Uwe Rathmann 56e4544c47 using c++11 iteration 2019-01-07 09:42:23 +01:00
Uwe Rathmann e1ca897478 uncrustified 2019-01-07 09:13:53 +01:00
Uwe Rathmann 4e54d1cb58 uncrustified 2019-01-04 13:42:16 +01:00
Uwe Rathmann 14444fc1fd interpolating colors improved 2019-01-04 11:53:16 +01:00
Uwe Rathmann 738695031b interpolation between an invalid and a valid gradient 2018-12-22 16:12:45 +01:00
Uwe Rathmann 775dca5792 QskSkinnable::setSkinState added to be able to have transitions between
states that differ in more than one flag
2018-12-22 16:11:24 +01:00
Uwe Rathmann 3716b04036 using QVariant::userType instead of QVariant::type 2018-12-20 16:40:06 +01:00
Uwe Rathmann de158d71b5 avoid copying of new animators 2018-12-20 14:38:01 +01:00
Uwe Rathmann 8473f5c2a1 avoid useless sizeHint calls 2018-12-19 10:02:14 +01:00
Uwe Rathmann 4409cee0cf typo fixed 2018-12-19 10:01:26 +01:00
Uwe Rathmann 16c21fa4e0 Direction flag added 2018-12-16 15:29:04 +01:00
Uwe Rathmann 763c920c2d minor changes 2018-12-14 09:11:00 +01:00
Uwe Rathmann dfa8170316 ignoring mouse events, when not being done on the scrollbars 2018-12-13 19:10:18 +01:00
Uwe Rathmann 9ea7409f68 handling of '\n' in texts fixed 2018-12-13 11:29:40 +01:00
Uwe Rathmann 270c94f89f QskTextOptions::effectiveElideMode added 2018-12-13 11:25:16 +01:00
Uwe Rathmann e97bca7859 using auto 2018-12-11 15:00:53 +01:00
Uwe Rathmann 4a035ee0ed typos fixed 2018-12-11 14:59:43 +01:00
Uwe Rathmann a9f059ede3 gtk_widget_gedon't block consecutive LayoutRequest
events as we don't know, when the receiver will have processed them
2018-12-11 14:58:48 +01:00
Uwe Rathmann 9a1e46e0ba QskPushButton::graphicSourceSize added to prevent raster graphics
from being scaled
2018-11-26 17:52:16 +01:00
Uwe Rathmann da89006102 making use of overloading QQuickItemPrivate
getImplicitWidth/getImplicitHeight
2018-11-26 08:50:44 +01:00
Uwe Rathmann 280ce5149d aspectRatio as parameter added, using IgnoreAspectRatio for graphics
what fixes resizing the background of the automotive example
2018-11-25 16:47:27 +01:00
Uwe Rathmann 5a9a4dfa89 signatures shortened 2018-11-25 16:35:06 +01:00
Uwe Rathmann b99dd147f2 QskControlPrivate separate declaration/implemetation 2018-11-25 12:52:37 +01:00
Uwe Rathmann cbc5d2b11f formal changes 2018-11-25 10:56:09 +01:00
Uwe f3d6cdd669 QskScrollArea respecting dynamic constraints 2018-11-17 09:22:11 +01:00
Uwe Rathmann c2ca7fd200 missing initialization of the buttonBox fixed 2018-11-08 17:40:52 +01:00
Uwe Rathmann 8a97403343 QskDialogSubWindow API improved 2018-11-08 13:33:30 +01:00
Uwe Rathmann 958e087943 distributing extra space at the borders fixed 2018-11-08 09:02:03 +01:00
Uwe Rathmann c1861f45b0 improving implementation of dialogs 2018-11-07 10:10:48 +01:00
Uwe Rathmann 2ddde243e1 cleaning up dialog classes 2018-11-06 19:00:42 +01:00
Uwe Rathmann b0e8a486a3 cleaning up dialog classes 2018-11-06 18:54:21 +01:00
Uwe Rathmann b398bfcc62 signals improved 2018-11-06 18:47:30 +01:00
Uwe Rathmann 96ec87a620 QskDialog::ButtonLayoutFlag added 2018-11-05 16:06:43 +01:00
Uwe Rathmann 2874d68d23 API cleanup 2018-11-05 13:50:41 +01:00
Uwe Rathmann b398d11310 QskDialog::StandardButton renamed to QskDialog::Action 2018-11-05 13:29:52 +01:00
Uwe Rathmann 11a4c79f0f code cleanup 2018-11-05 11:42:46 +01:00
Uwe Rathmann 04c1c883f6 code removed from QskControl::changeEvent as it is already done in
QskControl::event
2018-11-03 17:48:34 +01:00
Uwe Rathmann aeb29e855a better compile time checks 2018-11-03 17:14:09 +01:00
Uwe Rathmann 8227d8446c IsFunctorOrStaticFunction added 2018-11-03 17:13:47 +01:00
Uwe Rathmann 84e19c43f8 reminder to handle ItemChildRemovedChange added 2018-10-29 20:13:02 +01:00
Uwe Rathmann 5da92830df QskSubWindow titleBar improvements 2018-10-29 20:11:48 +01:00
Uwe Rathmann 85f816e42d broken implementation of Qt::AlignBottom fixed 2018-10-29 20:01:05 +01:00
Uwe Rathmann 856af42ec1 moc on enums in namespaces before Qt 5.8 workaround fixed 2018-10-26 16:24:57 +02:00
Uwe Rathmann 1f517d0cd1 metaobject inerfaces improved 2018-10-26 09:04:52 +02:00
Uwe Rathmann adaee2b5ab install rues 2018-10-26 09:04:08 +02:00
Uwe Rathmann 116dd01b94 including the margins to heightForWidth/widthForHeight calculations 2018-10-23 19:19:09 +02:00
Uwe Rathmann a3fea8413c only drop explicitly hidden items from layout calculations 2018-10-23 19:18:28 +02:00
Uwe Rathmann ae62e40b93 qskIsVisibleToParent added 2018-10-23 19:18:05 +02:00
Uwe Rathmann 7d39d8dbf6 including cpp files tp svg2qvg to drop runtime dependencies 2018-10-22 10:09:37 +02:00
Uwe Rathmann 2b6d0bc90a [Misc] moving QskRgbValue tp common 2018-10-22 10:05:57 +02:00
Uwe Rathmann 75e61edd07 some convenience methods to set text options 2018-10-19 12:53:45 +02:00
Uwe Rathmann f75de504c3 some inline comments added 2018-10-18 15:50:09 +02:00
Uwe Rathmann 8a9db8ed10 wrong maximumSize for spacer items without stretch fixed 2018-10-18 15:41:59 +02:00
Uwe Rathmann 2b84276019 heightForWidth/widthForHeight added 2018-10-18 15:41:33 +02:00
Uwe Rathmann f1ac0cc13d working on fade/slide in/out effects for popups 2018-10-10 08:55:03 +02:00
Uwe Rathmann 1ddb7aee6b pixel offset fixed 2018-10-05 15:43:47 +02:00
Uwe Rathmann 1d0058a42c QskControl::windowDeactivateEvent added 2018-10-05 14:20:46 +02:00
Uwe Rathmann e13f9eb4db QskPopup imoroved to allow for implementing priority based stacking
orders
2018-10-05 14:15:17 +02:00
Uwe Rathmann da0fb28290 QskPaintedNode/QskTextureRenderer added 2018-10-04 16:15:42 +02:00
Uwe Rathmann 6db5105fdc code related to QML access moved to an extra library: qmlexport 2018-10-04 10:23:28 +02:00
Uwe Rathmann 45027d2983 MSVC workaround added 2018-10-03 14:24:25 +02:00
Uwe Rathmann c14c7b0059 QskAspect::AllUserStates added 2018-10-02 07:29:54 +02:00
Uwe Rathmann cdc0c108ab not using QOpenGLTexture anymore and now we have access to the textureId
in a MSVC compatible way ( also not having to create a temporary QObject
for translating a QImage into a texture )
2018-09-30 18:09:17 +02:00
Uwe Rathmann 6b2b4c3017 getting rid of MSVC incompatible hacking private members 2018-09-28 10:07:18 +02:00
Uwe Rathmann 2e7c6c6676 QskTextInput::setEditing fixed ( includes removing of MSVC incompatible
code )
2018-09-28 07:30:56 +02:00
Uwe Rathmann a5b3a70e7d some temporary workarounds for MSVC problems 2018-09-23 17:25:32 +02:00
Uwe Rathmann a3c224c865 trying to work around MSVC issues 2018-09-23 16:36:58 +02:00
Uwe Rathmann f94373390b making MSVC happy 2018-09-23 11:02:00 +02:00
Uwe Rathmann b4edcddbf4 making clazy happy 2018-08-03 11:11:42 +02:00
Uwe Rathmann e9facebb29 using c++11 iteration 2018-08-03 08:46:02 +02:00
Uwe Rathmann 2a3811fcd9 QskGlobal include cleanup 2018-08-03 08:30:23 +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 ec101b7d56 don't handle touch events, otherwise we miss the synthesized mouse event 2018-07-26 15:45:05 +02:00
Uwe Rathmann e552788a08 missing handling og TouchBegin added 2018-07-26 14:44:52 +02:00
Uwe Rathmann 8d29b4b119 setCheckedState hook introduced 2018-07-26 12:24:27 +02:00
Uwe Rathmann 75608b1d45 missing emit of currentIndexChanged fixed 2018-07-26 12:23:43 +02:00
Uwe Rathmann 56573670c4 enabling wheel according to readOnly fixed 2018-07-26 12:22:40 +02:00
Uwe Rathmann 7e765a903a using QFontMetricsF 2018-07-19 15:21:47 +02:00
Uwe Rathmann 465009bce2 forward declaration for QVariant 2018-07-19 15:21:28 +02:00
Uwe Rathmann aaac57de94 unused member removed 2018-07-19 14:10:48 +02:00
Uwe Rathmann 0b3933f800 forward declarations fixed 2018-07-15 09:46:21 +02:00
Uwe Rathmann 4b67e7f37b better handling of devicePixelRatio 2018-07-13 15:09:25 +02:00
Uwe Rathmann 609ab2d54b blockin update calss, when not having any content ( avoids warnings from
Qt, when being built in debug mode )
2018-07-13 08:37:44 +02:00
Uwe Rathmann 3f28bd463f beautified 2018-07-05 13:25:02 +02:00
Uwe Rathmann 852504da05 beautified 2018-07-05 13:02:25 +02:00
Uwe Rathmann 73d911cee2 QskInputGrabber added 2018-07-02 08:08:38 +02:00
Uwe Rathmann 7ee3ff436d never call update, when having no content 2018-07-02 08:08:08 +02:00
Uwe Rathmann d98302a722 wrong insertion of the input grabber fixed 2018-06-26 11:55:57 +02:00
Uwe Rathmann 47962506e9 bad loop fixed 2018-06-26 11:46:51 +02:00
Uwe Rathmann 5e6d5ebceb started to improve QskPopup and friends 2018-06-26 11:11:37 +02:00
Uwe Rathmann c752ee547f QskControl::isVisibleTo added 2018-06-26 11:10:44 +02:00
Uwe Rathmann dcf77a0ae1 obsolete comments removed 2018-06-25 12:39:46 +02:00
Uwe Rathmann 370800d9c8 workaround added ( extra flahg in QskWindow ) to work around the missing
NoMousePropagation attribute
2018-06-25 12:36:15 +02:00
Uwe Rathmann 9320b5c5be helping the beautifier 2018-06-25 12:35:42 +02:00
Uwe Rathmann c6317a9f2b explicitely ungrab on reset 2018-06-19 10:46:51 +02:00
Uwe Rathmann f10c6437d6 sending the initial input method event for clearing the cursor
asynchronously
2018-06-14 14:37:31 +02:00
Uwe Rathmann 5cc45e35e2 typos fixed 2018-06-14 13:19:04 +02:00
Uwe Rathmann a8288f21b4 workaround for QTBUG: 68874 2018-06-14 12:44:08 +02:00
Uwe Rathmann db3f1e3c19 corner case for simultaneous mouse press events on different screens
fixed
2018-06-14 11:35:47 +02:00
Uwe Rathmann b0a87163bf Qt 5.6 incompatibility fixed 2018-06-12 20:50:32 +02:00
Uwe Rathmann e70bcecae3 pointless line removed 2018-06-12 20:27:16 +02:00
Uwe Rathmann 54f4655698 support for input panels per window added 2018-06-12 18:43:14 +02:00
Uwe Rathmann 1fc4d3af18 crash fixed 2018-06-12 11:03:03 +02:00
Uwe Rathmann 9e5ded43c6 sending of input method update hints improved 2018-06-12 10:56:06 +02:00
Uwe Rathmann e195614654 input panel again 2018-06-12 08:20:48 +02:00
Uwe Rathmann f8982e2177 heightForWidth/widthForHeight generalized for autoLayoutChildren 2018-06-12 08:19:28 +02:00
Uwe Rathmann cb6faf7a1f input context classes reorganized: the whole idea if using input methods
for a virtual keyboard misses fundamental problems like f.e. having an
application with more than one window/screen.
2018-06-11 18:55:48 +02:00
Uwe Rathmann 87eea5a2a9 QskTextInput signals fixed 2018-06-11 11:34:12 +02:00
Uwe Rathmann 0e53dc63ea unused code removed 2018-06-11 09:01:37 +02:00
Uwe Rathmann 87f4d718c5 QString version of setGraphicSource added 2018-06-07 07:24:34 +02:00
Uwe Rathmann 1e71259406 styling of QskInputPanel 2018-06-05 16:55:36 +02:00
Uwe Rathmann a62e7fb3e2 sizePolicy of the inputProxy fixed 2018-06-05 12:46:13 +02:00
Uwe Rathmann e300755027 input method stuff 2018-06-05 11:20:54 +02:00
Uwe Rathmann b17d8dcb68 creating the input panel accidently fixed 2018-06-04 10:20:52 +02:00
Uwe Rathmann 9f78660f30 inputpanel classes reorganized, coming closer to something useful 2018-06-04 10:00:52 +02:00
Uwe Rathmann ce50d49312 keyboard handling improved 2018-06-03 11:01:22 +02:00
Uwe Rathmann 23eec85708 moving code from QskInputPanel 2018-06-02 17:10:41 +02:00
Uwe Rathmann 11dd05ff49 code moved to QskInputManager 2018-06-01 17:26:22 +02:00
Uwe Rathmann 186b18587b QskInputManager introduced 2018-06-01 12:00:31 +02:00
Uwe Rathmann 221b573287 input context changes 2018-06-01 09:45:02 +02:00
Uwe Rathmann b97a43008c layout code moved from QskInputPanel to QskBox 2018-05-30 11:47:46 +02:00
Uwe Rathmann 62de379794 heightForWidth/widthForHeight improved 2018-05-30 11:05:02 +02:00
Uwe Rathmann 4eb74f5b71 working with nested gesture recognizers fixed 2018-05-29 12:05:16 +02:00
Uwe Rathmann 0c5dc0ce37 registration of text predictions removed from QskInputContext 2018-05-09 17:01:30 +02:00
Uwe Rathmann e5d6fe0dc3 QskInputContext is no platform input context anymore to avoid forwarding
private APIs to applicaton code
2018-05-09 15:45:43 +02:00
Uwe Rathmann b29f688df2 reminding comment added 2018-05-09 15:45:10 +02:00
Uwe Rathmann c2d8f0f6fe QskControl::setExplicitSizeHint fixed 2018-05-09 14:13:26 +02:00
Uwe Rathmann 6b47678805 input panel improvements 2018-05-09 08:20:59 +02:00
Uwe Rathmann f9ef60e2d5 handle window loss in pressed state 2018-05-09 08:20:32 +02:00
Uwe Rathmann 1a9a08636b QskResizable merged into QskControl. The memory of the explicit size
hints is allocated lazily as in the most cases a control does not
have them at all
2018-05-08 10:34:00 +02:00
Uwe Rathmann 8096ef0eff beautified 2018-05-08 10:33:31 +02:00
Uwe Rathmann 8ed1036839 memory leak fixed - buttons were not deleted in case of dialogs, that
have never been shown
2018-05-08 10:32:22 +02:00
Uwe Rathmann c46b105879 sizeHints renamed to explicitSizeHints, widthForHeight/heightForWidth
moved to QskControl
2018-05-01 13:55:26 +02:00
Uwe Rathmann e859075f6a unused enum removed 2018-05-01 12:51:14 +02:00
Uwe Rathmann 02e6a65b07 code moved from QskControl to QskQuick 2018-05-01 12:41:20 +02:00
Uwe Rathmann 1ba0fd40bc code moved from QskControl to QskQuick 2018-05-01 12:26:59 +02:00
Uwe Rathmann c7ae7baae2 using QStringList instead og QVector< QString > - although QList is not
the better choice
2018-05-01 11:52:29 +02:00
Uwe Rathmann 456bf48dec unused QskVirtualKeyboard::event removed 2018-05-01 11:51:56 +02:00
Uwe Rathmann 5636ddf329 reformat 2018-05-01 11:50:41 +02:00
Uwe Rathmann 9fe1d45345 QskGraphicLabel::setSource( QString ) added 2018-05-01 11:50:06 +02:00
Uwe Rathmann 3ffd9b3a71 input panel improved 2018-04-30 10:03:51 +02:00
Uwe Rathmann 7fe675d74d input proxy feature added for QskInputPanel 2018-04-27 16:55:50 +02:00
Uwe Rathmann 602e3748df input comntext improvements 2018-04-27 13:48:51 +02:00
Uwe Rathmann 16efc695b9 more changes concering the input context 2018-04-26 14:42:33 +02:00
Uwe Rathmann 688ea07c02 code moved from inputcontext to inputpanel 2018-04-23 14:37:17 +02:00
Uwe Rathmann dfe2b875fd key composition moved to QskInputContext 2018-04-23 14:06:40 +02:00
Uwe Rathmann 4ce1780f90 Qt 5.6 incompatibilities fixed 2018-04-23 10:42:37 +02:00
Uwe Rathmann 48c897f825 also accepting autorepeated Key_Space/Key_Select, even if this is not in line with
what QAbstractButton does
2018-04-19 15:27:45 +02:00
Uwe Rathmann 63cb3bde5d updates, when the window size is changing 2018-04-19 09:39:46 +02:00
Uwe Rathmann ddbc5db920 using a renderjob for restoring the componentComplete flags 2018-04-19 09:33:24 +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 a950203e7b fixed for multiple windows with different thread contexts 2018-04-17 14:46:50 +02:00
Uwe Rathmann 34cc82dd70 QskTextInput/QskInputPanel improved 2018-04-13 16:32:48 +02:00
Uwe Rathmann 79c53bb1c7 workaround for setting the focus with Qt::PopupFocusReason 2018-04-13 16:23:09 +02:00
Uwe Rathmann e2ca55819e locale updates fixed 2018-04-12 13:32:28 +02:00
Uwe Rathmann ed558f3021 wrong return value when inheriting the locale fixed 2018-04-12 13:07:58 +02:00
Uwe Rathmann d1ecec2ad8 improving QskInputContext 2018-04-12 12:03:51 +02:00
Uwe Rathmann 0ee83c1e32 QskInputContext improvements 2018-04-11 17:33:43 +02:00
Uwe Rathmann 67dee082ec filtering of input method events moved to QskInputContext 2018-04-11 08:58:14 +02:00
Uwe Rathmann 02ea027ca8 making clang happier 2018-04-10 18:31:49 +02:00
Uwe Rathmann 10a3435e91 QskInputPanel reintroduced being a composite of QskVirtualKeyboard +
QskInputSuggestionBar
2018-04-10 16:51:35 +02:00
Uwe Rathmann 1513d3716f QskTextInput inproved 2018-04-09 10:05:59 +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 84649f74f1 for some reason accessing QMethodInputPrivate makes the sanitizer complaining 2018-04-06 09:00:41 +02:00
Uwe Rathmann 469e110f82 code simplified 2018-04-06 09:00:09 +02:00
Uwe Rathmann f4060f2e75 virtual keyboard related stuff improved 2018-04-05 14:18:15 +02:00
Uwe Rathmann 7b2e63c7e5 dead inputcontext related code removed 2018-04-04 20:19:47 +02:00
Uwe Rathmann 26f8e1b936 improving the input context 2018-04-04 12:05:01 +02:00
Uwe Rathmann 12a938e653 virtual keyboard improvements 2018-04-04 10:15:59 +02:00
Uwe Rathmann 777a134645 improving text input classes 2018-04-03 20:15:20 +02:00
Uwe Rathmann 26417ed49a initial version of QskTextInput wrapping QQuickTextInput 2018-04-03 10:47:21 +02:00
Uwe Rathmann 6f4a0045d5 using subControlRect 2018-04-03 10:46:55 +02:00
Uwe Rathmann 0a0acb5e27 simplifying the inputcontext stuff 2018-04-02 17:01:04 +02:00
Uwe Rathmann d947fb3999 input panel stuff 2018-04-01 12:47:44 +02:00
Uwe Rathmann 0fea82dfff constructor code improved 2018-03-31 18:34:34 +02:00
Uwe Rathmann 9bf518145d compiler errors/warnings fixed 2018-03-30 15:04:26 +02:00
Peter Hartmann 7b8f0625c1 Add Pinyin / Hunspell and some more refactoring (#58)
* more keyboard refactoring

* keyboard: Add Pinyin and Hunspell, and change suggestions API

* Add object files to gitignore
2018-03-30 10:15:05 +02:00
Peter Hartmann 66677067d5 remove keyboardRect() (#57) 2018-03-28 19:05:20 +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 7af9cc6cdf input panel: derive from QskBox 2018-03-28 15:31:44 +02:00
Peter Hartmann 2951523aaf Don't use a tab fence 2018-03-28 14:01:26 +02:00
Peter Hartmann 745adf463e keyboard: Store ints rather than Qt::Keys 2018-03-28 12:02:10 +02:00
Peter Hartmann ee5cffdc79 keyboard: Fix special characters mode 2018-03-28 10:53:06 +02:00
Peter Hartmann 60c16c82c8 keyboard: Make key buttons work
Not sure whether this is the right way...
2018-03-27 19:20:37 +02:00
Peter Hartmann ddea04445c keyboard: Fix focusing / tab key 2018-03-27 17:05:20 +02:00
Peter Hartmann 412267cf9a keyboard: Make auto repeat work 2018-03-27 17:03:33 +02:00
Peter Hartmann 02da3993f2 keyboard: make font size grow 2018-03-27 17:02:14 +02:00
Peter Hartmann fbdfb5aa19 create UI in constructor, no need to defer anymore 2018-03-27 17:02:12 +02:00
Peter Hartmann fcba898217 fix layout 2018-03-27 16:46:21 +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 5a250eff8b Fix input panel event propagation 2018-03-27 16:37:32 +02:00
Peter Hartmann e365592457 new input panel code 2018-03-27 16:37:27 +02:00
Peter Hartmann 2e3834acf9 input panel formatting 2018-03-27 16:33:48 +02:00
Uwe Rathmann 374f39c87b const added 2018-03-25 16:17:46 +02:00
Uwe Rathmann de6ab7f7aa qskSetItemGeometry added 2018-03-24 18:05:57 +01:00
Uwe Rathmann 5447aa30fa limit the flood of LayoutRequest events 2018-03-23 09:55:48 +01:00
Uwe Rathmann 6005336cf8 only animate color filters, when the transition affects colors 2018-03-23 09:54:35 +01:00
Uwe Rathmann 736a28d02f QskSkinTransition fixed to work with graphic roles 2018-03-22 11:22:13 +01:00
Uwe Rathmann c4325d5f45 interpolating QskColorFilter fixed 2018-03-22 11:21:02 +01:00
Uwe Rathmann bc200c879e trailing spaces removed 2018-03-22 11:20:13 +01:00
Uwe Rathmann fc63f316b4 focus tab chain update fixed, when re-inserting am item at the end, that had already been
inserted before
2018-03-20 14:57:29 +01:00
Uwe Rathmann c88ae44687 unused color table removed 2018-03-15 20:18:53 +01:00
Uwe Rathmann 4cd45201f6 more compile time checks, when using QskMetaFunction 2018-03-14 14:45:39 +01:00
Uwe Rathmann ee3ac13e36 QskShortcutMap using QskMetaInvokable 2018-03-12 09:27:54 +01:00
Uwe Rathmann 42a09813ed QskMata classes improved, queued connections for property write
accessors added
2018-03-11 17:28:32 +01:00
Uwe Rathmann c109b170f1 QskMetaInvokable improved 2018-03-09 16:20:33 +01:00
Uwe Rathmann b788f7da2c property WRITE accessors added to QskMetaInvokable 2018-03-09 12:24:18 +01:00
Uwe Rathmann 0e832e27f8 QskMetaFunction::parameterTypes fixed 2018-03-08 08:37:44 +01:00
Uwe Rathmann 6c9d78c532 QskMetaInvokable introduced 2018-03-04 13:31:49 +01:00
Uwe Rathmann b5a5b56a1d QskMetaFunction.hpp introduced 2018-03-03 15:52:42 +01:00
Uwe Rathmann 05e2b91c01 QskMeta stuff seem to work now, but needs more testing 2018-03-02 14:58:43 +01:00
Uwe Rathmann a9f5e0a528 non working ideas removed 2018-03-02 11:26:25 +01:00
Uwe Rathmann 686f4ff2d8 dh 2018-03-02 07:23:12 +01:00
Uwe Rathmann 2dbb48d8bb dh 2018-03-02 07:07:19 +01:00
Uwe Rathmann 3970b11330 QskMeta classes improved 2018-03-02 06:57:08 +01:00
Uwe Rathmann b7a48ae910 QskMetaCall classes improved 2018-03-01 17:11:59 +01:00
Uwe Rathmann 6e4421d4b7 QskMetaFunction::init removed - saves some size in the text segment 2018-03-01 15:13:55 +01:00
Uwe Rathmann 3079698d63 [Misc] QskMeta classes improved 2018-03-01 12:18:58 +01:00
Uwe Rathmann 02639e5d04 QskMeta classes improved 2018-02-28 16:48:46 +01:00
Uwe Rathmann 0075ccbdbd QskMeta classes reorganized 2018-02-28 10:43:15 +01:00
Uwe Rathmann 6b87084678 memory leaks fixed 2018-02-28 08:37:40 +01:00
Uwe Rathmann 28660cca7d implementation of QskMetaFunction continued - still several issues to
solve
2018-02-27 17:47:23 +01:00
Uwe Rathmann 76f0ed1ece gcc 4/5 incompatibility fixed 2018-02-27 08:23:16 +01:00
Uwe Rathmann 34cd6e3754 QskMetaFunction added 2018-02-26 09:39:14 +01:00
Uwe Rathmann 0c1cfa3453 QskMetaFunction added - similar to QMetaMethod but for what Qt calls
"functor based" callbacks
2018-02-26 09:09:21 +01:00
Uwe Rathmann d58732d5ac using Qt::UniqueConnection 2018-02-15 09:48:14 +01:00
Uwe Rathmann 217c722e71 not using the deprecated QQuickItem::boundingRect anymore 2018-02-07 19:30:34 +01:00
Uwe Rathmann 38ed90b659 code improved 2018-02-07 15:40:05 +01:00
Uwe Rathmann 8553ecc354 comments added 2018-02-07 15:39:46 +01:00
Uwe Rathmann 2c72388239 always inserting the input grabber at the beginning so that
QQuickItem::childAt ( and squish ) are working
2018-02-07 09:26:47 +01:00
Uwe Rathmann f3467a4fa8 obsolete comment removed 2018-02-07 09:26:27 +01:00
Uwe Rathmann 4a43c75608 daisy chaining the previously registered hooks 2018-02-07 09:25:31 +01:00
Uwe Rathmann 1ad514dcdd state dependent animator hints fixed 2018-02-06 14:58:24 +01:00
Uwe Rathmann d32646c67c qskTabChainIncrement added 2018-02-06 14:57:34 +01:00
Uwe Rathmann e91a0932e8 copyrights added/fixed 2018-02-06 14:56:29 +01:00
Uwe Rathmann ccdc1e7c37 beautified 2018-02-06 14:56:05 +01:00
Uwe Rathmann 361ecbb980 copyrights added/fixed 2018-02-06 14:55:35 +01:00
Uwe Rathmann 3ddcb3706f check for invalid contexts added 2018-02-06 07:51:33 +01:00
Uwe Rathmann 84d8c87309 setting the initial focus only on Qt::PopupFocusReason 2018-02-04 12:28:26 +01:00
Uwe Rathmann d98317942e bad autofocusing of scopes, when reciving the focus removed - it lead to
inconsistent QQuickItem states, when focused items get
reparented.
2018-02-02 18:04:38 +01:00
Uwe Rathmann 3a0b3f4ad1 unused includes removed 2018-02-01 09:29:28 +01:00
Uwe Rathmann b4dda0d557 using the contents rectangle as default focus rectangle 2018-02-01 09:28:47 +01:00
Uwe Rathmann 716f5d5bcb framebuffer mode removed as it crashes in the multithreaded situation +
didn't offer the expected workaround for the missing multisampling
support on certain VMs
2018-02-01 09:15:36 +01:00
Uwe Rathmann e39b0fd861 [Misc] wrong disconnect fixed 2018-02-01 08:29:38 +01:00
Uwe Rathmann 2dc2278e6b [Misc] bad disconnecting fixed 2018-02-01 08:07:54 +01:00
Uwe Rathmann bd68a86019 input panel key tables restored 2018-01-29 08:31:43 +01:00
Uwe Rathmann 5d91175d05 focus navigation improved 2018-01-24 10:14:50 +01:00
Uwe Rathmann 3f0075f616 improving focus handling after closing a popup 2018-01-21 14:10:12 +01:00
Uwe Rathmann 8cb65fefa6 better focus handover after closing a popup 2018-01-20 17:21:13 +01:00
Uwe Rathmann 2cdabf34d6 QskControl::focusIndicatorRect introduced 2018-01-19 10:15:29 +01:00
Uwe Rathmann 19c0e43e5c find a default focus item, when a focusScope/tabFence control ( usually
a popup ) gets the focus - to be on the internal tab chain.
2018-01-19 10:08:59 +01:00
Uwe Rathmann 3837205847 [Misc] several static methods from QskControl changed into qskXYZ
functions to avoid any conflicts with APIs that might be added to
QQuickItem in future versions
2018-01-19 10:07:05 +01:00
Uwe Rathmann b083479b21 using QString() instead of QString::null 2018-01-16 20:34:54 +01:00
Uwe Rathmann 6589f7a696 QskScrollArea once more changed, this time again without having to copy
the viewport clip node
2018-01-16 20:26:18 +01:00
Uwe Rathmann 4f6bf75426 some auto scrolling modes added 2018-01-16 12:13:38 +01:00
Uwe Rathmann b1c3acde8e QskScrollArea reimplemented to have a proper filtering of child events 2018-01-12 15:46:15 +01:00
Uwe Rathmann ebe332c14e auto reparenting the focus indicator to be always below the most inner
clip
2018-01-11 16:29:33 +01:00
Uwe Rathmann b80aed9c92 - QskGestureRecognizer replaying all mouse events, when being aborted.
- QskScrollView gesture handling improved to handle replayed events from children that actively ignore mouse events
2018-01-11 14:16:20 +01:00
Uwe Rathmann b00edfce28 interpolation between graphic filters fixed 2018-01-06 17:58:53 +01:00
Uwe Rathmann c989c61d3f alignment of metrics improved and disabled 2018-01-06 17:58:10 +01:00
Uwe Rathmann 2df8d81174 layout code fixed 2018-01-05 09:36:55 +01:00
Uwe Rathmann 277d8dd8d6 stable calculation of text base lines, so that text don't "wobble"
anymore during translations of margins/paddings
2018-01-04 13:59:51 +01:00
Uwe Rathmann 6108af2c84 unused parameter removed 2018-01-03 17:24:27 +01:00
Uwe Rathmann 184157a025 code simplified 2018-01-03 17:23:40 +01:00
Uwe Rathmann ed9433c229 no reason for recreating a texture, when it is only translated 2018-01-03 15:44:40 +01:00
Uwe Rathmann 6edeca7360 wheel event handler improved - more work to do 2018-01-03 15:05:35 +01:00
Uwe Rathmann eafd887f9c rounding issues when aligning QRects fixed ( no more jumping SVGs when
changing skins )
2018-01-03 13:10:55 +01:00
Uwe Rathmann 6813d643d3 skins factories can be loaded as plugins 2018-01-03 11:57:05 +01:00
Uwe Rathmann bfd646c153 making compiler checks happy 2018-01-03 09:24:23 +01:00
Uwe Rathmann 6a23822f3b bad blocking of implicitSize change notifications fixed 2018-01-03 09:22:45 +01:00
Uwe Rathmann 95ffcdaa23 some fixes 2017-12-22 14:15:24 +01:00
Uwe Rathmann 6e724b465c destructor of QskWindow fixed hen one toplevel item is destroying
another
2017-12-19 10:32:05 +01:00
Uwe Rathmann 2500f5c8c4 more accurate capturing for lambdas 2017-12-14 09:41:41 +01:00
Uwe Rathmann d63fae938d less connections in QskControl::QskControl 2017-12-14 09:41:10 +01:00
Uwe Rathmann 51d1e9fe59 slightly faster constructor by avoiding some connections 2017-12-12 20:02:48 +01:00
Uwe Rathmann 4c74d9c19a introducing Q_FALLTHROUGH 2017-12-11 08:58:57 +01:00
Uwe Rathmann 920ed2232c memory problems fixed 2017-12-08 13:56:35 +01:00
Uwe Rathmann 5a8d633239 satisfying clang pedantic checks 2017-12-07 17:28:23 +01:00
Uwe Rathmann a122b19df0 satisfying clang compiler checks 2017-12-07 17:12:52 +01:00
Uwe Rathmann ee4317ccd4 satisfying clang pedantic checks 2017-12-07 17:04:05 +01:00
Uwe Rathmann d55f1583ee clange pedantic flags satisfied 2017-12-07 16:53:11 +01:00
Uwe Rathmann bef02983f3 broken gcc version fixed 2017-12-07 12:59:05 +01:00
Uwe Rathmann 5858d9a843 finally ending up with a named struct, what seems to be the only thing
that is accepted from all compilers
compilers
2017-12-07 12:44:58 +01:00
Uwe Rathmann a41d78be4f bugs found by the clang sanitizer 2017-12-07 11:54:06 +01:00
Uwe Rathmann 47a8df5214 late destruction fixed 2017-12-07 11:53:34 +01:00
Uwe Rathmann c1e7571e10 QskShortcut moved to QskShortcutMap, new class QskShortcut for the QML
use case ( makes sense from C++ as well, but is less efficient as it needs one QObject per
shortcut )
2017-12-06 17:01:10 +01:00
Uwe Rathmann ccf1834a9c ugly templated code slightly more readable 2017-12-06 12:23:43 +01:00
Uwe Rathmann c66292f605 QskShortcut improved 2017-12-05 17:40:21 +01:00
Uwe Rathmann 85e3af73d9 support for shortcut connections on different threads added 2017-12-05 13:10:50 +01:00
Uwe Rathmann 8175719679 isTabFence/isShortcutScope added 2017-12-05 13:10:17 +01:00
Uwe Rathmann 81acf6b610 Qt5 type of connection for QskShortcut 2017-12-03 17:58:18 +01:00
Uwe Rathmann 6644be15bd using QGlobalStatic 2017-12-01 09:33:13 +01:00
Uwe Rathmann 698c29d925 memory leak fixed 2017-11-30 17:10:59 +01:00
Uwe Rathmann 12cd9a16b1 setText/setGraphic/setGraphicSource need to be slots 2017-11-21 18:10:10 +01:00
Uwe Rathmann 6f2419de4c bad key event handling fixed 2017-11-21 09:05:09 +01:00
Uwe Rathmann 0d00b52730 obsolete code removed 2017-11-18 18:08:01 +01:00
Uwe Rathmann 70dd4ce86e call polish, when children are added in autoLayouChildren mode 2017-11-18 13:52:48 +01:00
Uwe Rathmann 2ebfd306e1 having valid layoutRects for buttons 2017-11-17 08:03:38 +01:00