Sergio Martins
616c871da7
qtquick: initialize the tab widget via the factory
2020-12-20 11:25:50 +00:00
Sergio Martins
925c9725b3
qtquick: Build TabBarQuick too
2020-12-20 01:09:02 +00:00
Sergio Martins
1a173a7c72
Add a TabWidgetQuick.cpp
...
Doesn't do much yet
2020-12-20 01:02:55 +00:00
Sergio Martins
a959da46db
qtquick: Build TabWidget.cpp too
...
Not being used yet though.
2020-12-20 01:01:20 +00:00
Sergio Martins
a9c70d086c
qtquick: Move TabWidget_p.h out of widgets/
...
To be shared with qtquick
2020-12-20 00:07:07 +00:00
Sergio Martins
48bacb2811
build-all: Add option to run the tests
2020-12-19 23:30:09 +00:00
Sergio Martins
6b846fcdff
qt6: Use more 'auto' to fix some Wconversion errors
2020-12-19 22:54:06 +00:00
Sergio Martins
fdc97fecaf
build-all: Don't test the unity variations by default
2020-12-19 22:16:29 +00:00
Sergio Martins
86983d58f5
Merge branch '1.2'
2020-12-19 20:05:19 +00:00
Sergio Martins
58f7edb0bc
build-all: Build with unity turned off too
...
As it often finds builds failures to do missing includes
2020-12-19 20:00:05 +00:00
Sergio Martins
302bbeceb0
Merge branch '1.2'
2020-12-19 19:02:46 +00:00
Sergio Martins
cd9e16398c
qtquick: Fix the build for Qt6
...
And added cmake presets for Qt6
2020-12-19 18:59:33 +00:00
Sergio Martins
1e1ea8db34
qtquick: fix build
2020-12-19 18:04:54 +00:00
Sergio Martins
7ac3ea1fcf
Merge branch '1.2'
2020-12-19 17:52:52 +00:00
Sergio Martins
3f661d0322
Add dev-scripts/build-all.dart
...
This script builds all our supported configurations.
Useful if you don't have access to KDAB CI, or if you don't want
to wait for the results.
2020-12-19 17:51:29 +00:00
Sergio Martins
8dad079df5
Add a CMakePresets.json
...
Contains the configrations we support:
QtWidgets, QtQuick, static, Python and developer-build
2020-12-19 16:07:49 +00:00
Sergio Martins
1727e50489
Merge branch '1.2'
2020-12-19 15:44:59 +00:00
Sergio Martins
1ab9688f58
Fix Python build
2020-12-19 15:44:44 +00:00
Sergio Martins
613b1b8524
Allow the user to change the absolute min and max widget sizes.
...
It's not hardcoded anymore
2020-12-19 15:34:37 +00:00
Sergio Martins
ae5edc9ebf
Added README-troubleshooting
...
Fixes issue #114
2020-12-19 14:59:40 +00:00
Sergio Martins
d0c15b5da2
Add missing include
2020-12-19 14:59:04 +00:00
Sergio Martins
ccbd15c922
Merge branch '1.2'
2020-12-19 14:12:10 +00:00
Sergio Martins
7b9673e4e2
Shrink the overlay popup when we shrink the main window
...
Should be enough for issue #118
2020-12-19 14:10:01 +00:00
Sergio Martins
7fbcbbacdf
Preserve overlay size when resizing main window
...
For issue #118
2020-12-19 14:09:27 +00:00
Sergio Martins
d1f48b0685
Save the last overlayed size
...
We might want to restore it
2020-12-19 14:09:27 +00:00
Allen Winter
9ee6b91f61
Merge branch '1.2'
2020-12-18 13:04:02 -05:00
Allen Winter
e6c89c0564
setup for 1.2.1
2020-12-18 13:02:49 -05:00
Sergio Martins
8b97088c70
Fix QtQuick build
2020-12-18 17:39:24 +00: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
23b69d4e9e
Fix overlay disappearing when we were resizing
...
We allow the user to click 4px outside of the overlay for better
resizing. But we also had code that would hide the overlay if we
clicked elsewhere. So these two requirements were in conflict.
So, before hidding, check if the frame accepted the press.
Also for issue #118
2020-12-18 16:02:35 +00:00
Sergio Martins
0f468033fb
Commit the code needed for resizing overlays/popups
...
Still not happy with it, so the actual part that enables it
is commented out
Also for issue #118
2020-12-18 15:35:43 +00:00
Sergio Martins
468074cda8
Fix min/max not being respected when resizing overlay popup
...
While the min size wasn't set the min size hint was.
Use our wrapper which honours the size hint.
Also for isssue #118
2020-12-18 15:32:43 +00:00
Sergio Martins
7acbe0c62e
Make the WidgetResizeHandler margin public
2020-12-18 15:23:52 +00:00
Sergio Martins
2c1a70280a
WidgetResizeHandler: Fix the geometry calculation for non-toplevels
2020-12-18 15:20:58 +00:00
Sergio Martins
d2fa5efafe
Add Utils::globalGeometry()
2020-12-18 14:29:44 +00:00
Sergio Martins
a437bc5d07
Minor WidgetResizeHandler cleanups
2020-12-18 12:11:28 +00:00
Sergio Martins
2447bb12c8
WidgetResizeHandler: Dont' accept the release if we're not resizing
2020-12-18 11:58:08 +00:00
Sergio Martins
1082d5e8e1
Added WidgetResizeHandler::setAllowedResizeSides()
2020-12-18 10:43:36 +00:00
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