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 int screenNumberForView(
Core::View *)
const override;
43 int startDragDistance_impl()
const override;
45 bool inDisallowedDragView(
QPoint globalPos)
const override;
46 bool usesFallbackMouseGrabber()
const override;
47 void ungrabMouse()
override;
49#ifdef DOCKS_TESTING_METHODS
50 explicit Platform(
int &argc,
char **argv,
bool defaultToOffscreenQPA);
51 void tests_initPlatform_impl()
override;
52 void tests_deinitPlatform_impl()
override;
54 Core::View *tests_createFocusableView(Core::CreateViewOptions,
Core::View *parent =
nullptr)
override;
56 std::shared_ptr<Core::Window> tests_createWindow()
override;
58 createMainWindow(
const QString &uniqueName, Core::CreateViewOptions,
64 class GlobalEventFilter;