Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QQuickPopupWindowPrivate Class Reference
Inheritance diagram for QQuickPopupWindowPrivate:
Collaboration diagram for QQuickPopupWindowPrivate:

Public Member Functions

bool transientParentIsGoingAway () const
bool transientParentIsGoingAway () const
Public Member Functions inherited from QQuickWindowQmlImplPrivate
 QQuickWindowQmlImplPrivate ()
Public Member Functions inherited from QQuickWindowPrivate
 QQuickWindowPrivate ()
 ~QQuickWindowPrivate () override
void setPalette (QQuickPalette *p) override
void updateWindowPalette ()
void updateChildrenPalettes (const QPalette &parentPalette) override
void init (QQuickWindow *, QQuickRenderControl *control=nullptr)
QQmlListProperty< QObject > data ()
QQuickDeliveryAgentPrivate * deliveryAgentPrivate () const
void clearFocusObject () override
void setFocusToTarget (FocusTarget, Qt::FocusReason) override
void maybeSynthesizeContextMenuEvent (QMouseEvent *event) override
void dirtyItem (QQuickItem *item, bool maySkipUpdate=false)
void cleanup (QSGNode *)
void ensureCustomRenderTarget ()
void setCustomCommandBuffer (QRhiCommandBuffer *cb)
void polishItems ()
void forcePolish ()
 Schedules polish events on all items in the scene.
void invalidateFontData (QQuickItem *item)
void syncSceneGraph ()
void renderSceneGraph ()
bool isRenderable () const
bool emitError (QQuickWindow::SceneGraphError error, const QString &msg)
QSGTexture * createTextureFromNativeTexture (quint64 nativeObjectHandle, int nativeLayoutOrState, uint nativeFormat, const QSize &size, QQuickWindow::CreateTextureOptions options, TextureFromNativeTextureFlags flags={}) const
QSGTexture * createTextureFromNativeTexture (quint64 nativeObjectHandle, int nativeLayoutOrState, const QSize &size, QQuickWindow::CreateTextureOptions options, TextureFromNativeTextureFlags flags={}) const
void updateDirtyNodes ()
void cleanupNodes ()
void cleanupNodesOnShutdown ()
bool updateEffectiveOpacity (QQuickItem *)
void updateEffectiveOpacityRoot (QQuickItem *, qreal)
void updateDirtyNode (QQuickItem *)
void fireFrameSwapped ()
void fireAboutToStop ()
void updateChildWindowStackingOrder (QQuickItem *item=nullptr)
int multiViewCount ()
QRhiRenderTarget * activeCustomRhiRenderTarget ()
void runAndClearJobs (QList< QRunnable * > *jobs)
QOpenGLContext * openglContext ()
Public Member Functions inherited from QWindowPrivate
 QWindowPrivate (decltype(QObjectPrivateVersion) version=QObjectPrivateVersion)
 ~QWindowPrivate () override
void init (QWindow *parent, QScreen *targetScreen=nullptr)
void setCursor (const QCursor *c=nullptr)
bool applyCursor ()
QPoint globalPosition () const
QWindow * topLevelWindow (QWindow::AncestorMode mode=QWindow::IncludeTransients) const
virtual QWindow * eventReceiver ()
virtual QPalette windowPalette () const
void updateVisibility ()
void _q_clearAlert ()
void updateSiblingPosition (SiblingPosition)
bool windowRecreationRequired (QScreen *newScreen) const
void create (bool recursive)
void destroy ()
void setTopLevelScreen (QScreen *newScreen, bool recreate)
void connectToScreen (QScreen *topLevelScreen)
void disconnectFromScreen ()
void emitScreenChangedRecursion (QScreen *newScreen)
QScreen * screenForGeometry (const QRect &rect) const
void setTransientParent (QWindow *parent)
virtual QRectF closestAcceptableGeometry (const QRectF &rect) const
void setMinOrMaxSize (QSize *oldSizeMember, const QSize &size, qxp::function_ref< void()> funcWidthChanged, qxp::function_ref< void()> funcHeightChanged)
virtual bool participatesInLastWindowClosed () const
virtual bool treatAsVisible () const
const QWindow * forwardToPopup (QEvent *event, const QWindow *activePopupOnPress)
bool isPopup () const
void setAutomaticPositionAndResizeEnabled (bool a)
bool updateDevicePixelRatio ()
Public Member Functions inherited from QObjectPrivate
void ensureExtraData ()
void setObjectNameWithoutBindings (const QString &name)
 QObjectPrivate (decltype(QObjectPrivateVersion) version=QObjectPrivateVersion)
