Sergio Martins
8a9d9f9fce
Merge branch '1.2'
2021-01-27 22:55:36 +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
Sergio Martins
afa543ec79
Fix .clang-format
...
Was complaining about Cpp14 not being a valid enumerator
2021-01-27 22:07:26 +00:00
Sergio Martins
d1df6e910b
Add a .clang-format file
2021-01-27 22:00:06 +00:00
Sergio Martins
74ae567ced
vscode: Update workspace files
...
formats code you've changed now
2021-01-27 21:32:06 +00:00
Allen Winter
8d657c5b18
Merge branch '1.2'
2021-01-27 11:59:27 -05: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
218d18793d
Remove some unneeded horizontal line from MyCentralWidget
...
The difference is minimal and probably looks very bad with dark
and custom themes.
Let's minimize the amount of hardcoded styling.
2021-01-26 19:32:10 +00: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
2e248c6658
README: Add a paragraph about versioning and API/ABI compat
2021-01-26 14:36:30 +00:00
Sergio Martins
7fbd66d54c
Merge branch '1.2'
2021-01-26 14:26:26 +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
Sergio Martins
cbc5fec119
Added Config::setDisabledPaintEvents()
...
Makes our internal widgets not override QWidget::paintEvent(),
which gives full power to the user to stylesheets.
Was already possible, but required the user to override the
internal widgets via the widget factory
For issue #146
2021-01-24 10:51:58 +00:00
Sergio Martins
81927b088b
Add CustomizableWidget enum
2021-01-24 10:15:02 +00:00
Sergio Martins
5556edd83b
vscode: prefix the vscode workspaces with "code."
...
Easier to open on command line if they have the same prefix
2021-01-23 12:41:31 +00:00
Sergio Martins
2834532b5f
example: Add a keyboard shortcut to toggle dock widgets visiblity
2021-01-21 16:22:43 +00:00
Sergio Martins
17638bc29f
Fix regression with DockWidget::toggleAction()
...
Added unit-test too.
While we're processing the toggle action triggering isOpen() is
always false.
2021-01-21 16:16:29 +00:00
Jean-Patrice Laude
67b48cc417
Add binding for LayoutSaver class
2021-01-20 16:53:32 +01:00
Sergio Martins
451996016a
Merge pull request #128 from CE-Programming/fix/pri
...
Fix issues with pri file.
2021-01-19 22:38:37 +00:00
Sergio Martins
52b9a9223d
Update ChangeLog
2021-01-19 22:25:00 +00:00
Sergio Martins
d5b80b0bbd
Fix offset when dragging too fast
...
On Windows, when we start a drag, we switch to native dragging in
mid-flight, so that AeroSnap still works
Fixes #121
2021-01-19 22:23:20 +00:00
Sergio Martins
ae14e49338
Add a comment, explains why we switch to native drag
2021-01-19 21:53:35 +00:00
Sergio Martins
c23bce9829
Minor coding style: Remove nested ifdef
2021-01-19 21:50:31 +00:00
Sergio Martins
40a549ca29
Fix double delete screwing with lastPositions()
...
Fixes #141
2021-01-18 23:37:17 +00:00
Sergio Martins
cac435a2a5
tests: Add missing cleanup
2021-01-18 22:52:54 +00:00
Sergio Martins
b81f50402a
qtquick: Fix build
2021-01-18 20:42:41 +00:00
Sergio Martins
44587cb947
Don't require LayoutSaver_p.h to be installed
...
It's impl detail that doesn't need to be installed
2021-01-18 20:37:22 +00:00
Sergio Martins
54314273a0
Merge branch '1.2'
2021-01-18 19:40:18 +00: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
64f537ad1e
Merge branch '1.2'
2021-01-18 10:15:07 -05: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
af9206f350
Merge pull request #142 from KDAB/python-build-fix
...
Fix python bindings build
2021-01-18 10:07:04 -05:00
Allen Winter
7c99bb084e
Merge branch '1.2'
2021-01-18 10:05:27 -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
Renato Araujo Oliveira Filho
1e7a2110b1
Fix python bindings build
...
Task-Id: KDABCI-692
2021-01-18 11:58:42 -03:00
Sergio Martins
243146fe49
Update ChangeLog
2021-01-17 23:24:58 +00:00
Sergio Martins
370d139dfc
Fix Flag_NativeTitleBar
...
It shouldn't use the FloatingWindow::isInDragArea() code path
2021-01-17 23:11:41 +00:00
Sergio Martins
c4e7db34a4
Minor readability improvement
2021-01-17 22:51:37 +00:00
Sergio Martins
a4f6b72157
Fix FloatingWindow::isInDragArea() returning false even with HTCAPTION
...
If the last clicked position is HTCAPTION then we're sure we're
dragging. Problem with comparing the rect is that mouse events are
async, and by the time we use the mouse event pos the window is already
somewhere else. So just use HTCAPTION, which is 100% correct.
Fixes #103
2021-01-17 16:28:11 +00:00
Sergio Martins
de3ca6dba5
vscode: Remove launch.json
...
We'll do this per workspace file instead
2021-01-17 14:10:19 +00:00
Sergio Martins
bdfcfdd0fe
Update ChangeLog
2021-01-16 22:39:11 +00:00
Sergio Martins
dbf357ce66
Fix restoring window maximized state
...
Fixes #81
2021-01-16 22:37:30 +00:00
Sergio Martins
e950cf7fc3
tests: Add a test for issue #81
2021-01-16 21:38:36 +00:00
Sergio Martins
8dfad1c910
vscode: Update the workspace files
...
Now autogenerated from CMakePresets.json.
Added the Qt6 one too.
2021-01-16 19:40:36 +00:00
Sergio Martins
107d4e973c
Remove a script I'm no longer using
2021-01-16 15:50:27 +00:00
Sergio Martins
e33766a4fa
examples: Illustrate Config::Flag_CloseOnlyCurrentTab
2021-01-16 13:19:37 +00:00
Sergio Martins
6a550c6c4a
Added Config::Flag_CloseOnlyCurrentTab
...
When clicking on the TitleBar's close button it closes all the
dock widgets in the tab, by default. With the new option it will
close only the current tab
2021-01-16 13:06:29 +00:00