Commit Graph

631 Commits

Author SHA1 Message Date
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
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 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 4409cee0cf typo fixed 2018-12-19 10:01:26 +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 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 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 c1861f45b0 improving implementation of dialogs 2018-11-07 10:10:48 +01:00
Uwe Rathmann b398bfcc62 signals improved 2018-11-06 18:47:30 +01:00
Uwe Rathmann 2874d68d23 API cleanup 2018-11-05 13:50:41 +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 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 ae62e40b93 qskIsVisibleToParent added 2018-10-23 19:18:05 +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 f1ac0cc13d working on fade/slide in/out effects for popups 2018-10-10 08:55:03 +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 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 b4edcddbf4 making clazy happy 2018-08-03 11:11:42 +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 5cc45e35e2 typos fixed 2018-06-14 13:19:04 +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 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 9e5ded43c6 sending of input method update hints improved 2018-06-12 10:56:06 +02:00
Uwe Rathmann f8982e2177 heightForWidth/widthForHeight generalized for autoLayoutChildren 2018-06-12 08:19:28 +02:00
Uwe Rathmann 87eea5a2a9 QskTextInput signals fixed 2018-06-11 11:34:12 +02:00
Uwe Rathmann 87f4d718c5 QString version of setGraphicSource added 2018-06-07 07:24:34 +02:00
Uwe Rathmann e300755027 input method stuff 2018-06-05 11:20:54 +02:00
Uwe Rathmann 23eec85708 moving code from QskInputPanel 2018-06-02 17:10:41 +02:00
Uwe Rathmann b97a43008c layout code moved from QskInputPanel to QskBox 2018-05-30 11:47:46 +02:00
Uwe Rathmann 4eb74f5b71 working with nested gesture recognizers fixed 2018-05-29 12:05:16 +02:00
Uwe Rathmann c2d8f0f6fe QskControl::setExplicitSizeHint fixed 2018-05-09 14:13:26 +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 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 9fe1d45345 QskGraphicLabel::setSource( QString ) added 2018-05-01 11:50:06 +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 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 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 ed558f3021 wrong return value when inheriting the locale fixed 2018-04-12 13:07:58 +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 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 bc200c879e trailing spaces removed 2018-03-22 11:20:13 +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 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 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 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 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 6edeca7360 wheel event handler improved - more work to do 2018-01-03 15:05:35 +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 bef02983f3 broken gcc version fixed 2017-12-07 12:59:05 +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