virtual ~QObjectPrivate ()
void deleteChildren ()
void clearBindingStorage ()
void setParent_helper (QObject *)
void moveToThread_helper ()
void setThreadData_helper (QThreadData *currentData, QThreadData *targetData, QBindingStatus *status)
QObjectList receiverList (const char *signal) const
void ensureConnectionData ()
void addConnection (int signal, Connection *c)
int signalIndex (const char *signalName, const QMetaObject **meta=nullptr) const
bool isSignalConnected (uint signalIdx, bool checkDeclarative=true) const
bool maybeSignalConnected (uint signalIndex) const
bool isDeclarativeSignalConnected (uint signalIdx) const
void connectNotify (const QMetaMethod &signal)
void disconnectNotify (const QMetaMethod &signal)
void reinitBindingStorageAfterThreadMove ()
virtual std::string flagsForDumping () const
virtual void writeToDebugStream (QDebug &) const
QtPrivate::QPropertyAdaptorSlotObject * getPropertyAdaptorSlotObject (const QMetaProperty &property)
Public Member Functions inherited from QObjectData
 QObjectData ()=default
virtual ~QObjectData ()=0
const QMetaObject * dynamicMetaObject () const
Public Member Functions inherited from QQuickPaletteProviderPrivateBase< QQuickWindow, QQuickWindowPrivate >
virtual ~QQuickPaletteProviderPrivateBase ()=default
virtual QQuickPalette * palette () const
virtual void resetPalette ()
virtual bool providesPalette () const
QPalette defaultPalette () const override
QPalette parentPalette (const QPalette &fallbackPalette) const override
void inheritPalette (const QPalette &parentPalette)
Public Member Functions inherited from QQuickAbstractPaletteProvider
virtual ~QQuickAbstractPaletteProvider ()=default

Public Attributes

