Sergio Martins
a0c97e3388
Fix layout save restore when using MainWindowOption_HasCentralWidget
...
Those checks don't make sense anymore
2021-09-02 11:05:57 +01:00
Sergio Martins
d2a3968897
tests: Add tests for MainWindowOption_HasCentralWidget
2021-09-02 10:53:08 +01:00
Sergio Martins
4ea7953a76
Don't allow to overlay central widget
2021-09-02 10:52:56 +01:00
Sergio Martins
0cc0972eea
Don't allow to close/float/tab persistent central widget
...
Fixes corner cases with MainWindowOption_HasCentralWidget
2021-09-02 10:30:34 +01:00
Sergio Martins
77b5d1630d
Added DockWidget::isPersistentCentralDockWidget()
2021-09-02 10:24:43 +01:00
Sergio Martins
f962989484
Fix MainWindow::addDockWidgetAsTab with MainWindowOption_HasCentralWidget
...
When using central widget no tabs are supported
2021-09-02 10:17:37 +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
Sergio Martins
3fb8861eee
Remove "EXPERIMENTAL" comment from MDI option
...
MDI doesn't have known bugs
2021-08-29 17:43:21 +01:00
Allen Winter
78381badd1
docs/api/Doxyfile.cmake - not generating latex
...
hard-code LATEX_CMD_NAME to latex since we won't
be generating the latex documentation; else we
have an ununitialized variable for @LATEX_COMPILER@
2021-08-25 15:26:32 -04:00
Allen Winter
8b1a9f2a41
README.md - Add info about Using in Qt6 projects
2021-08-24 09:24:30 -04:00
Sergio Martins
9ee52a0011
Merge branch '1.4'
2021-08-22 16:34:25 +01:00
Sergio Martins
240169ce23
Fix bug where the central frame would be detached
...
We don't allow detaching the central frame.
Fixes #228
2021-08-22 16:33:19 +01:00
Allen Winter
97a431f367
docs/api/Doxyfile.cmake - set PAPER_TYPE to a4
...
a4wide is no longer supported
2021-08-19 12:29:44 -04:00
Allen Winter
3769ad9615
python/PyKDDockWidgets/CMakeLists.txt - link to Python3 dev libs
2021-08-19 11:28:18 -04:00
Allen Winter
8332ab3ddc
CMakeLists.txt - add LINKER_FLAGS fo various platforms
...
set CMAKE_SHARED_LINKER_FLAGS and CMAKE_SHARED_LINKER_FLAGS
- Linker warnings should be treated as errors
- Do not allow undefined symbols, even in non-symbolic shared libraries
2021-08-19 11:23:54 -04:00
Allen Winter
3b4a2f134f
docs/api/Doxyfile.cmake - don't use fullpaths to makeindex
...
@MAKEINDEX@ expands to the fullpath /usr/bin/makeindex
breaks 'make pdf' in build/docs/api/latex
2021-08-19 11:23:34 -04:00
Allen Winter
5899e3716c
CMakeLists.txt - Enable hidden visibility by default
...
"It's just good practice, catching some problems with missing
export macros that would otherwise only affect Windows,
and reducing the number of exported symbols on Unix."
2021-08-16 17:34:08 -04:00
Allen Winter
25bc05ae40
docs/api/CMakeLists.txt - introduce user variable QCH_INSTALL_DIR
...
provide a user settable variable (as in -DQCH_INSTALL_DIR=/path)
to override the qch file default installation location.
2021-08-16 17:29:48 -04:00
Allen Winter
f42629a6e5
docs/api/CMakeLists.txt - install the doxygen tagsfile
2021-08-16 17:28:58 -04:00
Allen Winter
192cb2daaa
buildsystem - a bit of re-organizing the docs/api CMake
2021-08-16 17:28:09 -04:00
Allen Winter
63cc87af2d
docs/api/Doxyfile.cmake - update and consistency
2021-08-16 17:25:31 -04:00
Allen Winter
3e1ea3ec67
Changelog - mention Qt6 co-installability
2021-08-16 17:21:26 -04:00
Allen Winter
c27a09c13c
Merge branch '1.4'
2021-08-16 13:28:02 -04:00
Allen Winter
b3486ebca8
CONTRIBUTORS.txt - update
2021-08-16 13:27:43 -04:00
Albert Astals Cid
6a7230e546
Update qt6-kddockwidgets.spec for new paths
2021-08-12 15:39:43 +02:00
Allen Winter
ca173de71d
CMakeLists.txt - fix typo "set(d fault_build_type)"
2021-08-12 07:35:40 -04:00
Allen Winter
5732e8ed14
CMakeLists.txt - minor reorganizing
2021-08-11 19:49:19 -04:00
Albert Astals Cid
5cc7a0864b
Fix KDDockWidgetsConfig to require the proper Qt version
...
And for Qt5X11Extras we only require it if building the Qt5 one
2021-08-11 16:26:10 +02:00
Albert Astals Cid
e4671f175c
Install the qt6 cmake targets in prefix lib/cmake/KDDockWidgets-qt6
...
So it does not collide with the qt5 files
2021-08-11 16:19:05 +02:00
Albert Astals Cid
17fd6b2454
Make Make qt5/qt6 documentation coinstallable
2021-08-11 15:44:19 +02:00
Albert Astals Cid
7ed3945d58
Make qt5/qt6 includes coinstallable
...
Even if they are "the same file" it's always good to not have packages
trying to install over the same files.
Since we don't want users to have to change their existing
#include <kddockwidgets/DockWidget.h>
We install the qt6 includes in include/kddockwidgets-qt6/kddockwidgets
and change the cmake target INTERFACE_INCLUDE_DIRECTORIES to be
"${_IMPORT_PREFIX}/include/kddockwidgets-qt6"
so everything is transparent for the user
2021-08-11 15:22:29 +02:00
Allen Winter
35de0a2fef
python/examples-qt6 - PySide6 and PyKDDockWidgetsQt6 version
2021-08-10 08:52:54 -04:00
Allen Winter
8a0e475f21
python/examples - "PySide" => "PySide2"
2021-08-10 08:43:12 -04:00
Allen Winter
63d14f2345
python/CMakeLists.txt - fix typo
2021-08-10 08:35:40 -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
ee3a3af408
Merge branch '1.4'
2021-08-10 08:21:11 -04:00
Allen Winter
c470c89fc6
PySide6ModuleBuild.cmake - sync
2021-08-10 08:20:32 -04:00
Allen Winter
73cfa64ebb
python/PyKDDockWidgets/__init__.py.cmake - minor comment fix
2021-08-10 08:18:48 -04:00
Sergio Martins
ffe5d5f6cb
Merge branch '1.4'
2021-08-10 10:05:13 +01:00
Sergio Martins
aff4450b42
cmake: Install QWidgetAdapter_quick_p.h too
...
Fixes #224
2021-08-10 10:04:11 +01:00
Allen Winter
d40580c550
buildsystem - rename QT_MAJOR_VERSION to Qt_VERSION_MAJOR
...
as this is consistent with CMake style and other projects
2021-08-04 16:18:31 -04:00
Allen Winter
8e19b81eb9
cmake/KDAB/modules/KDQtInstallPaths.cmake - sync
2021-08-04 16:17:27 -04:00
Kevin Funk
d5191696e1
cmake: Remove explicit policy version settings
...
These are NEW by default already for the required CMake version
2021-08-04 07:55:54 +02:00
Allen Winter
1d01466181
Merge branch '1.4'
2021-08-03 07:18:37 -04:00
Allen Winter
1cead0e2b8
python/CMakeLists.txt - adapt to new upstream FindPySide
2021-08-03 07:17:50 -04:00
Allen Winter
aff4d426b8
Merge branch '1.4'
2021-08-02 19:15:00 -04:00
Allen Winter
4597cdeda8
cmake/Python - sync
2021-08-02 19:13:46 -04:00
Allen Winter
2e7f0bf51d
cmake/KDAB/module - sync
2021-08-02 19:11:39 -04:00
Allen Winter
fa551b84f6
Merge branch '1.4'
2021-08-01 11:19:17 -04:00
Allen Winter
ce105212ab
Doxyfile.cmake - more setting consistency
2021-08-01 11:18:21 -04:00