Sergio Martins
3b1ac9a2d0
Merge branch '1.2'
2020-12-17 20:38:49 +00:00
Sergio Martins
4635405fb5
Allow WidgetResizeHandler to act on global event filter
...
Needed for widgets which are not top-levels
2020-12-17 19:47:19 +00:00
Sergio Martins
c481875e55
Fix WidgetResizeHandler::cursorPosition() for negative positions
...
Usually we don't get negative relative positions, since we're
tracking top-level widgets which wouldn't receive exterior mouse
events to begin with.
But we want the WidgetResizeHandler to work for embedded widgets
too, for example for the sidebar overlays.
2020-12-17 19:47:19 +00:00
Sergio Martins
62f50f9458
Minor coding style
2020-12-17 19:47:19 +00:00
Sergio Martins
c86252665c
Make WidgetResizeHandler::mouseMoveEvent() return bool
...
Returns true if it consumed the event
2020-12-17 19:47:19 +00:00
Sergio Martins
d141863ffb
Make a method private
2020-12-17 19:47:19 +00:00
Sergio Martins
e99b9678e4
Add WidgetResizeHandler::restoreMouseCursor()
2020-12-17 19:47:19 +00:00
Sergio Martins
e0a034748d
Factor out setting the mouse cursor
...
We'll soon also need to call qApp's set cursor
2020-12-17 19:47:19 +00:00
Sergio Martins
c3377431cc
docs++
2020-12-17 19:47:19 +00:00
Allen Winter
2fb70009cc
OBS - updates
v1.2.0
2020-12-17 14:40:16 -05:00
Allen Winter
289ddffbe2
prep for 1.2.0 release
2020-12-17 14:40:16 -05:00
Sergio Martins
54738bbea2
Simplify WidgetResizeHandler::cursorPosition() impl
2020-12-17 18:51:40 +00:00
Sergio Martins
5c6eb352d6
Use the CursorPosition enum as flags
2020-12-17 18:46:31 +00:00
Sergio Martins
f657399ef8
Make enum public so we can use Q_ENUM
2020-12-17 18:44:48 +00:00
Sergio Martins
be0f72ca25
Remove unneeded method
2020-12-17 17:05:55 +00:00
Sergio Martins
31598d8334
Make a variable private
2020-12-17 16:59:21 +00:00
Sergio Martins
5e64463a8c
Remove some Item_p.h/multisplitter includes
...
that's private API for the layouts, don't want them exposed higher
in the stack
2020-12-17 13:48:50 +00:00
Sergio Martins
27ffb64eb4
Merge branch '1.2'
2020-12-17 12:45:33 +00:00
Sergio Martins
c4ffe10e12
Fix non unity build
2020-12-17 12:24:12 +00:00
Sergio Martins
efcad6d2be
Update ChangeLog
2020-12-17 11:53:12 +00:00
Sergio Martins
c7dc7bdb3d
Bump so version on master
2020-12-17 11:15:42 +00:00
Sergio Martins
b6925c928a
Clear sidebars before restoring them
...
If restoring a state without a sidebar, the existing sidebars
should hide
Fixes issue #116
2020-12-17 10:51:16 +00:00
Sergio Martins
75368d334a
Don't restore the popup/overlay state
...
popups are perishable
2020-12-17 10:15:39 +00:00
Allen Winter
d39ce8f66e
tests/Testing.cpp - include <QTest>, not <QtTest>
2020-12-16 17:10:07 -05:00
Allen Winter
805ea41d8a
Rubberband_quick.h, RubberBandQuick.h - adjust include guard
2020-12-16 17:04:06 -05:00
Allen Winter
d7ed2494be
CMakeLists.txt - add documentation for the new options
2020-12-16 17:01:47 -05:00
Allen Winter
0990337cdc
examples/qtquick/CMakeLists.txt - add license+copyright header
2020-12-16 16:51:03 -05:00
Allen Winter
e41cdb6f78
various - fix misspellings
2020-12-16 16:49:22 -05:00
Sergio Martins
666673a251
Added a comment
2020-12-16 18:46:56 +00:00
Sergio Martins
34cb2ae5f0
Restore the SideBars when restoring a layout
...
For issue #116
2020-12-16 18:27:29 +00:00
Sergio Martins
51d8c2ff3e
tests: Group the "Save/restore" tests together
2020-12-16 18:15:06 +00:00
Sergio Martins
aa9f50d0f4
Serialize the SideBar to JSON too
...
Part 1 of 2 for issue #116
2020-12-16 17:58:05 +00:00
Sergio Martins
b7c36a2ec9
Stabilize a test with 5.9
...
Minor differences in the frame's min-sizes, no point in spending
more time on such old Qt version just so tests pass.
2020-12-16 17:24:33 +00:00
Sergio Martins
e18fb7ffd8
Remove unneeded private moc include
...
Doesn't play nice with unity builds
2020-12-16 15:48:32 +00:00
Sergio Martins
96439339c7
cmake: Add a missing QtQuick header to the source list
2020-12-16 15:46:31 +00:00
Sergio Martins
04d418b2e9
same for QtQuick
2020-12-16 15:42:48 +00:00
Sergio Martins
c04d856322
cmake: Add the header files to the source list too
...
So they are automoced with unity build
2020-12-16 15:40:25 +00:00
Sergio Martins
1c41c33f33
Merge the two qrc files that are only for QtQuick
2020-12-16 11:53:36 +00:00
Sergio Martins
1dae128511
Fix the static build
...
The other library qrc is only needed for QtQuick
2020-12-16 11:41:15 +00:00
Sergio Martins
eab80c0545
Fix a -Wmismatched-tag warning
2020-12-16 10:54:47 +00:00
Sergio Martins
288c3df30b
Add missing include
2020-12-15 23:11:52 +00:00
Sergio Martins
e8728e8a35
qtquick: Fix the qrc not being included
2020-12-15 23:07:11 +00:00
Sergio Martins
94bfc4f2d1
qtquick: Fix build
2020-12-15 23:02:13 +00:00
Sergio Martins
d2da07508a
Replaced an include with a fwd decl
2020-12-15 22:58:10 +00:00
Sergio Martins
7082e40cd5
Fix non-developer build
...
These exports are needed
2020-12-15 21:56:22 +00:00
Sergio Martins
2c8bbd10f7
Remove the export macros from the old library
...
We now use only 1 library, so use the same export macros
2020-12-15 21:41:10 +00:00
Sergio Martins
ed8a401fe8
Meld kddockwidgets__multisplitter into kddockwidgets lib
...
It's overkill to have it in a separate library.
Simplifies deployment.
Speeds up build, as it was breaking paralellism.
2020-12-15 21:00:41 +00:00
Sergio Martins
72428075f0
Fix -Wshadow warnings
2020-12-15 20:38:20 +00:00
Sergio Martins
562db7c812
qtquick: Fix build
...
Missing include guards
2020-12-15 13:38:35 +00:00
Sergio Martins
3ee15d1307
Give python a bit of help building KDDW
2020-12-15 12:15:23 +00:00