Sergio Martins
|
383e4f8abd
|
tests: Use tests_createView() instead of MyWidget2
Decouples tests from Qt a bit more
|
2022-05-15 12:20:30 +01:00 |
|
Sergio Martins
|
f719697852
|
Remove DockWidget::setWidget(QWidget)
|
2022-05-14 09:38:55 +01:00 |
|
Sergio Martins
|
9f7c4cb217
|
Removed the DockWidgetBase typedef
That existed only to ease porting
|
2022-05-10 22:53:16 +01:00 |
|
Sergio Martins
|
985224f24b
|
tests: Run tst_view on offscreen by default
Moved the QPA offscreen defaulting to Platform_qt
|
2022-05-08 19:38:52 +01:00 |
|
Sergio Martins
|
3fabf34bee
|
Renamed View::windowHandle() to View::window()
windowHandle() is missnamed in Qt because QWidget::window() was already
taken in Qt4. But we can make it better here.
|
2022-05-01 23:09:18 +01:00 |
|
Sergio Martins
|
721d344533
|
tests: Delete platform when test finishes
|
2022-04-29 15:47:54 +01:00 |
|
Sergio Martins
|
9dc53f9755
|
tests: Create the QApplication in Platform ctor
Other frontends won't use QApplication, and QtQuick might even use
just QGuiApplication eventually
|
2022-04-29 15:36:16 +01:00 |
|
Sergio Martins
|
099a9018df
|
Make it easier for tests to init the platform
Only a single static method is needed now, instead of 2.
|
2022-04-29 14:34:32 +01:00 |
|
Sergio Martins
|
3d1b450cbb
|
Remove View::minimumSizeHint()
It's a QWidget specific concept, so move it to the qtwidgets
frontendcode. QtQuick won't need it.
|
2022-04-29 00:27:07 +01:00 |
|
Sergio Martins
|
3bb0c6a8d2
|
Move MDIArea to qtwidgets/ as it was never ported to QtQuick
Can be ported if needed
|
2022-04-25 20:16:25 +01:00 |
|
Sergio Martins
|
0f61ef63a2
|
Split DropArea and MDILayout into View/Controller
|
2022-04-25 18:50:41 +01:00 |
|
Sergio Martins
|
daa6afd14c
|
Move DropArea into controllers/
In preparation to split it into View/Controller.
This is just the move, no code changed yet.
Next will be the namespace change.
|
2022-04-23 11:46:11 +01:00 |
|
Sergio Martins
|
28754ec260
|
Fold DropAreaWithCentralFrame into DropArea
This separation was never useful
|
2022-04-23 00:17:20 +01:00 |
|
Sergio Martins
|
33073c75ee
|
tests: Remove the last usage of asQWidget() from tests/
Now only a few remaining in src/
|
2022-04-19 19:26:34 +01:00 |
|
Sergio Martins
|
80beeb7ffb
|
tests: Remove last 2 usages of asQWidget from tst_qtwidgets.cpp
That method will be removed from View soon
|
2022-04-19 19:17:48 +01:00 |
|
Sergio Martins
|
d2b5bedfa1
|
tests: Remove another usage of deprecated asQWidget()
|
2022-04-19 19:14:58 +01:00 |
|
Sergio Martins
|
d5cec9f5de
|
tests: Move QtWidget specific tests to tst_qtwidgets.cpp
Let's have less ifdefs
|
2022-04-19 19:07:57 +01:00 |
|