Commit Graph

523 Commits

Author SHA1 Message Date
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 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 e75937f711 clearing the focus flag, when removing an item from the window 2020-03-06 10:51:14 +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 fb87fe1251 beautified 2020-01-02 17:48:16 +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 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 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 1f59962360 devicePixelRatio detection moved to QskTextureRenderer 2019-10-27 08:11:47 +01:00
Uwe Rathmann eb4cf2c2ae making readOnly a state 2019-09-27 07:34:25 +02:00
Uwe Rathmann a8f888ca08 micro optimzation 2019-09-23 16:59:48 +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 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 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 f2b4a5982e handling of the IgnoreFlag added 2019-09-18 08:44:32 +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 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 38974f747b qskConstrainedItemSize also respecting the minimum constraint 2019-09-15 19:26:46 +02:00
Uwe Rathmann 84248098ca don't return constraining parameters 2019-09-15 14:31:13 +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 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 9d79b2edf9 isVisibleToLayout added 2019-09-06 19:57:25 +02:00
Uwe Rathmann e8c46bf0b9 QskQuickItem::isVisibleToParent added 2019-09-06 19:56:03 +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 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 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 fb3c3427bd QSizeF() alread initializes -1, -1 2019-08-09 10:15:03 +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 f53b28727f using auto 2019-07-12 15:17:02 +02:00
Uwe Rathmann 6fb347eef9 making the code more readable 2019-07-04 14:22:55 +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 79597b61ca QskSizePolicy - more constrained policies 2019-06-20 11:45:32 +02:00
Uwe Rathmann ee65ee1857 replacing QGridLayoutEngine by QskLinearLayoutEngine, QskStackBox
without QGridLayoutEngine
2019-06-19 14:08:45 +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 40bbe2d7d9 more functions 2019-05-17 22:33:02 +02:00
Uwe Rathmann aea6f829ae allow setWatchedItem( nullptr ) 2019-05-16 13:57:55 +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 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 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 3a616d3c6a missing QSK_EXPORT declarations added 2019-05-09 19:11:25 +02:00
Uwe Rathmann 748bdebc61 layoutRectForWidth fixed 2019-04-30 09:05:08 +02:00
Uwe Rathmann dd39017dbe implementation of dynamic constraints reorganized 2019-04-26 18:09:59 +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 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 9ba37738af tabbars for all edges ( left, right, top, bottom ) 2019-04-17 16:33:17 +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 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 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 4c881bedb4 reordering tab buttons instead of using z values 2019-03-23 09:43:15 +01:00
Uwe Rathmann 33cf1f0f3b oh boy ! 2019-03-21 14:07:00 +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 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 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 36e4fe2d5f QskTabView::removeTab improved 2019-02-13 10:27:23 +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 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 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 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