QPointer< QQuickItem > m_popupItem
QPointer< QQuickPopup > m_popup
QPointer< QWindow > m_popupParentItemWindow
bool m_inHideEvent = false
Public Attributes inherited from QQuickWindowQmlImplPrivate
bool componentComplete = true
bool visible = false
bool visibleExplicitlySet = false
QQuickWindow::Visibility visibility = QQuickWindow::AutomaticVisibility
bool visibilityExplicitlySet = false
QV4::PersistentValue rootItemMarker
QMetaObject::Connection itemParentWindowChangeListener
QObject * visualParent = nullptr
QPointer< QQuickWindowContainer > windowContainer
qreal z = 0.0
QQuickScreenInfo * screenInfo = nullptr
Public Attributes inherited from QQuickWindowPrivate
QQuickRootItem * contentItem
QSet< QQuickItem * > parentlessItems
QQuickDeliveryAgent * deliveryAgent = nullptr
QQuickItem::UpdatePaintNodeData updatePaintNodeData
QQuickItem * dirtyItemList
QList< QSGNode * > cleanupNodeList
QList< QQuickItem * > itemsToPolish
qreal lastReportedItemDevicePixelRatio
QMetaObject::Connection physicalDpiChangedConnection
std::array< QMetaObject::Connection, 7 > connections
bool needsChildWindowStackingOrderUpdate = false
QSGRenderContext * context
QSGRenderer * renderer
QByteArray visualizationMode
QSGRenderLoop * windowManager
QQuickRenderControl * renderControl
QScopedPointer< QQuickAnimatorController > animationController
QColor clearColor
uint persistentGraphics: 1
uint persistentSceneGraph: 1
uint inDestructor: 1
QQuickRenderTarget customRenderTarget
struct QQuickWindowPrivate::Redirect redirect
QQuickGraphicsDevice customDeviceObjects
QQuickGraphicsConfiguration graphicsConfig
QQuickWindowIncubationController * incubationController
QMutex renderJobMutex
QList< QRunnable * > beforeSynchronizingJobs
QList< QRunnable * > afterSynchronizingJobs
QList< QRunnable * > beforeRenderingJobs
QList< QRunnable * > afterRenderingJobs
QList< QRunnable * > afterSwapJobs
QQuickWindow::GraphicsStateInfo rhiStateInfo
QRhi * rhi = nullptr
QRhiSwapChain * swapchain = nullptr
QRhiRenderBuffer * depthStencilForSwapchain = nullptr
QRhiRenderPassDescriptor * rpDescForSwapchain = nullptr
uint hasActiveSwapchain: 1
uint hasRenderableSwapchain: 1
uint swapchainJustBecameRenderable: 1
uint updatesEnabled: 1
bool pendingFontUpdate = false
bool windowEventDispatch = false
bool rmbContextMenuEventEnabled = false
QPointer< QQuickPalette > windowPaletteRef
Public Attributes inherited from QWindowPrivate
QWindow::SurfaceType surfaceType = QWindow::RasterSurface
Qt::WindowFlags windowFlags = Qt::Window
QWindow * parentWindow = nullptr
QPlatformWindow * platformWindow = nullptr
bool visible = false
bool visibilityOnDestroy = false
bool exposed = false
bool inClose = false
QSurfaceFormat requestedFormat
QString windowTitle
QString windowFilePath
QIcon windowIcon
QRect geometry
qreal devicePixelRatio = 1.0
Qt::WindowStates windowState = Qt::WindowNoState
QWindow::Visibility visibility = QWindow::Hidden
bool resizeEventPending = true
bool receivedExpose = false
PositionPolicy positionPolicy = WindowFrameExclusive
bool positionAutomatic = true
bool resizeAutomatic = true
Qt::ScreenOrientation contentOrientation = Qt::PrimaryOrientation
qreal opacity = 1
QRegion mask
QSize minimumSize = {0, 0}
QSize maximumSize = {QWINDOWSIZE_MAX, QWINDOWSIZE_MAX}
QSize baseSize
QSize sizeIncrement
Qt::WindowModality modality = Qt::NonModal
bool blockedByModalWindow = false
bool updateRequestPending = false
bool transientParentPropertySet = false
QPointer< QWindow > transientParent
QPointer< QScreen > topLevelScreen
QCursor cursor = {Qt::ArrowCursor}
bool hasCursor = false
QElapsedTimer lastComposeTime
Public Attributes inherited from QObjectPrivate
ExtraData * extraData
QAtomicPointer< QThreadData > threadData
QAtomicPointer< ConnectionData > connections
union { 
   QObject *   currentChildBeingDeleted 
   QAbstractDeclarativeData *   declarativeData 
}; 
QAtomicPointer< QtSharedPointer::ExternalRefCountData > sharedRefcount
Public Attributes inherited from QObjectData
QObject * q_ptr
QObject * parent
QObjectList children
uint isWidget: 1
uint blockSig: 1
uint wasDeleted: 1
uint isDeletingChildren: 1
uint sendChildEvents: 1
uint receiveChildEvents: 1
uint isWindow: 1
uint deleteLaterCalled: 1
uint isQuickItem: 1
uint willBeWidget: 1
uint wasWidget: 1
uint receiveParentEvents: 1
uint unused: 20
QAtomicInt postedEvents
QDynamicMetaObjectData * metaObject
QBindingStorage bindingStorage

Protected Member Functions

void setVisible (bool visible) override
void setVisible (bool visible) override
Protected Member Functions inherited from QQuickPaletteProviderPrivateBase< QQuickWindow, QQuickWindowPrivate >
void setCurrentColorGroup ()

Additional Inherited Members

