Commit Graph

124 Commits

Author SHA1 Message Date
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 ba365909d8 qskValidOrInnerRect improved 2019-04-24 08:39:13 +02:00
Uwe Rathmann 3c8cea78ee suicide assertion added 2019-04-18 16:12:33 +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 33cf1f0f3b oh boy ! 2019-03-21 14:07:00 +01:00
Uwe Rathmann 63ee61879d workaround for wrong calls of childMouseEventFilter ( Qt < 5.10 ) 2019-03-07 13:20:48 +01:00
Uwe Rathmann 35a0d8336b avoid update calls for items without content 2019-02-05 10:11:29 +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 e1ca897478 uncrustified 2019-01-07 09:13:53 +01:00
Uwe Rathmann 4e54d1cb58 uncrustified 2019-01-04 13:42:16 +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 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 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 84e19c43f8 reminder to handle ItemChildRemovedChange added 2018-10-29 20:13:02 +01:00
Uwe Rathmann f75de504c3 some inline comments added 2018-10-18 15:50:09 +02:00
Uwe Rathmann 1d0058a42c QskControl::windowDeactivateEvent added 2018-10-05 14:20:46 +02:00
Uwe Rathmann b4edcddbf4 making clazy happy 2018-08-03 11:11:42 +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 aaac57de94 unused member removed 2018-07-19 14:10:48 +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 c752ee547f QskControl::isVisibleTo added 2018-06-26 11:10:44 +02:00
Uwe Rathmann f8982e2177 heightForWidth/widthForHeight generalized for autoLayoutChildren 2018-06-12 08:19:28 +02:00
Uwe Rathmann c2d8f0f6fe QskControl::setExplicitSizeHint fixed 2018-05-09 14:13:26 +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 c46b105879 sizeHints renamed to explicitSizeHints, widthForHeight/heightForWidth
moved to QskControl
2018-05-01 13:55:26 +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 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 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 84649f74f1 for some reason accessing QMethodInputPrivate makes the sanitizer complaining 2018-04-06 09:00:41 +02:00
Uwe Rathmann f4060f2e75 virtual keyboard related stuff improved 2018-04-05 14:18:15 +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 217c722e71 not using the deprecated QQuickItem::boundingRect anymore 2018-02-07 19:30:34 +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 b4dda0d557 using the contents rectangle as default focus rectangle 2018-02-01 09:28:47 +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 6a23822f3b bad blocking of implicitSize change notifications fixed 2018-01-03 09:22:45 +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 920ed2232c memory problems fixed 2017-12-08 13:56:35 +01:00
Uwe Rathmann ee4317ccd4 satisfying clang pedantic checks 2017-12-07 17:04:05 +01:00
Uwe Rathmann a41d78be4f bugs found by the clang sanitizer 2017-12-07 11:54:06 +01:00
Uwe Rathmann 8175719679 isTabFence/isShortcutScope added 2017-12-05 13:10:17 +01:00
Uwe Rathmann 70dd4ce86e call polish, when children are added in autoLayouChildren mode 2017-11-18 13:52:48 +01:00
Uwe Rathmann 3f979fa6af moving code from QskControl to QskControlPrivate - beside hiding an API
it also works around a bug found with gcc 5/6 for -O2
2017-11-07 19:00:29 +01:00
Uwe Rathmann 4b20544cd6 working around a gcc optimzation bug with gcc 4/5/6 gcc 7 seems to be
o.k.
2017-11-03 19:58:21 +01:00
Uwe Rathmann 6db25ff7bc making clazy happier 2017-10-30 14:38:30 +01:00
Uwe Rathmann 3504525840 making clazy happier 2017-10-30 12:06:19 +01:00
Uwe Rathmann 58a9c5303f making clazy happier 2017-10-30 08:48:49 +01:00
Uwe Rathmann c3b6830eb5 making clazy happier 2017-10-30 08:33:43 +01:00
Uwe Rathmann 958b609306 after giving up misusing private objects, we are free to move our
private data back to to private object.
2017-10-25 14:53:49 +02:00
Uwe Rathmann 2c0733182a Qt::FocusPolicy added. Hope this implementation does not break common
standards for mouse/wheel handling like being done in QC2
2017-10-24 19:32:54 +02:00
Uwe Rathmann e6f0088ae4 All box subcontrols are displayd with vertex lists instead of
textures
    now. Implementation is almost complete beside of the not yet done Qt
    antialiasing mode. Not all sort of linear gradients ( see
    QLinearGradients ) are implemented - needs 1-2 days more.
    The aspect flags for box primitives have been substantially changed
from
    too atomic to more strutured units.
    The skins are currently incomplete - will be fixed later.
2017-10-17 17:34:00 +02:00
Uwe Rathmann 6a0c6aa6bd more complex types of skin hints ( starting with QskMargins, but more to
come )
2017-08-23 14:53:29 +02:00
Uwe 3cdfeaaf1c initial commit 2017-07-21 18:21:34 +02:00