31 public QSafeQuickItemChangeListener<QQuickOverlayPrivate>
34 Q_DECLARE_PUBLIC(QQuickOverlay)
36 static QQuickOverlayPrivate *get(QQuickOverlay *overlay)
38 return overlay->d_func();
41 bool startDrag(QEvent *event,
const QPointF &pos);
42 bool handlePress(QQuickItem *source, QEvent *event, QQuickPopup *target);
43 bool handleMove(QQuickItem *source, QEvent *event, QQuickPopup *target);
44 bool handleRelease(QQuickItem *source, QEvent *event, QQuickPopup *target);
46 bool handleMouseEvent(QQuickItem *source, QMouseEvent *event, QQuickPopup *target =
nullptr);
47 bool handleHoverEvent(QQuickItem *source, QHoverEvent *event, QQuickPopup *target =
nullptr);
48#if QT_CONFIG(quicktemplates2_multitouch)
49 bool handleTouchEvent(QQuickItem *source, QTouchEvent *event, QQuickPopup *target =
nullptr);
52 void addPopup(QQuickPopup *popup);
53 void removePopup(QQuickPopup *popup);
54 void setMouseGrabberPopup(QQuickPopup *popup);
56 QList<QQuickPopup *> stackingOrderPopups()
const;
57 QList<QQuickPopup *> stackingOrderDrawers()
const;
59 void itemGeometryChanged(QQuickItem *item, QQuickGeometryChange change,
const QRectF &diff) override;
60 void itemRotationChanged(QQuickItem *item) override;
62 void updateGeometry();
64 QQmlComponent *modal =
nullptr;
65 QQmlComponent *modeless =
nullptr;
66 QList<QQuickPopup *> allPopups;
69 QList<QQuickPopup *> allDrawers;
70 QPointer<QQuickPopup> mouseGrabberPopup;
71 QPointer<QQuickItem> lastActiveFocusItem;