Sergio Martins
a8c9735652
wayland: Add needed API to WindowBeingDragged
...
So it can act as a substitute for FloatingWindow, which we don't
always have during a drag
2020-10-14 20:34:55 +01:00
Sergio Martins
93b25b6a31
Make MultiSplitter::rectForDrop() receive WindowBeingDragged
...
Instead of FloatingWindow, which won't exist on wayland while a
drag is in progress.
2020-10-14 20:25:09 +01:00
Sergio Martins
03b575d16e
quick: Fix MultiSplitter()::mainWindow()
...
Works now for QtQuick
2020-10-06 21:04:25 +01:00
Sergio Martins
3718d3fe79
Silence false-positive pointed out by Coverity
2020-09-30 10:33:58 +01:00
Sergio Martins
bb30f322a3
Fix size when docking a floating window
...
The docked widget would have the size of the window's contents,
we should use the size of the floating window instead.
The difference is just the title bar. When docked, the title bar
belongs do Frame, while when Floating it belongs to FloatingWindow.
When doing the docking calculation the frame's title bar is still hidden
Fixes issue #84
2020-09-28 18:47:46 +01:00
Sergio Martins
c210a523e3
Focus the newly dropped dock widget
...
When we drag a dock widget into a another widget, we should focus it
Fixes issue #77
2020-09-26 17:44:30 +01:00
Sergio Martins
83eda81263
Minor code simplification
2020-08-24 17:58:42 +01:00
Sergio Martins
fa7e8af014
qml: Remove QWidget'isms from MultiSplitter
2020-07-26 21:53:05 +01:00
Sergio Martins
7d01b7649a
qml: Move MultiSplitter out of widgets/
...
Will make it shared to both stacks
2020-07-26 21:46:09 +01:00