Public Types inherited from QQuickWindowPrivate
enum  CustomEvents { FullUpdateRequest = QEvent::User + 1 , TriggerContextCreationFailure = QEvent::User + 2 }
enum  TextureFromNativeTextureFlag { NativeTextureIsExternalOES = 0x01 }
Public Types inherited from QWindowPrivate
enum  PositionPolicy { WindowFrameInclusive , WindowFrameExclusive }
enum  SiblingPosition { PositionTop , PositionBottom }
enum class  FocusTarget {
  First , Last , Current , Next ,
  Prev
}
Public Types inherited from QObjectPrivate
typedef void(* StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **)
using ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData>
Static Public Member Functions inherited from QQuickWindowPrivate
static QQuickWindowPrivate * get (QQuickWindow *c)
static const QQuickWindowPrivate * get (const QQuickWindow *c)
static void data_append (QQmlListProperty< QObject > *, QObject *)
 \qmlproperty list<QtObject> Window::data \qmldefault
static qsizetype data_count (QQmlListProperty< QObject > *)
static QObject * data_at (QQmlListProperty< QObject > *, qsizetype)
static void data_clear (QQmlListProperty< QObject > *)
static void data_removeLast (QQmlListProperty< QObject > *)
static void rhiCreationFailureMessage (const QString &backendName, QString *translatedMessage, QString *untranslatedMessage)
static void emitBeforeRenderPassRecording (void *ud)
static void emitAfterRenderPassRecording (void *ud)
Static Public Member Functions inherited from QWindowPrivate
static QWindowPrivate * get (QWindow *window)
static Qt::WindowState effectiveState (Qt::WindowStates)
Static Public Member Functions inherited from QObjectPrivate
static bool removeConnection (Connection *c)
static QObjectPrivate * get (QObject *o)
static const QObjectPrivate * get (const QObject *o)
static void deleteInOwnThread (QObject *object)
template<typename Func1, typename Func2>
static QMetaObject::Connection connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection)
template<typename Func1, typename Func2>
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot)
static QMetaObject::Connection connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject)
static QMetaObject::Connection connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
static QMetaObject::Connection connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
static bool disconnect (const QObject *sender, int signal_index, void **slot)
static bool disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot)
Static Public Attributes inherited from QQuickWindowPrivate
static bool defaultAlphaBuffer = false
static QQuickWindow::TextRenderType textRenderType = QQuickWindow::QtTextRendering

Detailed Description

Definition at line 34 of file qquickpopupwindow.cpp.

Member Function Documentation

◆ setVisible() [1/2]

void QQuickPopupWindowPrivate::setVisible ( bool visible)
overrideprotectedvirtual

Reimplemented from QWindowPrivate.

Definition at line 159 of file qquickpopupwindow.cpp.

References m_inHideEvent, s_grabbedWindow, and transientParentIsGoingAway().

Here is the call graph for this function:

◆ setVisible() [2/2]

void QQuickPopupWindowPrivate::setVisible ( bool visible)
overrideprotectedvirtual

Reimplemented from QWindowPrivate.

◆ transientParentIsGoingAway() [1/2]

bool QQuickPopupWindowPrivate::transientParentIsGoingAway ( ) const

Definition at line 148 of file qquickpopupwindow.cpp.

Referenced by setVisible().

Here is the caller graph for this function:

◆ transientParentIsGoingAway() [2/2]

bool QQuickPopupWindowPrivate::transientParentIsGoingAway ( ) const

Member Data Documentation

◆ m_inHideEvent

bool QQuickPopupWindowPrivate::m_inHideEvent = false

Definition at line 42 of file qquickpopupwindow.cpp.

Referenced by setVisible().

◆ m_popup

QPointer< QQuickPopup > QQuickPopupWindowPrivate::m_popup

Definition at line 40 of file qquickpopupwindow.cpp.

◆ m_popupItem

QPointer< QQuickItem > QQuickPopupWindowPrivate::m_popupItem

Definition at line 39 of file qquickpopupwindow.cpp.

◆ m_popupParentItemWindow

QPointer< QWindow > QQuickPopupWindowPrivate::m_popupParentItemWindow

Definition at line 41 of file qquickpopupwindow.cpp.


The documentation for this class was generated from the following file: