Sergio Martins
bb5d98164f
fix windows build
2021-02-15 09:45:55 -08:00
Sergio Martins
8941f41d1c
Moved NCHITTESTEventFilter to WidgetResizeHandler
...
It's a better fit there.
2021-02-15 17:36:22 +00:00
Sergio Martins
b8405c01f1
Export WidgetResizeHandler
2021-02-15 17:25:49 +00:00
Sergio Martins
c52db1945b
Minor rename for readability
2021-02-14 17:52:36 +00:00
Sergio Martins
09a10cd791
Minor rename for readability
2021-02-14 17:42:35 +00:00
Sergio Martins
07fd577894
MDI|qtquick: Fix resize cursor not being shown
...
the docked widgets were resizable but the cursor didn't change
shape
2021-02-14 17:41:01 +00:00
Sergio Martins
64db52fd17
Move the CursorPositions header to the enums header instead
...
Otherwise will have to include WidgetResizeHandler_p.h
where I don't want to. And make it an installed header etc.
2021-02-11 18:52:21 +00:00
Allen Winter
a2f4c972a6
update copyright year
2021-01-02 09:27:50 -05:00
Sergio Martins
e5809c06c7
Enable resizing the overlayed dock widgets
...
Fixed WidgetResizeHandler to not allow it to resize the overlay
bigger than its parent
For issue #116
The size isn't remembered though. Next time you open the overlay
it will have the previous size.
2020-12-18 17:15:54 +00:00
Sergio Martins
7acbe0c62e
Make the WidgetResizeHandler margin public
2020-12-18 15:23:52 +00:00
Sergio Martins
1082d5e8e1
Added WidgetResizeHandler::setAllowedResizeSides()
2020-12-18 10:43:36 +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
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
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
e55d75ba98
qt6: Fix build on Windows
2020-12-08 23:21:51 +00:00
Sergio Martins
e0aa547393
qtquick: Start using the WidgetResizeHandler
...
It's no longer commented out in FloatingWindow.
Doesn't do much for QtQuick, but at least we don't have different
code paths
Making it work is next.
2020-11-26 23:13:46 +00:00
Allen Winter
b4f49895c2
clarify: licensing is GPL2 or GPL3 or commercial licensed
...
follow the REUSE specs
2020-07-24 18:16:13 -04:00
Allen Winter
df692686e7
various - update copyright year
2020-01-07 11:36:56 -05:00
Sergio Martins
945dbc1f27
Fix build with namespaced Qt
...
Fixes #18
2019-11-27 16:17:48 +00:00
Sergio Martins
787f7802be
Move the private code into a private/ folder
...
It's nice to have a similar include hierarchy at build time and install
time.
It also makes things more explicit
2019-10-20 19:24:54 +01:00