Allen Winter
ece7b22bec
apidox - fix doc for enum KDDockWidgets::Config::Flag
...
doxygen likes "///<" (not "///>")
Issue#106
2020-11-22 12:17:38 -05:00
Sergio Martins
72605292b7
Don't show dock/undock icon when dockwidget is not dockable
...
Fixes issue #99
2020-11-13 15:51:26 +00:00
Sergio Martins
7318675e84
Clarify comment about fractionaly scalling factors
...
The problem can happen on Windows too.
Fixes issue #94
Nothing more we can do here, it's fixed for Qt 5.15.2.
2020-11-02 11:36:24 +00:00
Allen Winter
8a51c31663
OBS - update for 1.1.0 release
v1.1.0
2020-10-26 12:14:46 -04:00
Sergio Martins
a586a7894b
cmake: Qt5::GuiPrivate is only needed on Windows
2020-10-26 16:14:07 +00:00
Sergio Martins
31fcbebaff
ChangeLog: Add the date of 1.1 release
2020-10-26 15:29:47 +00:00
Sergio Martins
392dac5691
Use Qt::WA_PendingMoveEvent instead of Qt::WA_Moved
...
We check if the user provided position before putting a floating
window in a default position. Qt::WA_Moved however has the problem
that it's not cleared, so second time you show a window, it will
have it, even if user didn't set geometry.
Use Qt::WA_PendingMoveEvent instead, which was made for tracking
moves made before the first show.
2020-10-23 17:07:14 +01:00
Sergio Martins
29744c01c6
ChangeLog: Added Config::setTabbingAllowedFunc
2020-10-23 10:33:37 +01:00
Sergio Martins
49e488df24
remove roadmap from 1.1 ChangeLog
...
We only have it for master
2020-10-23 10:29:57 +01:00
Sergio Martins
1a3f00eac8
ChangeLog: Added HDPI improvements
2020-10-23 10:29:00 +01:00
Sérgio Martins
c6ea8d5525
ChangeLog: Remove mention to 1.0.1 release
...
We're releasing 1.1 asap
2020-10-23 10:23:52 +01:00
Sergio Martins
8f62004f5b
cmake: Remove QTQUICK option for 1.1
...
Leave it in master only.
2020-10-19 21:23:44 +01:00
Sergio Martins
f698b56dad
relax test
...
Seems to happen with 5.15 static. It's benign anyway
2020-10-16 22:02:45 +01:00
Sergio Martins
4ed18fdf1d
Introduce Config::setTabbingAllowedFunc(<lambda>)
...
This gives a lot of power to the user to disallow tabbing two dock
widgets, while still allowing them to be docked side by side. As
this can't be achieved with affinities.
Instead of adding API which might not be enough soon, just allow
the user to pass a lambda and implement his very custom requirement.
Fixes #91
2020-10-16 21:56:33 +01:00
Sergio Martins
6e05f13c77
Added FloatingWindow::dockWidgets()
2020-10-16 21:48:47 +01:00
Sergio Martins
a146cd81b2
Fix mac tests build
2020-10-16 20:52:22 +01:00
Sergio Martins
ac6d845c8d
Skip tests on macOS+offscreen if Qt <= 5.15.0
...
There's a bug in Qt qpa only fixed in 5.15.1
2020-10-16 20:35:04 +01:00
Allen Winter
77f259a435
README.md - contact info
2020-10-15 16:06:26 -04:00
Allen Winter
7ebc3f3533
src/DockWidgetBase.h - fix compile after merge from master
2020-10-15 12:43:29 -04:00
Renato Araujo Oliveira Filho
0ee94b425e
Fixed python bindings generation
2020-10-15 12:38:32 -04:00
Allen Winter
e57b46979d
buildsystem - fix installation path for Python bindings
2020-10-14 16:27:18 -04:00
Allen Winter
683b67abb0
buildsystem - install libs with symlinks for the major vers
2020-10-14 15:59:53 -04:00
Allen Winter
697c140883
set version to 1.1.0
2020-10-14 10:07:48 -04:00
Sergio Martins
819725351a
Fix -Wweak-vtables warnings
2020-10-14 14:55:28 +01:00
Allen Winter
07db9f9a7a
cmake/Python/FindShiboken2.cmake - clean
2020-10-13 13:23:39 -04:00
Allen Winter
77d7cd7d58
buildsystem - namespace CMake options
...
OPTION_DEVELOPER_MODE => KDDockWidgets_DEVELOPER_MODE
OPTION_BUILD_PYTHON_BINDINGS => KDDockWidgets_PYTHON_BINDINGS
PYTHON_BINDINGS_INSTALL_PREFIX =>
KDDockWidgets_PYTHON_BINDINGS_INSTALL_PREFIX
OPTION_QTQUICK => KDDockWidgets_QTQUICK
2020-10-13 12:28:49 -04:00
Allen Winter
e5cb42c4fe
CMakeLists.txt - improve installing to non-KDAB location
2020-10-13 11:32:12 -04:00
Allen Winter
1fe1d619a9
footer.html - update tag line
2020-10-13 11:30:14 -04:00
Sergio Martins
b00d1d80b0
Merge branch '1.0' into 1.1
2020-10-12 18:09:54 +01:00
Sergio Martins
67bb42c5b4
Fix infinite loop when updating title bar visibility
...
Not exactly infinite, just exponential growth or worse
Fixes #92
2020-10-12 18:09:32 +01:00
Allen Winter
f5099167b6
misspelling--
2020-10-10 05:29:08 -04:00
Sergio Martins
17df7b5b4e
Install DragController_p.h
...
Still private. It's for advanced used only.
2020-10-09 16:56:43 +01:00
Sergio Martins
15dc64d550
quick: Fix positioning windows when floating them
...
- Resizing the FloatingWindow wasn't resizing the QQuickView
- QQuickItems were being created as visible, while QWidgets are
created invisible. Fixed this difference in behaviour
2020-10-07 19:43:40 +01:00
Sergio Martins
03b575d16e
quick: Fix MultiSplitter()::mainWindow()
...
Works now for QtQuick
2020-10-06 21:04:25 +01:00
Sergio Martins
4cacee45e8
Export MultiSplitter
...
Has powerful private api which could be useful
2020-10-06 11:03:52 +01:00
Sergio Martins
873b860203
ItemContainer: Make some getters public
...
They're decent private api for some very custom use cases
2020-10-06 10:53:15 +01:00
Sergio Martins
128ae2d889
Fix separators not being deleted
...
Bug found with QtQuick but also reproducible with QtWidgets.
Added unit-test for both stacks.
2020-10-05 18:25:33 +01:00
Sergio Martins
b0ec0e22e4
quick: Remove unused Separator.qml
...
We have one in multisplitter/ already
2020-10-05 17:34:27 +01:00
Sergio Martins
6aa4e979dc
Added DockWidgetBase::hasPreviousDockedLocation()
2020-10-05 13:52:36 +01:00
Sergio Martins
36f225b859
Fix build with MinGW, no pragma link
...
Instead use cmake to link, which is cleaner anyway.
As a drive-by, remove the QtWidget check from the headers includes,
as QtQuick also needs Dwm lib
2020-10-05 03:15:36 -07:00
Sergio Martins
48a75b2450
Fix namespaced build
2020-10-05 10:21:20 +01:00
Sergio Martins
2af4f939dd
tests|quick: Fix leak
2020-10-04 20:37:00 +01:00
Sergio Martins
b592d21064
quick: Also run tst_resizeWindow2 for QtQuick
2020-10-04 20:22:43 +01:00
Sergio Martins
3cdd5afe7a
quick: Fix ownership of the floating view
...
Not nice to delete it in two places.
2020-10-04 20:16:30 +01:00
Sergio Martins
0ef56c1302
quick: Fix the overlay from minimizing windows being dragged
2020-10-04 19:41:26 +01:00
Sergio Martins
96f7f38a0e
tests|quick: Set a source in the view, so we have a root item
2020-10-04 19:39:13 +01:00
Sergio Martins
689ba7da8f
quick: Make dealing with window flags more stable
...
There's only one place where we need to set the flags, it's when
creating the FloatingWindowQuick. So no need to complex machinery
which is bug propne
2020-10-04 11:12:35 +01:00
Sergio Martins
951aeece6e
quick: Make DockWidgetBase::setWidget() virtual
...
The QtQuick counter-part needs to do some specific things, like
settings anchors.parent: fill on it, and parenting it
2020-10-04 00:01:32 +01:00
Sergio Martins
2ea0d54e6c
quick: Fix floating windows not having the correct window flags
...
Add a unit-test too.
2020-10-03 23:30:13 +01:00
Sergio Martins
1c98fe04ca
Fix build
2020-10-03 23:11:40 +01:00