31 public QSafeQuickItemChangeListener<QQuickOverlayPrivate>
34 Q_DECLARE_PUBLIC(QQuickOverlay)
36 static QQuickOverlayPrivate *get(QQuickOverlay *overlay)
38 return overlay->d_func();
40#if QT_CONFIG(tabletevent) || QT_CONFIG(wheelevent)
41 bool eatEventIfBlockedByModal(QPointerEvent *event);
43 bool startDrag(QEvent *event,
const QPointF &pos);
44 bool handlePress(QQuickItem *source, QEvent *event, QQuickPopup *target);
45 bool handleMove(QQuickItem *source, QEvent *event, QQuickPopup *target);
46 bool handleRelease(QQuickItem *source, QEvent *event, QQuickPopup *target);
48 bool handleMouseEvent(QQuickItem *source, QMouseEvent *event, QQuickPopup *target =
nullptr);
49 bool handleHoverEvent(QQuickItem *source, QHoverEvent *event, QQuickPopup *target =
nullptr);
50#if QT_CONFIG(quicktemplates2_multitouch)
51 bool handleTouchEvent(QQuickItem *source, QTouchEvent *event, QQuickPopup *target =
nullptr);
54 void addPopup(QQuickPopup *popup);
55 void removePopup(QQuickPopup *popup);
56 void setMouseGrabberPopup(QQuickPopup *popup);
58 QList<QQuickPopup *> stackingOrderPopups()
const;
59 QList<QQuickPopup *> stackingOrderDrawers()
const;
61 void itemGeometryChanged(QQuickItem *item, QQuickGeometryChange change,
const QRectF &diff) override;
62 void itemRotationChanged(QQuickItem *item) override;
64 void updateGeometry();
66 QQmlComponent *modal =
nullptr;
67 QQmlComponent *modeless =
nullptr;
68 QList<QQuickPopup *> allPopups;
71 QList<QQuickPopup *> allDrawers;
72 QPointer<QQuickPopup> mouseGrabberPopup;
73 QPointer<QQuickItem> lastActiveFocusItem;
74 QPointer<QQuickPopup> lastActiveFocusItemPopup;