43 const char *name()
const override;
44 std::shared_ptr<Core::View> qobjectAsView(
QObject *)
const override;
45 std::shared_ptr<Core::Window> windowFromQWindow(
QWindow *)
const override;
48 std::shared_ptr<Core::Window> windowAt(
QPoint globalPos)
const override;
49 int screenNumberForView(
Core::View *)
const override;
51 void setQmlEngine(QQmlEngine *);
52 QQmlEngine *qmlEngine()
const;
54 bool usesFallbackMouseGrabber()
const override;
55 bool inDisallowedDragView(
QPoint globalPos)
const override;
56 void ungrabMouse()
override;
61#ifdef DOCKS_TESTING_METHODS
62 explicit Platform(
int &argc,
char **argv,
bool defaultToOffscreenQPA);
63 void tests_initPlatform_impl()
override;
64 void tests_deinitPlatform_impl()
override;
66 std::shared_ptr<Core::Window> tests_createWindow()
override;
67 Core::View *tests_createFocusableView(Core::CreateViewOptions,
Core::View *parent =
nullptr)
override;
70 createMainWindow(
const QString &uniqueName, Core::CreateViewOptions,
77 QtQuickHelpers *
const m_qquickHelpers;