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
Sergio Martins
59a9ab6642
tests: Remove org.kde.desktop from warning blacklist
...
It's now solved by not using the kde QQC2 style. So no need to polute
the warning list
2020-10-03 23:07:49 +01:00
Sergio Martins
7ee5949ae2
tests|quick: Fix memory leaks
2020-10-03 23:07:04 +01:00
Sergio Martins
721f08e29b
tests: Show the QQuickView and cleanit up
...
Also commit main.qml I forgot
2020-10-03 22:49:27 +01:00
Sergio Martins
df07133c9d
tests: Silence some QML warnings from KDE theme plugin Kirigami
...
We don't want tests to abort because of that
2020-10-03 22:48:28 +01:00
Sergio Martins
b9e3024720
tst_common now passes for QtQuick
...
Needed a view
2020-10-03 22:10:38 +01:00
Sergio Martins
d848d3e39a
MainWindow: Receive either QWidget or QQuickItem as parent
...
No need to receive the more complex adapters
2020-10-03 22:09:56 +01:00
Sergio Martins
3f26f4c8f2
Remove unused variable
2020-10-03 22:09:26 +01:00
Sergio Martins
dc9d709dd7
quick: Use proper icons for close and float
...
No more red rectangles
2020-10-03 18:55:33 +01:00
Sergio Martins
543f734650
Added DragController::enableFallbackMouseGrabber()
...
So it's easier to test the fallback mouse grabber
2020-10-03 18:37:26 +01:00
Sergio Martins
3fb723a82f
quick: Fix QtQuick build
2020-10-03 18:27:22 +01:00
Sergio Martins
71c2f34ed4
quick: Add needed pure virtual FrameQuick::renameTab()
...
Not needed to have much of an impl, it's just to fix the build.
For QtQuick the tab's titles are updated via bindings
2020-10-03 18:15:56 +01:00
Sergio Martins
d4b3bf9de6
quick: Added support for showMinimized()
2020-10-03 18:11:33 +01:00
Sergio Martins
2b234f313c
quick: Remove some QWidget specific code from MainWindowBase
2020-10-03 18:10:23 +01:00
Sergio Martins
d1b2d17f7d
Allow the normal/restore icon to be different than float/dock
...
Allow we use the same icon, the user might now want to, so allow
them to use a different icon
2020-10-03 14:58:07 +01:00
Sergio Martins
f062ab7a64
TitleBar: Move button construction into the FrameWorkWidgetFactory
...
So it can be more easily overridden by the user.
A virtual in TitleBarWidget is not good enough as we can't call virtuals
when in the ctor
2020-10-03 14:52:44 +01:00
Sergio Martins
f009f57581
Move TitleBarButtonType next to all other enums
2020-10-03 14:29:36 +01:00
Sergio Martins
f86a818e69
TitleBar: Add an enum to describe each button type
2020-10-03 14:24:40 +01:00
Sergio Martins
bb80c2158d
Fix outter_bottom_active.png
...
Was missing an outline for some reason
2020-10-03 13:57:32 +01:00
Sergio Martins
86fa6258f6
Comment++
2020-10-03 13:56:51 +01:00