Sergio Martins
|
a2d17fd0b9
|
Added Platform::frontendTypes()
Needed by the tests
|
2022-04-27 10:44:44 +01:00 |
|
Sergio Martins
|
8015e49bee
|
Add Platform::screenSizeFor(window), removes more asQWidget() usage
|
2022-04-21 22:10:59 +01:00 |
|
Sergio Martins
|
4946cdeed3
|
Add Platform::screenNumberFor, removes more asQWidget() usage
|
2022-04-21 21:47:55 +01:00 |
|
Sergio Martins
|
a6cbfbf065
|
Rename tests_sendEvent() to sendEvent()
Non-test code will also need it
|
2022-04-19 19:32:56 +01:00 |
|
Sergio Martins
|
05deea3cd8
|
tests: Move some ifdefed code to their respective platforms
|
2022-04-19 17:44:36 +01:00 |
|
Sergio Martins
|
8e4e998e74
|
tests: port away from QApplication::topLevelAt()
|
2022-04-14 23:44:39 +01:00 |
|
Sergio Martins
|
201e631a0b
|
tests: Remove some QPointer usage
Which in turn also removes some asQWidget() usage
|
2022-04-14 18:22:32 +01:00 |
|
Sergio Martins
|
924b32b3c5
|
tests: Port some QWindow based utils to Window::Ptr
So it doesn't depend on Qt
|
2022-04-13 23:49:29 +01:00 |
|
Sergio Martins
|
664798ee6e
|
tests: Remove some asQWidget() calls
|
2022-04-13 22:28:04 +01:00 |
|
Sergio Martins
|
90bd78846a
|
tests: Port away from a few Qt specific waitForEvent
Removes a bunch of asQWidget() from the tests
|
2022-04-11 15:14:51 +01:00 |
|
Sergio Martins
|
31db3d9562
|
Port away from QTest::qWaitForWindowActive, it's Qt specific
Simpliy moved it to Platform_qt
|
2022-04-11 11:37:31 +01:00 |
|
Sergio Martins
|
8cd05c7314
|
Add Platform::createDefaultFrameworkWidgetFactory()
|
2022-04-10 23:54:52 +01:00 |
|
Sergio Martins
|
d6fd54cec4
|
Por all usages of QWindop/windowHandle to KDDockWidgets::Window
Removes a lot of asQWidget() code and is also prepared for non-Qt
views.
|
2022-04-09 19:21:56 +01:00 |
|
Sergio Martins
|
4944ad5882
|
Add Platform::qobjectAsView()
to be removed once we port away from Qt, but needed for now to
support QtQuick
|
2022-04-07 23:10:01 +01:00 |
|
Sergio Martins
|
3ba4bc2d08
|
Add Platform::focusedView() and respective signal
Implemented as QGuiApplication::focusObjectChanged() for Qt,
other frontends will have their own impl.
|
2022-04-05 21:53:52 +01:00 |
|
Sergio Martins
|
631736b202
|
Abstract away a call to qApp->activePopupWidget()
It's now generic and doesn't depend on QApplication.
Removes an ifdef.
|
2022-04-04 16:43:01 +01:00 |
|
Sergio Martins
|
a36f85aae3
|
Add Platform and Platform_qtwidgets
So we can start removing QtWidgets vs QtQuick ifdefs.
Each "platform" will implement the differences
|
2022-04-04 16:21:35 +01:00 |
|