35 bool eventFilter(QObject *object, QEvent *event)
override;
39 void handleStartResize(QWaylandSeat *seat, Qt::Edges edges);
40 void handleSetMaximized();
41 void handleUnsetMaximized();
42 void handleMaximizedChanged();
43 void handleSetFullscreen();
44 void handleUnsetFullscreen();
45 void handleFullscreenChanged();
46 void handleActivatedChanged();
47 void handleSurfaceSizeChanged();
48 void handleToplevelDestroyed();
49 void handleMaximizedSizeChanged();
50 void handleFullscreenSizeChanged();
53 QWaylandQuickShellSurfaceItem *m_item =
nullptr;
54 QWaylandXdgSurface *m_xdgSurface =
nullptr;
55 QWaylandXdgToplevel *m_toplevel =
nullptr;
57 enum class GrabberState {
62 GrabberState grabberState;
71 QWaylandSeat *seat =
nullptr;
82 QPointF initialPosition;
92 bool filterPointerMoveEvent(
const QPointF &scenePosition);
93 bool filterMouseMoveEvent(QMouseEvent *event);
94 bool filterPointerReleaseEvent();
95 bool filterTouchUpdateEvent(QTouchEvent *event);