Sergio Martins
|
060fe44e71
|
Remove some unneeded QApplication includes
|
2022-06-07 17:14:05 +01:00 |
|
Sergio Martins
|
e8f390f2ad
|
tests|qtquick: Don't create lots of spurious QQuickView
Most of the times we just want to create a dock widget which
will be parented immediately, we don't need the window.
|
2022-06-06 10:13:19 +01:00 |
|
Sergio Martins
|
20c41fa3b1
|
qtquick: Implement Platform_qtquick::tests_createNonClosableView()
|
2022-05-29 19:54:37 +01:00 |
|
Sergio Martins
|
bcaf0737e9
|
Move Platform::createMainWindow() to dev mode
This is for tests only
|
2022-05-27 12:11:43 +01:00 |
|
Sergio Martins
|
1bacb31949
|
tests: Use generic view instead of QWidget NonClosableWidget
|
2022-05-16 22:55:46 +01:00 |
|
Sergio Martins
|
be8250acb7
|
tests: Remove instances of QLineEdit from the tests
It's now generic
|
2022-05-16 21:59:43 +01:00 |
|
Sergio Martins
|
146b929b5d
|
qtquick: Implement View::maximumSize() and test
|
2022-05-09 17:28:48 +01:00 |
|
Sergio Martins
|
9173226be7
|
tests: Normalise signature of argc/argv to match QApplication's
Fixes crash when passing "platform -xcb", because argc was being
passed by value, decremented in QApplication, then going out
of bounds in QTest
|
2022-05-09 15:16:36 +01:00 |
|
Sergio Martins
|
cfeb59ee8f
|
qtquick: Move m_qmlEngine from Config to Platform_qtquick
As it's QtQuick specific it should be in the qtquick frontend folder.
|
2022-05-08 20:16:23 +01:00 |
|
Sergio Martins
|
33d7d730f4
|
tests: Add a test for View::minSize()
|
2022-05-02 17:21:31 +01:00 |
|
Sergio Martins
|
5607fab8db
|
tests: Add test for View::sizeHint
|
2022-05-02 10:29:46 +01:00 |
|
Sergio Martins
|
c2ae9abfb5
|
tests_createView() now receives a struct
As we'll be passing more parameters
|
2022-05-02 10:20:19 +01:00 |
|
Sergio Martins
|
8dd8eabf1a
|
tests: tests_createView now can create visible views too
|
2022-05-01 22:21:08 +01:00 |
|
Sergio Martins
|
58afb97eb2
|
qtquick: Move the rest of old/QWidgetAdapter_quick to View_qtquick
|
2022-05-01 20:01:46 +01:00 |
|
Sergio Martins
|
738a78d12b
|
qtquick: Implement View::windowHandle() and Window_qtquick::rootView()
For QtWidgets it now calls create() in the ctor so we have a window
during tests.
|
2022-05-01 14:38:20 +01:00 |
|
Sergio Martins
|
712751e89b
|
tests: Make tst_view test View, not ViewWrapper
|
2022-04-30 11:08:54 +01:00 |
|
Sergio Martins
|
b6d87d10c4
|
Add a TestHelpers_ file for each platform
So we don't have too much ifdefed stuff that's only for tests in
the main files.
|
2022-04-30 10:31:31 +01:00 |
|