Sergio Martins
894e0fd03a
Added test for issue #162
2021-02-05 11:49:52 +00:00
Allen Winter
ec1f009914
CLA - switch to a form-fillable PDF version
2021-02-04 16:26:34 -05:00
Sergio Martins
7caa83be19
Also hide overlay when clicking on empty space of a main window
2021-02-04 19:56:35 +00:00
Sergio Martins
e745d38b1e
Improve the test a bit
...
clicking on the bottom is not very effective as that's where the
bottom sidebar is
2021-02-04 19:52:21 +00:00
Sergio Martins
6d389315bf
Add test for issue #157
2021-02-04 19:31:31 +00:00
Sergio Martins
daec97ad66
Don't require QtX11Extras for WASM
...
Fixes #163
2021-02-04 13:30:04 +00:00
Sergio Martins
9a38626af5
Allow more private includes to be used from installed dir
2021-01-27 23:31:59 +00:00
Sergio Martins
f0c243f6d1
Add KDDockWidgets.h fwd_header
2021-01-27 23:27:04 +00:00
Sergio Martins
f0441f1a08
Normalize some dock_exports.h includes
...
In case these files are ever included from an installed location
2021-01-27 23:00:32 +00:00
Sergio Martins
db06c496cf
Remove dependencies to LayoutSaver_p.h
...
Only the impl needs to include it
2021-01-27 22:51:41 +00:00
Sergio Martins
2aa97e6565
Add a fwd header for DragController_p.h
2021-01-27 22:28:57 +00:00
Sergio Martins
68597cac22
install two more private includes
2021-01-27 22:27:46 +00:00
Allen Winter
802bdc102f
src/CMakeLists.txt - fix Windows library versioning
...
was broken for RelWithDebInfo builds
2021-01-27 11:55:51 -05:00
Sergio Martins
723c29e33b
Merge pull request #119 from JPatriceR/add-LayoutSaver-python-binding
...
Add binding for LayoutSaver class
2021-01-26 14:58:56 +00:00
Sergio Martins
4bede063ae
Make DockWidgetBase::eventFilter() protected
...
The users might want to override it
Fixes #148 and restores source compat with v1.1
2021-01-26 14:25:30 +00:00
Jean-Patrice Laude
67b48cc417
Add binding for LayoutSaver class
2021-01-20 16:53:32 +01:00
Sergio Martins
de068dc6ff
Use less relative includes, some of them were wrong
...
The example now includes them, so we can detect build failures
if they get wrong again
Fixes #140
2021-01-18 18:57:15 +00:00
Allen Winter
312c89f884
src/CMakeLists.txt - fix kddockwidgets_version.h install destination
2021-01-18 10:14:37 -05:00
Renato Araujo Oliveira Filho
d9fd7eb3a5
Fix python bindings build
...
Task-Id: KDABCI-692
2021-01-18 10:10:51 -05:00
Allen Winter
1a2757b00a
Generate and install kddockwidgets_version.h
...
defines a version string and other useful versioning macros
Issue#138
2021-01-18 10:03:21 -05:00
Sergio Martins
9cadfb26d9
Fix toggleAction() when dock widget is in the sidebar
...
It should toggle the overlay, not dock the widget
Fixes #139
2021-01-15 09:24:11 +00:00
Sergio Martins
a79a2f5ecb
Fix restoring non-closable state
...
For issue #137
A simpler solution than on master, doesn't include the refactoring.
2021-01-13 23:13:39 +00:00
Sergio Martins
e9925785ab
Cancel the drag if the draggable is destroyed
...
Can be destroyed for reasons we can't control or simply destroyed
because the draggable was docked/undocked
Fixes #120
2021-01-10 23:07:57 +00:00
Sergio Martins
81efda2d11
Add a QPointer guard for the draggable
...
So we can detect if it was deleted meanwhile
2021-01-10 23:00:19 +00:00
Sergio Martins
3b1158b82f
Fix potential crash uncovered by UBSAN
...
m_inCtor might be read before being initialized since when
the earlier members are initialized they can call back into
Frame.
2021-01-07 11:13:56 +00:00
Sergio Martins
1aee98bebd
README-WASM: Minor correction, library is static
2021-01-07 11:13:56 +00:00
Allen Winter
077264fd54
CopyrightAssignmentForm.docx - update email address
2021-01-06 10:55:26 -05:00
Sergio Martins
f0376fa7a2
Disable unity build on the stable branch
...
Fixes a build failure on ubuntu.
Will probably only enabled for development.
2021-01-06 10:59:13 +00:00
Sergio Martins
f4404dcbe0
qt6: disable -Wconversion
...
the long long int to int conversions due to the Qt6 containers
are harmless
2021-01-04 00:12:55 +00:00
Sergio Martins
e563ffb673
Add presets for Qt6 dev build
2021-01-03 22:12:56 +00:00
Sergio Martins
4b868e2078
README: Mention that Qt6 is supported and MSVC 2013 won't be
2021-01-03 21:22:41 +00:00
Allen Winter
a2f4c972a6
update copyright year
2021-01-02 09:27:50 -05:00
Jacob Young
0fe58fd160
Fix filename case so that it will build on a case-sensitive filesystem.
2020-12-28 12:34:03 +00:00
Sergio Martins
51d78ba20b
cmake: Allow to not build the fuzzer
...
Slight build improvement locally.
Still build by the CI anyway.
Did the same for the linter.
2020-12-23 13:36:43 +00:00
Sérgio Martins
8291025dfa
tests: Make the tests run much faster
...
tst_docks is already run in parallel. Then it was running
again sequentially!
2020-12-23 13:32:15 +00:00
Sergio Martins
67a3270324
cmake: Add a setting to enable -Werror without developer build
...
Enabled for clazy, for example
2020-12-22 18:16:35 +00:00
Sergio Martins
cd859d6725
Fix a bunch of clazy warnings
2020-12-22 17:01:50 +00:00
Sergio Martins
092b4afe4a
Add a clazy preset
2020-12-22 16:05:10 +00:00
Sergio Martins
f8d0ffe7ba
Fix a few clazy warnings
2020-12-22 16:02:55 +00:00
Sergio Martins
10f47a701f
Fix -Wclazy-copyable-polymorphic
2020-12-22 15:38:50 +00:00
Sergio Martins
d3224ed266
Fix -Wclazy-qstring-arg
2020-12-22 15:28:29 +00:00
Sergio Martins
2ccb5391bb
Fix -Wclazy-detaching-temporary
2020-12-22 15:14:28 +00:00
Sergio Martins
5c0c9799a4
Fix build with clang -Wsigness
2020-12-22 15:14:13 +00:00
Sergio Martins
5ccbb5b056
build-all.dart: no need to pass the cmake variables
...
they are already in the preset
2020-12-22 12:28:32 +00:00
Sergio Martins
fc04455e93
build-all.dart: Update the usage comment
2020-12-22 12:15:15 +00:00
Giuseppe D'Angelo
17539e5b88
Frame: stop using "virtual" signals
...
They don't work as expected across DLL boundaries on MSVC: connecting
to Frame::isFocusedChanged using the PMF syntax fails.
The reason has to do with how MSVC implements pointers to virtual
function members: they are "regular" function pointers to a DLL-local
stub that implements the virtual call. For that reason, a connect()
happening in client code would generate a pointer for the signal that
doesn't compare equal to the same pointer generated from inside KDDW;
and moc-generated code relies on this comparison to find the index of
the signal.
Just avoid the whole thing: rename the non-signal virtual call into a
"callback", and reimplement it in the first QObject subclass to turn it
into a proper signal.
2020-12-22 11:54:44 +00:00
Sergio Martins
e53b9c71da
Update build-all.dart with the contents from master
...
Adding the --tests option should have been done in 1.2 branch
2020-12-21 20:19:59 +00:00
Sergio Martins
9275f852d6
CMakePresets: Enable sanitizers for our developer builds
2020-12-21 20:06:40 +00:00
Sergio Martins
1cc8824f84
Workaround shiboken crash, found by Milian
2020-12-21 12:41:09 +00:00
Allen Winter
f8dfde2784
README.md - add a "Using" section
2020-12-20 08:27:00 -05:00