Sergio Martins
961600fe74
qtquick: fix build
...
MainWindow.h is specific to QtWidgets
2020-08-22 19:19:59 +01:00
Sergio Martins
7fdca76a4c
indicators: Use enum class for the type
2020-08-22 19:16:24 +01:00
Sergio Martins
32592f6ad1
classic indicators: Remove unneeded hidding in ctor
...
Already done in base class
2020-08-22 19:13:26 +01:00
Sergio Martins
1545e98e6d
Merge branch '1.0' into master
2020-08-22 18:58:42 +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
85b3feb10b
Merge branch '1.0'
2020-08-15 10:15:26 -04:00
Allen Winter
721b4de55e
.krazy - add checks
2020-08-15 10:14:53 -04:00
Sergio Martins
d9fdd20caa
Add DockWidgetBase::isFocusedChanged
...
Fixes : #60
2020-08-15 00:46:41 +01:00
Sergio Martins
9e2d001ac5
Add DockWidget::isFocused() for issue #60
...
Needs a signal now
2020-08-14 23:51:35 +01:00
Sergio Martins
750f9b6142
tests: Add strong-focus to the widget
2020-08-14 23:00:14 +01:00
Sergio Martins
1c3cf8cf2d
Merge branch '1.0' into master
2020-08-14 18:47:42 +01: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
db19cb40d7
Merge branch '1.0' into master
2020-08-14 18:30:00 +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
Sergio Martins
037fa76fff
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
2020-08-14 17:49:24 +01:00
Sergio Martins
caa2ece751
qml: Move the 1st test from tst_docks to tst_common
2020-08-13 00:46:55 +01:00
Sergio Martins
22f2975f3c
tests: createMainWindow() works for qml now too
2020-08-13 00:46:55 +01:00
Sergio Martins
d3323d824a
tests: Make createMainWindow return MainWindowBase
...
Instead of QMainWindow, so it works with qml too
2020-08-13 00:46:55 +01:00
Allen Winter
41d1ea8f61
various fixes for the OBS config
2020-08-12 18:07:40 -04:00
Allen Winter
b1b5cd169a
various fixes for the OBS config
2020-08-12 18:06:07 -04:00
Sergio Martins
1e85b1e7fb
tests: Share EnsureTopLevelsDeleted with qml too
...
So we can start to copy tests to tst_common without hacking them
2020-08-12 22:45:59 +01:00
Sergio Martins
75464708af
Remove unneeded debug
2020-08-12 22:00:23 +01:00
Sergio Martins
f007451442
Fix case where floatAction() wouldn't trigger
...
Fixes #58
2020-08-12 21:21:04 +01:00
Allen Winter
f591270d46
CMakeLists.txt - increase numbers. this will be v1.1 some day
2020-08-12 13:00:35 -04:00
Allen Winter
390423d0c1
Merge branch '1.0'
2020-08-12 12:59:09 -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
1aed8c7429
Merge branch '1.0' into master
2020-08-12 11:09:06 +01: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
Sergio Martins
0aee56114b
qml: Dropping a dragged window now works
2020-08-11 23:40:07 +01:00
Sergio Martins
b3ec7423e8
qml: The inner indicators are now centered
2020-08-11 22:19:51 +01:00
Sergio Martins
179cd4cf45
qml: Add properties for outter/inner indicators visibility
2020-08-11 22:19:51 +01:00
Sergio Martins
75d26c3cce
qml: Draw the inner indicators too
2020-08-11 22:19:51 +01:00
Allen Winter
40d868581b
.krazy - add another checker
2020-08-11 12:10:34 -04:00
Allen Winter
9071664ef2
.../ClassicIndicatorsOverlay.qml - copyright+license header
2020-08-11 08:14:00 -04:00
Sergio Martins
1980f9c42c
qml: Fix namespaced build
2020-08-11 09:59:25 +01:00
Sergio Martins
2c917dcd7c
qml: Show 4 proper indicators when dragging in a floating window
...
They don't do much yet, but at least appear.
2020-08-11 01:35:28 +01:00
Allen Winter
5ccf15b9ed
Merge branch '1.0'
2020-08-10 17:07:05 -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
7eaac87640
qml: Add a ClassicIndicatorsOverlay.qml file
...
Doesn't do much yet
2020-08-10 19:05:59 +01:00
Sergio Martins
5b9f08c754
Remove mapTo/From global from Layouting::Widget
...
Use the ones from QWidgetAdapter instead
2020-08-10 19:05:02 +01:00
Sergio Martins
02c165163a
DragController: Use the geometry of the QWindow
...
While this works fine for QtWidgets, where the geometry of the
top-level QWidget is the same as the QWindow, it doesn't work
for QtQuick, where the geometry of the root item starts at 0,0
2020-08-10 19:03:15 +01:00
Sergio Martins
4bbc0f1d4f
qml: Create drop indicator overlay too
...
The actual impl isn't done yet though
2020-08-09 22:45:15 +01:00
Sergio Martins
cf692797b6
qml: ClassicIndicators are now abstracted and built
...
The QtQuick counterpart just needs to be implemented
2020-08-09 20:27:05 +01:00