Sergio Martins
d738f6f43f
Fix Config::Flag enumerators with the same value
2020-08-30 17:52:01 +01:00
Sergio Martins
ae000e75bc
Allow DockWidget::setWidget() to be called multiple times
...
Fixes #66
2020-08-30 14:43:12 +01:00
Allen Winter
e017438605
FindShiboken2.cmake - fix finding the library on MacOS
2020-08-28 18:40:19 -04:00
Allen Winter
bcd29f1dcc
README.md - improve python bindings instructions
2020-08-28 12:14:32 -04:00
Allen Winter
9903780792
kddockwidgets.spec - improve description text
2020-08-27 12:17:15 -04:00
Sergio Martins
5a66d09266
example: Decouple Flag_HideTitleBarWhenTabsVisible from Flag_AlwaysShowTabs
...
New swtich -z will trigger Flag_AlwaysShowTabs.
use -zt for what was -t before.
This is more granular now, as they are mix and match
2020-08-27 14:52:48 +01:00
Sergio Martins
e3f89b6c17
Remove unneeded include
2020-08-25 21:57:55 +01:00
Sergio Martins
9d8587aa40
Remove empty file
2020-08-25 21:56:23 +01:00
Sergio Martins
4b4d839074
Expose more private API so users can use the full power
...
Installed more private headers.
TabWidget_p.h was moved into widgets/ as the QtQuick impl won't
use that abstraction. Could even be folded into TabWidgetWidget.
Fixes #65
2020-08-25 21:46:46 +01:00
Sergio Martins
1c65b3e453
Remove examples/qtquick from the 1.0 branch
...
Should be in master only
2020-08-24 14:36:30 +01:00
Sergio Martins
70a4ca6533
Updated README with the new features
2020-08-24 14:35:07 +01:00
Sergio Martins
073647cf79
Add a minimal example
...
The other example is getting too big. Minimal is best to get
started
2020-08-24 13:49:56 +01:00
Sergio Martins
90da74b211
ChangeLog: Fill in the changes for 1.0
2020-08-23 13:46:29 +01:00
Sergio Martins
fbe88f7b99
ChangeLog: Remove the mention to 1.1
...
Since we're on 1.0 branch
2020-08-23 13:34:29 +01:00
Sergio Martins
05276999ad
ChangeLog: Fix dates and versions
...
1.0 wasn't released yet
2020-08-23 13:34:11 +01:00
Sergio Martins
a1c473fb0e
Override QMainWindow::setCentralWindow() to make it private
...
The central widget is used internally by KDDW to make all of this
possible. It shouldn't be used by users
2020-08-22 17:03:55 +01:00
Allen Winter
721b4de55e
.krazy - add checks
2020-08-15 10:14:53 -04:00
Sergio Martins
f1b9ce714b
Fix building user apps out of repo
...
Our example was being built as part of KDDW, so that worked fine.
Now it can also be built with an installed KDDW.
Problem was the folder hiearchy in the installed include dir
didn't match the folder hiearchy in the source repo
Fixes #62
Cherry-picked from master's 037fa76fff
1.0 makes more sense
2020-08-14 18:47:03 +01:00
Sergio Martins
2b0a426135
Fix crash if a FloatingWindow gets a native event too late
...
If delete is already scheduled and the multisplitter is already gone
we shouldn't handle the native event anymore
Fixes #63
2020-08-14 18:29:38 +01:00
Sergio Martins
369a020d81
readability: Rename m_beingDeleted to m_deleteScheduled
2020-08-14 18:29:38 +01:00
Allen Winter
b1b5cd169a
various fixes for the OBS config
2020-08-12 18:06:07 -04:00
Allen Winter
5061620f46
kddockwidgets.spec - build requires qt5-qtx11extras-devel
2020-08-12 12:55:22 -04:00
Allen Winter
23ee5d538c
buildsystem - install versioned .so libraries (non-Windows)
2020-08-12 12:49:42 -04:00
Sergio Martins
fa0576362d
Don't install the BSD license
...
The ECM modules aren't installed nor redistributed with the binaries,
they're just used while developing. Also don't want to create licensing
confusion
2020-08-12 11:07:32 +01:00
Allen Winter
40d868581b
.krazy - add another checker
2020-08-11 12:10:34 -04:00
Allen Winter
f8a6bd7ad4
cmake/QtInstallPaths.cmake - update SPDX info in header
2020-08-10 17:00:30 -04:00
Allen Winter
635a63deba
add license+copyright header to some CMake files.
2020-08-10 16:54:04 -04:00
Allen Winter
8731450cda
fwd_headers - add copyright+license header
...
makes reuse happy
2020-08-10 16:38:29 -04:00
Allen Winter
1eb5392aef
cmake/.../ECMEnableSanitizers.cmake - update from upstream
2020-08-10 16:27:55 -04:00
Allen Winter
f58a76426a
examples/qtquick/main.cpp - add copyright+license header
2020-08-10 16:27:37 -04:00
Allen Winter
2e6623c9e7
LICENSES/BSD-3-Clause.txt - add for the cmake ECM files
2020-08-10 16:21:27 -04:00
Sergio Martins
2fdb85f3fb
Fix build with 5.9
2020-08-08 17:32:26 +01:00
Sergio Martins
0a6f760100
Fix a couple of clazy warnings
2020-08-07 22:23:08 +01:00
Sergio Martins
8db40d368c
pass QStringList by const-ref
2020-08-07 22:00:44 +01:00
Sergio Martins
96a3eea108
Silence some clazy warnings which are benign in this context
2020-08-07 21:56:17 +01:00
Sergio Martins
47b20f03f9
Fix -Wclazy-copyable-polymorphic
2020-08-07 21:52:20 +01:00
Sergio Martins
bdcd8c1e20
Fix -Wclazy-range-loop
2020-08-07 21:50:46 +01:00
Sergio Martins
eaff83251c
Fix -Wclazy-fully-qualified-moc-types
2020-08-07 21:47:46 +01:00
Sergio Martins
1cdd1a1b74
Fix static build on Windows
...
The STATICBUILD macros should:
- Be PUBLIC, so anyone linking against kddw gets them
- Not needed to be included in all targets, just link other targets and
they'll inherit
fixes linker errors
2020-08-07 21:24:43 +01:00
Sergio Martins
21938e4b3f
Fix Windows build
...
The "BUILDING_*" macros are only to be defined on the dll that's
being build, so that the export macros expand to QT_EXPORT
The kddockwidgets target had the BUILDING_MULTISPLITTER macro, so
it included multisplitter.dll's symbols with QT_EXPORT, instead of
import, so couldn't work, resulting in linker errors
2020-08-07 21:12:52 +01:00
Allen Winter
95710d9e5e
README.md - add more info links
2020-08-07 12:41:03 -04:00
Allen Winter
8a3252473f
buildsystem - support static library build
2020-08-07 12:26:27 -04:00
Allen Winter
c52c8922dc
add OBS files
2020-08-07 12:19:27 -04:00
Sergio Martins
80dcd57d91
qml: warn instead of crashing
2020-08-06 23:39:50 +01:00
Sergio Martins
37590b44d7
qml: DragController now compiles with the QtQuick frontend
2020-08-06 23:31:44 +01:00
Sergio Martins
051f8ab3a6
qml: Implement widgetForWindow
2020-08-06 23:17:28 +01:00
Sergio Martins
78dcb0f7f3
qml: Abstract some methods that QQuickItem doesn't have
...
geometry(), isMinimized(), etc.
2020-08-06 23:10:08 +01:00
Sergio Martins
6bb0d7ab08
Silence debug noise
2020-08-06 18:34:50 +01:00
Sergio Martins
c7afbf0803
qml: make qtTopLevelUnderCursor_impl() receive QWindow
...
QWindow works for both QtWidgets and QtQuick
2020-08-06 18:30:53 +01:00
Sergio Martins
bbea17b81b
Make DockRegistry use QWindow to represent top-levels
...
Not QWidget/QQuickItem, since QtQuick uses QWindow (QQuickWindow),
not QQuickItem. Unlike QtWidgets, where QWidget can be used for both
purposes.
2020-08-06 18:03:25 +01:00