![]() |
Qt 6.x
The Qt SDK
|
#include <qquickoverlay_p_p.h>
Inheritance diagram for QQuickOverlayPrivate:
Collaboration diagram for QQuickOverlayPrivate:Additional Inherited Members | |
Public Types inherited from QQuickItemPrivate | |
| enum | ChangeType { Geometry = 0x01 , SiblingOrder = 0x02 , Visibility = 0x04 , Opacity = 0x08 , Destroyed = 0x10 , Parent = 0x20 , Children = 0x40 , Rotation = 0x80 , ImplicitWidth = 0x100 , ImplicitHeight = 0x200 , Enabled = 0x400 , Focus = 0x800 , AllChanges = 0xFFFFFFFF } |
| enum | ExtraDataTag { NoTag = 0x1 , LeftMouseButtonAccepted = 0x2 } |
| enum | DirtyType { TransformOrigin = 0x00000001 , Transform = 0x00000002 , BasicTransform = 0x00000004 , Position = 0x00000008 , Size = 0x00000010 , ZValue = 0x00000020 , Content = 0x00000040 , Smooth = 0x00000080 , OpacityValue = 0x00000100 , ChildrenChanged = 0x00000200 , ChildrenStackingChanged = 0x00000400 , ParentChanged = 0x00000800 , Clip = 0x00001000 , Window = 0x00002000 , EffectReference = 0x00008000 , Visible = 0x00010000 , HideReference = 0x00020000 , Antialiasing = 0x00040000 , TransformUpdateMask , ComplexTransformUpdateMask = Transform | Window , ContentUpdateMask = Size | Content | Smooth | Window | Antialiasing , ChildrenUpdateMask = ChildrenChanged | ChildrenStackingChanged | EffectReference | Window } |
Public Types inherited from QObjectPrivate | |
| typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
| using | ConnectionDataPointer = QExplicitlySharedDataPointer< ConnectionData > |
Protected Member Functions inherited from QQuickPaletteProviderPrivateBase< QQuickItem, QQuickItemPrivate > | |
| void | setCurrentColorGroup () |
Definition at line 27 of file qquickoverlay_p_p.h.
| void QQuickOverlayPrivate::addPopup | ( | QQuickPopup * | popup | ) |
Definition at line 231 of file qquickoverlay.cpp.
References allDrawers, allPopups, and QList< T >::isEmpty().
Referenced by QQuickPopupPrivate::setWindow().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 33 of file qquickoverlay_p_p.h.
Referenced by QQuickPopupPrivate::finalizeExitTransition(), QQuickPopupPrivate::handleUngrab(), isBlockedByPopup(), QQuickPopupPrivate::prepareEnterTransition(), and QQuickPopupPrivate::setWindow().
Here is the caller graph for this function:| bool QQuickOverlayPrivate::handleHoverEvent | ( | QQuickItem * | source, |
| QHoverEvent * | event, | ||
| QQuickPopup * | target = nullptr |
||
| ) |
Definition at line 179 of file qquickoverlay.cpp.
References QEvent::HoverEnter, QEvent::HoverLeave, and QEvent::HoverMove.
| bool QQuickOverlayPrivate::handleMouseEvent | ( | QQuickItem * | source, |
| QMouseEvent * | event, | ||
| QQuickPopup * | target = nullptr |
||
| ) |
Definition at line 162 of file qquickoverlay.cpp.
References QPointer< T >::data(), handleMove(), handlePress(), handleRelease(), QEvent::MouseButtonPress, QEvent::MouseButtonRelease, mouseGrabberPopup, QEvent::MouseMove, and startDrag().
Here is the call graph for this function:| bool QQuickOverlayPrivate::handleMove | ( | QQuickItem * | source, |
| QEvent * | event, | ||
| QQuickPopup * | target | ||
| ) |
Definition at line 137 of file qquickoverlay.cpp.
Referenced by handleMouseEvent().
Here is the caller graph for this function:| bool QQuickOverlayPrivate::handlePress | ( | QQuickItem * | source, |
| QEvent * | event, | ||
| QQuickPopup * | target | ||
| ) |
Definition at line 100 of file qquickoverlay.cpp.
References mouseGrabberPopup, Q_FALLTHROUGH, setMouseGrabberPopup(), stackingOrderPopups(), QEvent::TouchBegin, QEvent::TouchEnd, and QEvent::TouchUpdate.
Referenced by handleMouseEvent().
Here is the call graph for this function:
Here is the caller graph for this function:| bool QQuickOverlayPrivate::handleRelease | ( | QQuickItem * | source, |
| QEvent * | event, | ||
| QQuickPopup * | target | ||
| ) |
Definition at line 144 of file qquickoverlay.cpp.
References setMouseGrabberPopup(), and stackingOrderPopups().
Referenced by handleMouseEvent().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from QQuickItemChangeListener.
Definition at line 64 of file qquickoverlay.cpp.
References updateGeometry().
Here is the call graph for this function:| void QQuickOverlayPrivate::removePopup | ( | QQuickPopup * | popup | ) |
Definition at line 241 of file qquickoverlay.cpp.
References allDrawers, allPopups, QList< T >::isEmpty(), and QList< T >::removeOne().
Referenced by QQuickPopupPrivate::setWindow().
Here is the call graph for this function:
Here is the caller graph for this function:| void QQuickOverlayPrivate::setMouseGrabberPopup | ( | QQuickPopup * | popup | ) |
Definition at line 249 of file qquickoverlay.cpp.
References mouseGrabberPopup.
Referenced by handlePress(), handleRelease(), and startDrag().
Here is the caller graph for this function:| QList< QQuickPopup * > QQuickOverlayPrivate::stackingOrderDrawers | ( | ) | const |
Definition at line 55 of file qquickoverlay.cpp.
References allDrawers, QList< T >::begin(), and QList< T >::end().
Referenced by startDrag().
Here is the call graph for this function:
Here is the caller graph for this function:| QT_BEGIN_NAMESPACE QList< QQuickPopup * > QQuickOverlayPrivate::stackingOrderPopups | ( | ) | const |
A window overlay for popups.
\qmltype Overlay \inherits Item
! \instantiates QQuickOverlay \inqmlmodule QtQuick.Controls
Overlay provides a layer for popups, ensuring that popups are displayed above other content and that the background is dimmed when a \l {Popup::}{modal} or \l {Popup::dim}{dimmed} popup is visible.
The overlay is an ordinary Item that covers the entire window. It can be used as a visual parent to position a popup in scene coordinates.
Definition at line 39 of file qquickoverlay.cpp.
References QQuickItemPrivate::children(), it, QQuickItemPrivate::paintOrderChildItems(), and QList< T >::reserve().
Referenced by QQuickPopupPrivate::finalizeExitTransition(), handlePress(), handleRelease(), isBlockedByPopup(), QQuickPopupPrivate::prepareEnterTransition(), and startDrag().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 69 of file qquickoverlay.cpp.
References allDrawers, QQuickDrawerPrivate::get(), QQuickPopupPrivate::get(), QList< T >::isEmpty(), QGraphicsItem::isVisible(), item, pos, Q_ASSERT, setMouseGrabberPopup(), stackingOrderDrawers(), and stackingOrderPopups().
Referenced by handleMouseEvent().
Here is the call graph for this function:
Here is the caller graph for this function:| void QQuickOverlayPrivate::updateGeometry | ( | ) |
Definition at line 256 of file qquickoverlay.cpp.
References QWindow::contentOrientation, Qt::InvertedLandscapeOrientation, Qt::InvertedPortraitOrientation, Qt::LandscapeOrientation, Qt::PortraitOrientation, pos, Qt::PrimaryOrientation, QQuickItemPrivate::rotation(), and QQuickItemPrivate::window.
Referenced by QQuickOverlay::QQuickOverlay(), and itemGeometryChanged().
Here is the call graph for this function:
Here is the caller graph for this function:| QList<QQuickPopup *> QQuickOverlayPrivate::allDrawers |
Definition at line 65 of file qquickoverlay_p_p.h.
Referenced by addPopup(), removePopup(), stackingOrderDrawers(), and startDrag().
| QList<QQuickPopup *> QQuickOverlayPrivate::allPopups |
Definition at line 62 of file qquickoverlay_p_p.h.
Referenced by addPopup(), and removePopup().
| QPointer<QQuickItem> QQuickOverlayPrivate::lastActiveFocusItem |
Definition at line 67 of file qquickoverlay_p_p.h.
| QQmlComponent* QQuickOverlayPrivate::modal = nullptr |
Definition at line 60 of file qquickoverlay_p_p.h.
| QQmlComponent* QQuickOverlayPrivate::modeless = nullptr |
Definition at line 61 of file qquickoverlay_p_p.h.
| QPointer<QQuickPopup> QQuickOverlayPrivate::mouseGrabberPopup |
Definition at line 66 of file qquickoverlay_p_p.h.
Referenced by handleMouseEvent(), handlePress(), and setMouseGrabberPopup().