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 using Platform_qt::screenNumberFor;
50 int screenNumberFor(
Core::View *)
const override;
52 void setQmlEngine(QQmlEngine *);
53 QQmlEngine *qmlEngine()
const;
55 bool usesFallbackMouseGrabber()
const override;
56 bool inDisallowedDragView(
QPoint globalPos)
const override;
57 void ungrabMouse()
override;
62#ifdef DOCKS_TESTING_METHODS
63 explicit Platform(
int &argc,
char **argv);
64 void tests_initPlatform_impl()
override;
65 void tests_deinitPlatform_impl()
override;
67 std::shared_ptr<Core::Window> tests_createWindow()
override;
68 Core::View *tests_createFocusableView(Core::CreateViewOptions,
Core::View *parent =
nullptr)
override;
71 createMainWindow(
const QString &uniqueName, Core::CreateViewOptions,
78 QtQuickHelpers *
const m_qquickHelpers;