33 const char *name()
const override;
34 bool hasActivePopup()
const override;
35 std::shared_ptr<Core::View> qobjectAsView(
QObject *)
const override;
36 std::shared_ptr<Core::Window> windowFromQWindow(
QWindow *)
const override;
38 std::shared_ptr<Core::Window> windowAt(
QPoint globalPos)
const override;
40 using Platform_qt::screenNumberFor;
41 int screenNumberFor(
Core::View *)
const override;
44 int startDragDistance_impl()
const override;
46 bool inDisallowedDragView(
QPoint globalPos)
const override;
47 bool usesFallbackMouseGrabber()
const override;
48 void ungrabMouse()
override;
50#ifdef DOCKS_TESTING_METHODS
51 explicit Platform(
int &argc,
char **argv);
52 void tests_initPlatform_impl()
override;
53 void tests_deinitPlatform_impl()
override;
55 Core::View *tests_createFocusableView(Core::CreateViewOptions,
Core::View *parent =
nullptr)
override;
57 std::shared_ptr<Core::Window> tests_createWindow()
override;
59 createMainWindow(
const QString &uniqueName, Core::CreateViewOptions,
65 class GlobalEventFilter;