Sergio Martins
ae42dffcb1
Update Changelog regarding new nested MDI feature
2022-01-24 18:48:00 +00:00
Sergio Martins
22a9ce2596
Merge branch '1.5'
2022-01-21 12:01:38 +00:00
Sergio Martins
93b664414b
X11: Add support for robust z-order detection
...
Qt doesn't provide any way to know which window is directly
bellow the cursor. Generally this is fine since floating windows
are always on top of the main window. However, if Qt::Tool is removed,
then they can be behind, and KDDW can't know which window to overlay
the drop indicators onto.
This patch uses XLib's XQueryTree to solve this.
This is still experimental, hence disabled by default.
For now it's disabled by default, since it's experimental.
You can turn it on by passing -DKDDockWidgets_XLib=ON
Fixes bug #256
(cherry-picked from b20ce0895b as it's safe enough)
2022-01-21 11:56:48 +00:00
Sergio Martins
66cc9ddc03
Updated ChangeLog
...
Closes #259
2021-12-22 15:39:00 +00:00
Sergio Martins
b20ce0895b
X11: Add support for robust z-order detection
...
Qt doesn't provide any way to know which window is directly
bellow the cursor. Generally this is fine since floating windows
are always on top of the main window. However, if Qt::Tool is removed,
then they can be behind, and KDDW can't know which window to overlay
the drop indicators onto.
This patch uses XLib's XQueryTree to solve this.
This is still experimental, hence disabled by default.
For now it's disabled by default, since it's experimental.
You can turn it on by passing -DKDDockWidgets_XLib=ON
Fixes bug #256
2021-11-25 20:59:16 +00:00
Allen Winter
f1410948f8
Merge branch '1.5'
2021-11-24 16:51:38 -05:00
Allen Winter
30185d5b2a
This is would become version 1.5.1
2021-11-24 16:49:11 -05:00
Allen Winter
573e82e9eb
update 1.5.0 release date
2021-11-24 12:20:15 -05:00
Allen Winter
3007b46892
ready for 1.5 release
2021-11-22 08:16:54 -05:00
Allen Winter
5376ceec7e
prep for the 1.5.0 release
2021-11-19 15:39:19 -05:00
Sergio Martins
77392709e2
Merge branch '1.5'
2021-11-18 14:03:00 +00:00
Sergio Martins
b6770217bb
README: Mention 5.15 is required
...
5.12 no longer compiles
2021-11-18 14:01:59 +00:00
Sergio Martins
c8b22e7ea5
Fix "Unpin" button not showing up in overlayed widgets
2021-11-18 12:15:23 +00:00
Allen Winter
6fd0b4ddee
CMakeLists.txt, Changelog - this will be version 1.6
2021-11-15 09:55:47 -05:00
Sergio Martins
a8bd6ba840
Fix corrupt layout when restoring old JSON
...
If the old *.json file doesn't know about some new docked widget
then we need to float it before restoring the main window
Fixes #237
2021-10-12 11:16:15 +01:00
Sergio Martins
1ccdf445eb
Introduce MainWindowOption_HasCentralWidget
...
You can now set an arbitrary widget as "central widget".
It's similar to MainWindowOption_HasCentralFrame, however the widget
won't be detachable and won't show tabs.
Similar to what you'd get with QMainWindow central widget concept.
Example:
QWidget *myWidget = new MyWidget();
mainWindow->setPersistentCentralWidget(myWidget);
Fixes #225
2021-08-30 10:12:46 +01:00
Allen Winter
3e1ea3ec67
Changelog - mention Qt6 co-installability
2021-08-16 17:21:26 -04:00
Allen Winter
e91849759c
python/CMakeLists.txt - use PyKDDockWidgetsQt6 namespace for Qt6
...
follow PySide6 naming convention
2021-08-10 08:29:50 -04:00
Allen Winter
73ca6e6671
buildsystem - install the Python bindings into standard "site-packages"
...
Follow Python standards and install the bindings into
<prefix>/lib/pythonX.Y/site-packages
sync the Python cmake files with KDAB repository
2021-07-23 12:05:02 -04:00
Allen Winter
990fac9a0a
open for 1.5 - new features
2021-07-16 13:02:05 -04:00
Allen Winter
1d968bd902
CMakeLists.txt, Changelog - open for 1.4.1
2021-07-16 12:59:12 -04:00
Allen Winter
9a784f1222
ready for 1.4.0 release
2021-07-16 11:13:13 -04:00
Allen Winter
4a390696d5
CMakeLists.txt - Set default CMAKE_BUILD_TYPE to Release for non-dev
...
In non-developer situations default CMAKE_BUILD_TYPE=Release
2021-07-16 09:42:43 -04:00
Allen Winter
22a709a39e
fix more misspellings
2021-07-15 10:14:04 -04:00
Allen Winter
11a1023e79
src/CMakeLists.txt - generate and install camelcase headers
...
for public headers and exported classes only
2021-07-13 16:58:25 -04:00
Sergio Martins
3c5f07ac79
Update ChangeLog
2021-07-13 17:34:00 +01:00
Sergio Martins
8800c02403
Fix persistent central frame becoming invisible
...
Wouldn't affect functionality but would have a different color.
Fixes #220
2021-07-13 08:19:05 +01:00
Sergio Martins
e1578436d0
Added Flag_ShowButtonsOnTabBarIfTitleBarHidden
2021-07-01 18:08:41 +01:00
Allen Winter
d7bcbe666c
Require Qt5.12 or higher
2021-06-26 08:46:52 -04:00
Sergio Martins
ec681e99ca
Disable translucency when KDDW_NO_TRANSLUCENCY env var is set
...
Useful for running on weird window managers which don't support
transparent windows.
2021-06-25 14:31:00 +01:00
Sergio Martins
b68f81779c
Fix possible crash
...
Observed with an MFC application
2021-06-18 16:02:33 +01:00
Sergio Martins
206433e430
Fix embedding in non-KDDW QMainWindow
...
Supports the case of having our KDDW MainWindow parented to another
main window. Was broken on Windows.
2021-06-14 06:43:06 +01:00
Allen Winter
3454185df4
Merge branch '1.3'
2021-06-07 17:14:25 -04:00
Allen Winter
9de0868c74
open for 1.3.2 (unknown yet if there will be such a thing)
2021-06-07 17:13:07 -04:00
Allen Winter
1ce67b1c8f
prep for 1.3.1 release
2021-06-07 16:09:03 -04:00
Sergio Martins
cd0f2f4e33
Introduced Config::setDropIndicatorsInhibited(bool)
...
Allows you to disable support for drop indicators while dragging
2021-05-18 18:00:04 +01:00
Sergio Martins
f388b11d0d
Added MainWindowBase::frameCountChanged()
...
So you can know when the layout added or removed dock widgets
Fixes #190
2021-04-28 16:28:04 +01:00
Sergio Martins
dcac39a35f
Don't restore window's maximized state when using RestoreOption_RelativeToMainWindow
...
We don't restore main window's geometry either
Fixes issue #184
2021-04-27 23:50:40 +01:00
Sergio Martins
74c74593e2
Don't restore window's maximized state when using RestoreOption_RelativeToMainWindow
...
We don't restore main window's geometry either
Fixes issue #184
2021-04-26 19:19:06 +01:00
Sergio Martins
1f4f7ec0e5
FloatingWindow now honours max size of the docked widget
...
Only if there's a single dock widget though.
Tabbed cases are more complicated as QStackedLayout doesn't
propagate size constraints
2021-04-20 21:00:33 +01:00
Sergio Martins
1167545199
Update Changelog
2021-04-05 16:51:36 +01:00
Sergio Martins
19730ab6a4
Fix crash when using MainWindow::layoutEqually()
...
When distributing space we should honour the other widgets
min-size too, and not give too much
Since the layouting code is complex, this won't be backported to
1.3
2021-03-31 15:23:24 +01:00
Sergio Martins
44ae75110b
Added MainWindowBase::closeAllDockWidgets()
2021-03-31 10:51:20 +01:00
Sergio Martins
c2c37488a3
Merge branch '1.3'
2021-02-26 17:26:35 +00:00
Sergio Martins
8c1840b9cf
Fix popups in overlayed dockwidgets not working
2021-02-26 17:26:04 +00:00
Sergio Martins
ff67b9bcbc
Merge branch '1.3' into master
2021-02-26 15:20:32 +00:00
Sergio Martins
103de4f910
Update ChangeLog
2021-02-26 15:15:29 +00:00
Sergio Martins
d4d222ebd3
Update ChangeLog
2021-02-25 22:01:54 +00:00
Sergio Martins
acdf03fc84
Merge branch '1.3' into master
2021-02-24 13:56:28 +00:00
Sergio Martins
a6f19e07c4
Fixed Flag_NativeTitleBar not hidding the client title bars
...
When restoring the layout the native title bar would be visible
Fixes #170
2021-02-24 13:52:44 +00:00