Sergio Martins
22437e75c6
qtquick: Override min size for FrameQuick
...
Fixes constriants not propagating from dock widget to frame
2020-11-23 15:45:06 +00:00
Sergio Martins
801e49de9d
Make DockWidgetQuick::minimumSize()/max virtual
...
While for QtWidgets we have layouts which propagate the constraints
up, for QtQuick we don't, so we need to override minimumSize instead
2020-11-23 15:45:06 +00:00
Sergio Martins
9937f5d789
qtquick: Fix floating windows having a parentItem
...
they are top-level windows, so shouldn't have a parent item.
Only a QObject::parent()
2020-11-20 16:55:00 +00:00
Sergio Martins
7b2d195139
qtquick: Put the failing QtQuick tests at the end
...
So they don't corrupt the passing ones.
Approx 40 need to pass now.
2020-11-19 22:59:00 +00:00
Sergio Martins
3670cf2377
qtquick: Comment the embedded main window test
...
We don't support that yet
2020-11-19 17:49:27 +00:00
Sergio Martins
864670b0a1
qtquick: Fix some cases where floating windows didn't have parent
...
Happened because floatingWindow->parentWidget() was null. On QtWidgets
this works because QWidget::parentWidget() will return the transient parent
without a problem.
2020-11-19 17:47:02 +00:00
Sergio Martins
921d0892a0
qtquick: Fix tst_setVisibleFalseWhenSideBySide
...
Was also broken (but passed) for QtWidgets.
We don't support hidding widgets with setVisible(false).
2020-11-19 11:59:09 +00:00
Sergio Martins
beb2d9e659
qtquick: Add support for non-closable windows
...
fixes tst_preventClose
2020-11-18 18:13:35 +00:00
Sergio Martins
baa7561b13
qtquick: Fix tst_addAndReadd
...
Wasn't even correct for QtWidgets and just passing because the
widget wasn't getting dropped QtWidgets, since the indicator was hidden.
For QtQuick the indicator is also hidden but it's accepting it. To fix.
2020-11-18 14:42:34 +00:00
Sergio Martins
ac5f4b871c
qtquick: Fix tst_honourGeometryOfHiddenWindow
...
We want the geometry of the QWindow
2020-11-18 14:30:08 +00:00
Sergio Martins
52bf449366
qtquick: Fixes for focusing
...
Fixes tst_focus too, and maybe a few other tests
2020-11-18 14:01:55 +00:00
Sergio Martins
156dad6e03
qtquick: Fix IndicatorWindow::posForIndicator()
...
Wasn't even implemented. Should make some tests pass.
2020-11-18 12:06:20 +00:00
Sergio Martins
a452723919
Fix tests running with a nullptr state machine
2020-11-17 21:08:05 +00:00
Sergio Martins
d92d7c258c
tests: Remove stray qDebug
2020-11-17 18:15:38 +00:00
Sergio Martins
aa39a71ae5
Rename tst_common to tst_docks
...
Now that tst_docks was all ported let's have the old name again.
Also cmake -jN now works, as tst_docks is called by the tests_launcher
while tst_common was not
2020-11-17 15:44:49 +00:00
Sergio Martins
f4e33c1409
tests: Port the remaining tests to QtQuick
...
Tests now build with QtQuick too.
2020-11-17 15:26:14 +00:00
Sergio Martins
1443eff1d9
tests: Port some tests to QtQuick
...
15 to go
2020-11-10 18:00:19 +00:00
Sergio Martins
7faaf2cc69
tests: Port more tests to QtQuick
...
18 to go before we start fixing them
2020-11-08 15:18:16 +00:00
Sergio Martins
978f9d3a5e
tests: Port another test to QtQuick
...
29 to go
2020-11-06 23:52:48 +00:00
Sergio Martins
09793b3481
tests: Port more tests to QtQuick
...
31 to go
2020-11-06 23:33:02 +00:00
Sergio Martins
5d3d189774
tests: Port 1 test to QtQuick
2020-11-03 17:22:50 +00:00
Sergio Martins
ddad0feaf3
tests: Additional 5 tests build for QtQuick now
...
37 to go
2020-11-02 20:04:14 +00:00
Sergio Martins
cf700f8eb6
tests: port more tests to QtQuick
...
43 to go
2020-10-30 18:29:59 +00:00
Sergio Martins
b84e0f3605
tests: More tests are now building with QtQuick
...
56 to go
2020-10-29 18:11:24 +00:00
Sergio Martins
f72e8e6a1c
tests: Port 5 more tests
2020-10-28 22:57:28 +00:00
Sergio Martins
9c5e3cf5af
tests: Port another test to QtQuick
2020-10-26 18:22:01 +00:00
Sergio Martins
7419ca806d
tests: Port 2 more tests to QtQuick
2020-10-26 17:32:13 +00:00
Sergio Martins
c4cc6b3e6e
tests: Port more tests to QtQuick
2020-10-25 22:39:10 +00:00
Sergio Martins
7738585d01
tests: Enabled another batch of tests for QtQuick
...
83 of 175 are now building with QtQuick
2020-10-22 20:54:39 +01:00
Sergio Martins
61bc24c6ea
tests: A bunch of drag/mouse functions are not compatible with qtquick
...
In the sense that they build.
2020-10-21 22:43:08 +01:00
Sergio Martins
c0ea3a097c
tests: Port a test to qtquick
2020-10-21 21:05:03 +01:00
Sergio Martins
645201480c
qtquick: Port two tests
2020-10-20 22:05:29 +01:00
Sergio Martins
4fff6edb7b
qtquick: Port another test
2020-10-19 21:03:47 +01:00
Sergio Martins
64cff4ba49
qtquick|tests: use auto instead of QPointer<QWidget>
2020-10-19 21:00:18 +01:00
Sergio Martins
5f333f0934
qtquick: port more tests
2020-10-19 20:53:40 +01:00
Sergio Martins
f70722934c
qtquick: Port more tests
2020-10-19 20:47:09 +01:00
Sergio Martins
b9eb9f10d4
qtquick: Port more tests
2020-10-19 20:26:09 +01:00
Sergio Martins
65599399c7
qtquick: port a bunch of tests
2020-10-18 22:23:51 +01:00
Sergio Martins
8dbd6df456
Merge branch '1.1' into master
2020-10-16 20:35:56 +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
Sergio Martins
a66748f6ca
relax test
...
Seems to happen with 5.15 static. It's benign anyway
2020-10-16 17:10:40 +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
3369816d31
Merge branch '1.1' into master
2020-10-14 14:59:44 +01:00
Sergio Martins
819725351a
Fix -Wweak-vtables warnings
2020-10-14 14:55:28 +01:00
Sergio Martins
f4a88276b8
qtquick|tests: ported two more tests
2020-10-11 13:05:51 +01:00
Sergio Martins
f5e85c2196
qtquick|tests: Add a few more tests
2020-10-11 12:55:25 +01:00
Sergio Martins
926103325c
qtquick: Fix close events not being delivered
...
Also ported some tests from tst_docks to tst_common, which
were failing due to close events not working. Fixed now
2020-10-11 12:42:20 +01:00
Sergio Martins
b5478bcb0d
tests: Enable a bunch of tests for QtQuick
...
only one is failing
2020-10-11 11:44:47 +01:00
Sergio Martins
d403557b9e
tests: Abstract QPushButton somewhat
...
Anything refering QPushButton will simply compile with QtQuick.
2020-10-10 21:07:18 +01:00
Sergio Martins
db9884ea64
qtquick: Enable tst_setFloatingSimple and tst_restoreSimple
2020-10-10 20:53:27 +01:00