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
QtWaylandClient::QWaylandWindow Class Referenceabstract

#include <qwaylandwindow_p.h>

Inheritance diagram for QtWaylandClient::QWaylandWindow:
Collaboration diagram for QtWaylandClient::QWaylandWindow:

Public Types

enum  WindowType { Shm , Egl , Vulkan }
enum  ToplevelWindowTilingState {
  WindowNoState = 0 , WindowTiledLeft = 1 , WindowTiledRight = 2 , WindowTiledTop = 4 ,
  WindowTiledBottom = 8
}

Public Slots

void applyConfigure ()

Signals

void wlSurfaceCreated ()
void wlSurfaceDestroyed ()

Public Member Functions

 QWaylandWindow (QWindow *window, QWaylandDisplay *displaydisplay)
 ~QWaylandWindow () override
virtual WindowType windowType () const =0
virtual void ensureSize ()
WId winId () const override
 Reimplement in subclasses to return a handle to the native window.
void setVisible (bool visible) override
 Reimplemented in subclasses to show the surface if visible is true, and hide it if visible is false.
void setParent (const QPlatformWindow *parent) override
 This function is called to enable native child window in QPA.
QString windowTitle () const override
 Reimplement to return the actual window title used in the underlying windowing system unless the title set for the QWindow which belongs to this QPlatformWindow (i.e.
void setWindowTitle (const QString &title) override
 Reimplement to set the window title to title.
QIcon windowIcon () const
void setWindowIcon (const QIcon &icon) override
 Reimplement to set the window icon to icon.
void setGeometry (const QRect &rect) override
 This function is called by Qt whenever a window is moved or resized using the QWindow API.
bool allowsIndependentThreadedRendering () const override
 Returns whether applications can render new frames from any thread without co-ordination with the main thread.
void resizeFromApplyConfigure (const QSize &sizeWithMargins, const QPoint &offsetoffset={0, 0})
void repositionFromApplyConfigure (const QPoint &position)
void setGeometryFromApplyConfigure (const QPoint &globalPosition, const QSize &sizeWithMargins)
void applyConfigureWhenPossible ()
void attach (QWaylandBuffer *bufferbuffer, int xx, int yy)
void attachOffset (QWaylandBuffer *bufferbuffer)
QPoint attachOffset () const
void damage (const QRect &rect)
void safeCommit (QWaylandBuffer *bufferbuffer, const QRegion &damage)
void commit (QWaylandBuffer *bufferbuffer, const QRegion &damage)
void commit ()
bool waitForFrameSync (int timeouttimeout)
QMargins frameMargins () const override
QMargins clientSideMargins () const
void setCustomMargins (const QMargins &margins) override
QMargins windowContentMargins () const
QRect windowContentGeometry () const
 Window geometry as defined by the xdg-shell spec (in wl_surface coordinates) topLeft is where the shadow stops and the decorations border start.
QMargins safeAreaMargins () const override
 The safe area margins of a window represent the area that is safe to place content within, without intersecting areas of the screen where system UI is placed, or where a screen bezel may cover the content.
void setSafeAreaMargins (const QMargins &margins)
QWaylandSurface * waylandSurface () const
::wl_surface * wlSurface () const
::wl_surface * surface () const override
QWaylandDisplay * display () const
QWaylandShellSurface * shellSurface () const
std::any _surfaceRole () const override
QWaylandSubSurface * subSurfaceWindow () const
QWaylandScreen * waylandScreen () const
void handleContentOrientationChange (Qt::ScreenOrientation orientation) override
 Handle changes to the orientation of the platform window's contents.
void updateBufferTransform ()
void setOrientationMask (Qt::ScreenOrientations maskmask)
ToplevelWindowTilingStates toplevelWindowTilingStates () const
void handleToplevelWindowTilingStatesChanged (ToplevelWindowTilingStates statesstates)
Qt::WindowStates windowStates () const
void setWindowState (Qt::WindowStates states) override
 Requests setting the window state of this surface to type.
void setWindowFlags (Qt::WindowFlags flagsflags) override
 Requests setting the window flags of this surface to flags.
Qt::WindowFlags windowFlags () const
void handleWindowStatesChanged (Qt::WindowStates statesstates)
void raise () override
 Reimplement to be able to let Qt raise windows to the top of the desktop.
void lower () override
 Reimplement to be able to let Qt lower windows to the bottom of the desktop.
void setMask (const QRegion &region) override
 Reimplement to be able to let Qt set the mask of a window.
void setAlertState (bool enabled) override
 Reimplement this method to set whether the window demands attention (for example, by flashing the taskbar icon) depending on enabled.
bool isAlertState () const override
 Reimplement this method return whether the window is in an alert state.
qreal scale () const
qreal devicePixelRatio () const override
 Reimplement this function in subclass to return the device pixel ratio for the window.
void requestActivateWindow () override
 Reimplement to let Qt be able to request activation/focus for a window.
bool isExposed () const override
 Returns if this window is exposed in the windowing system.
bool isActive () const override
 Returns true if the window should appear active from a style perspective.
QWaylandAbstractDecoration * decoration () const
void handleMouse (QWaylandInputDevice *inputDevice, const QWaylandPointerEvent &e)
void handleSwipeGesture (QWaylandInputDevice *inputDevice, const QWaylandPointerGestureSwipeEvent &e)
void handlePinchGesture (QWaylandInputDevice *inputDevice, const QWaylandPointerGesturePinchEvent &e)
QPointF mapInputToGlobal (const QPointF &pointIn)
void updateNeedsDecoration ()
QWaylandWindow * transientParent () const
bool setMouseGrabEnabled (bool grab) override
void sendProperty (const QString &namename, const QVariant &valuevalue)
void setProperty (const QString &namename, const QVariant &valuevalue)
QVariantMap properties () const
QVariant property (const QString &namename)
QVariant property (const QString &namename, const QVariant &defaultValue)
void setBackingStore (QWaylandShmBackingStore *backingStore)
QWaylandShmBackingStore * backingStore () const
void setShellIntegration (QWaylandShellIntegration *shellIntegration)
QWaylandShellIntegration * shellIntegration () const
bool setKeyboardGrabEnabled (bool) override
void propagateSizeHints () override
 Reimplement to propagate the size hints of the QWindow.
void addAttachOffset (const QPoint point)
bool startSystemResize (Qt::Edges edges) override
 Reimplement this method to start a system resize operation if the system supports it and return true to indicate success.
bool startSystemMove () override
 Reimplement this method to start a system move operation if the system supports it and return true to indicate success.
void timerEvent (QTimerEvent *eventevent) override
void requestUpdate () override
 Requests an QEvent::UpdateRequest event.
void handleUpdate ()
void requestForcedUpdate ()
void deliverUpdateRequest () override
 Delivers an QEvent::UpdateRequest event to the window.
void setXdgActivationToken (const QString &token)
void requestXdgActivationToken (uint serial) override
void beginFrame ()
void endFrame ()
void closeChildPopups ()
void updateExposure ()
virtual void reinit ()
void reset ()
void initializeWlSurface (bool colorSpace=true)
void initializeColorSpace ()
bool windowEvent (QEvent *eventevent) override
 Reimplement this method to be able to do any platform specific event handling.
QSurfaceFormat format () const override
 Returns the actual surface format of the window.
void setSessionRestoreId (const QString &role) override
QString sessionRestoreId () const
void setExtendedWindowType (QNativeInterface::Private::QWaylandWindow::WindowType) override
QNativeInterface::Private::QWaylandWindow::WindowType extendedWindowType () const
void setParentControlGeometry (const QRect &parentAnchor) override
QRect parentControlGeometry () const
void handleMousePressActivation ()
Public Member Functions inherited from QPlatformWindow
 QPlatformWindow (QWindow *window)
 Constructs a platform window with the given top level window.
 ~QPlatformWindow () override
 Virtual destructor does not delete its top level window.
virtual void initialize ()
 Called as part of QWindow::create(), after constructing the window.
QWindow * window () const
 Returns the window which belongs to the QPlatformWindow.
QPlatformWindow * parent () const
 Returns the parent platform window (or \nullptr if orphan).
QPlatformScreen * screen () const override
 Returns the platform screen handle corresponding to this platform window, or null if the window is not associated with a screen.
virtual QRect geometry () const
 Returns the current geometry of a window.
virtual QRect normalGeometry () const
 Returns the geometry of a window in 'normal' state (neither maximized, fullscreen nor minimized) for saving geometries to application settings.
virtual void setWindowFilePath (const QString &title)
 Reimplement to set the window file path to filePath.
virtual bool close ()
 Reimplement to let the platform handle non-spontaneous window close.
virtual bool isAncestorOf (const QPlatformWindow *child) const
 Returns true if the window is an ancestor of the given child.
virtual bool isEmbedded () const
 Returns true if the window is a child of a non-Qt window.
virtual bool isForeignWindow () const
virtual QPoint mapToGlobal (const QPoint &pos) const
 Translates the window coordinate pos to global screen coordinates using native methods.
QPointF mapToGlobalF (const QPointF &pos) const
virtual QPoint mapFromGlobal (const QPoint &pos) const
 Translates the global screen coordinate pos to window coordinates using native methods.
QPointF mapFromGlobalF (const QPointF &pos) const
virtual void setOpacity (qreal levellevel)
 Reimplement to be able to let Qt set the opacity level of a window.
virtual bool setWindowModified (bool modified)
 Reimplement to be able to let Qt indicate that the window has been modified.
virtual void setFrameStrutEventsEnabled (bool enabledenabled)
 Reimplement this method to set whether frame strut events should be sent to enabled.
virtual bool frameStrutEventsEnabled () const
 Reimplement this method to return whether frame strut events are enabled.
virtual void invalidateSurface ()
 Invalidates the window's surface by releasing its surface buffers.
bool hasPendingUpdateRequest () const
 Returns true if the window has a pending update request.
QSize windowMinimumSize () const
 Returns the QWindow minimum size.
QSize windowMaximumSize () const
 Returns the QWindow maximum size.
QSize windowBaseSize () const
 Returns the QWindow base size.
QSize windowSizeIncrement () const
 Returns the QWindow size increment.
QRect windowGeometry () const
 Returns the QWindow geometry.
QRect windowFrameGeometry () const
 Returns the QWindow frame geometry.
QRectF windowClosestAcceptableGeometry (const QRectF &nativeRect) const
Public Member Functions inherited from QPlatformSurface
virtual ~QPlatformSurface ()
QSurface * surface () const

Static Public Member Functions

static QWaylandWindow * fromWlSurface (::wl_surface *surface)
static QWaylandWindow * mouseGrab ()
Static Public Member Functions inherited from QPlatformWindow
static QRect initialGeometry (const QWindow *ww, const QRect &initialGeometry, int defaultWidth, int defaultHeight, const QScreen **resultingScreenReturn=nullptr)
 Helper function to get initial geometry on windowing systems which do not do smart positioning and also do not provide a means of centering a transient window w.r.t.
static QRectF closestAcceptableGeometry (const QWindow *ww, const QRectF &nativeRect)
 Returns the closest acceptable geometry for a given geometry before a resize/move event for platforms that support it, for example to implement heightForWidth().

Static Public Attributes

static bool fixedToplevelPositions = true

Protected Types

enum  GestureState { GestureNotActive , GestureActiveInContentArea }

Protected Member Functions

virtual void doHandleFrameCallback ()
virtual QRect defaultGeometry () const
void setFormat (const QSurfaceFormat &formatformat)
void sendExposeEvent (const QRect &rect)
Protected Member Functions inherited from QPlatformWindow
QPlatformScreen * screenForGeometry (const QRect &newGeometry) const
 Helper function for finding the new screen for newGeometry in response to a geometry changed event.

Protected Attributes

QWaylandDisplay * mDisplay = nullptr
QReadWriteLock mSurfaceLock
std::unique_ptr< QWaylandSurface > mSurface
std::unique_ptr< QWaylandFractionalScale > mFractionalScale
std::unique_ptr< QWaylandViewport > mViewport
QWaylandShellIntegration * mShellIntegration = nullptr
QWaylandShellSurface * mShellSurface = nullptr
QWaylandSubSurface * mSubSurfaceWindow = nullptr
QList< QWaylandSubSurface * > mChildren
std::unique_ptr< QWaylandDecorationHandler > mWindowDecorationHandler
bool mMouseEventsInContentArea = false
Qt::MouseButtons mMousePressedInContentArea = Qt::NoButton
GestureState mGestureState = GestureNotActive
std::atomic_bool mFrameCallbackTimedOut = false
int mFrameCallbackCheckIntervalTimerId = -1
QAtomicInt mWaitingForUpdateDelivery = false
bool mPendingForcedUpdate = false
QElapsedTimer mFrameCallbackElapsedTimer
struct::wl_callback * mFrameCallback = nullptr
QMutex mFrameSyncMutex
QWaitCondition mFrameSyncWait
bool mExposed = false
std::atomic_bool mExposeEventNeedsAttachedBuffer = false
std::atomic_bool mWaitingToApplyConfigure = false
std::atomic_bool mInFrameRender = false
int mFrameCallbackTimeout = 100
QVariantMap m_properties
QPoint mOffset
std::optional< qreal > mScale = std::nullopt
QString mWindowTitle
QIcon mWindowIcon
Qt::WindowFlags mFlags
QRegion mMask
QRegion mInputRegion
bool mTransparentInputRegion = false
QRegion mOpaqueArea
Qt::WindowStates mLastReportedWindowStates = Qt::WindowNoState
ToplevelWindowTilingStates mLastReportedToplevelWindowTilingStates = WindowNoState
QWaylandShmBackingStore * mBackingStore = nullptr
QMargins mCustomMargins
QMargins m_safeAreaMargins
QString mSessionRestoreId
QPointer< QWaylandWindow > mTransientParent
QList< QPointer< QWaylandWindow > > mChildPopups
Qt::ScreenOrientation mLastReportedContentOrientation = Qt::PrimaryOrientation
std::unique_ptr< ColorManagementSurface > mColorManagementSurface
QSurfaceFormat mSurfaceFormat
Protected Attributes inherited from QPlatformWindow
QScopedPointer< QPlatformWindowPrivate > d_ptr

Friends

class QWaylandSubSurface

Additional Inherited Members

Static Protected Member Functions inherited from QPlatformWindow
static QString formatWindowTitle (const QString &title, const QString &separator)
 Call this method to put together a window title composed of title separator the application display name.
static QSize constrainWindowSize (const QSize &sizesize)
 Returns a size with both dimensions bounded to [0, QWINDOWSIZE_MAX].
static bool isSubWindow (const QWindow *window)
 Checks whether the window has the Qt::SubWindow flag.

Detailed Description

Definition at line 71 of file qwaylandwindow_p.h.

Member Enumeration Documentation

◆ GestureState

Enumerator
GestureNotActive 
GestureActiveInContentArea 

Definition at line 303 of file qwaylandwindow_p.h.

◆ ToplevelWindowTilingState

Enumerator
WindowNoState 
WindowTiledLeft 
WindowTiledRight 
WindowTiledTop 
WindowTiledBottom 

Definition at line 82 of file qwaylandwindow_p.h.

◆ WindowType

Enumerator
Shm 
Egl 
Vulkan 

Definition at line 76 of file qwaylandwindow_p.h.

Constructor & Destructor Documentation

◆ QWaylandWindow()

QtWaylandClient::QWaylandWindow::QWaylandWindow ( QWindow * window,
QWaylandDisplay * display )

Definition at line 57 of file qwaylandwindow.cpp.

◆ ~QWaylandWindow()

QtWaylandClient::QWaylandWindow::~QWaylandWindow ( )
override

Definition at line 84 of file qwaylandwindow.cpp.

Member Function Documentation

◆ _surfaceRole()

std::any QtWaylandClient::QWaylandWindow::_surfaceRole ( ) const
override

Definition at line 981 of file qwaylandwindow.cpp.

◆ addAttachOffset()

void QtWaylandClient::QWaylandWindow::addAttachOffset ( const QPoint point)

Definition at line 1667 of file qwaylandwindow.cpp.

◆ allowsIndependentThreadedRendering()

bool QtWaylandClient::QWaylandWindow::allowsIndependentThreadedRendering ( ) const
overridevirtual

Returns whether applications can render new frames from any thread without co-ordination with the main thread.

Platform windows may set this to true during resize events for more control over submitted frames.

This function may be called from any thread.

Reimplemented from QPlatformWindow.

Definition at line 809 of file qwaylandwindow.cpp.

◆ applyConfigure

void QtWaylandClient::QWaylandWindow::applyConfigure ( )
slot

Definition at line 731 of file qwaylandwindow.cpp.

◆ applyConfigureWhenPossible()

void QtWaylandClient::QWaylandWindow::applyConfigureWhenPossible ( )

Definition at line 723 of file qwaylandwindow.cpp.

◆ attach()

void QtWaylandClient::QWaylandWindow::attach ( QWaylandBuffer * buffer,
int x,
int y )

Definition at line 755 of file qwaylandwindow.cpp.

◆ attachOffset() [1/2]

QPoint QtWaylandClient::QWaylandWindow::attachOffset ( ) const
inline

Definition at line 428 of file qwaylandwindow_p.h.

◆ attachOffset() [2/2]

void QtWaylandClient::QWaylandWindow::attachOffset ( QWaylandBuffer * buffer)

Definition at line 776 of file qwaylandwindow.cpp.

◆ backingStore()

QWaylandShmBackingStore * QtWaylandClient::QWaylandWindow::backingStore ( ) const
inline

Definition at line 220 of file qwaylandwindow_p.h.

◆ beginFrame()

void QtWaylandClient::QWaylandWindow::beginFrame ( )

Definition at line 317 of file qwaylandwindow.cpp.

◆ clientSideMargins()

QMargins QtWaylandClient::QWaylandWindow::clientSideMargins ( ) const

Definition at line 921 of file qwaylandwindow.cpp.

◆ closeChildPopups()

void QtWaylandClient::QWaylandWindow::closeChildPopups ( )

Definition at line 1747 of file qwaylandwindow.cpp.

◆ commit() [1/2]

void QtWaylandClient::QWaylandWindow::commit ( )

Definition at line 847 of file qwaylandwindow.cpp.

◆ commit() [2/2]

void QtWaylandClient::QWaylandWindow::commit ( QWaylandBuffer * buffer,
const QRegion & damage )

Definition at line 814 of file qwaylandwindow.cpp.

◆ damage()

void QtWaylandClient::QWaylandWindow::damage ( const QRect & rect)

Definition at line 782 of file qwaylandwindow.cpp.

◆ decoration()

QWaylandAbstractDecoration * QtWaylandClient::QWaylandWindow::decoration ( ) const

Definition at line 1111 of file qwaylandwindow.cpp.

◆ defaultGeometry()

QRect QtWaylandClient::QWaylandWindow::defaultGeometry ( ) const
protectedvirtual

Definition at line 475 of file qwaylandwindow.cpp.

◆ deliverUpdateRequest()

void QtWaylandClient::QWaylandWindow::deliverUpdateRequest ( )
overridevirtual

Delivers an QEvent::UpdateRequest event to the window.

QPlatformWindow subclasses can re-implement this function to provide e.g. logging or tracing of the delivery, but should always call the base class function.

Reimplemented from QPlatformWindow.

Definition at line 1652 of file qwaylandwindow.cpp.

◆ devicePixelRatio()

qreal QtWaylandClient::QWaylandWindow::devicePixelRatio ( ) const
overridevirtual

Reimplement this function in subclass to return the device pixel ratio for the window.

This is the ratio between physical pixels and device-independent pixels.

See also
QPlatformWindow::devicePixelRatio();

Reimplemented from QPlatformWindow.

Definition at line 1477 of file qwaylandwindow.cpp.

◆ display()

QWaylandDisplay * QtWaylandClient::QWaylandWindow::display ( ) const
inline

Definition at line 149 of file qwaylandwindow_p.h.

◆ doHandleFrameCallback()

void QtWaylandClient::QWaylandWindow::doHandleFrameCallback ( )
protectedvirtual

Definition at line 883 of file qwaylandwindow.cpp.

◆ endFrame()

void QtWaylandClient::QWaylandWindow::endFrame ( )

Definition at line 323 of file qwaylandwindow.cpp.

◆ ensureSize()

void QtWaylandClient::QWaylandWindow::ensureSize ( )
virtual

Reimplemented in QtWaylandClient::QWaylandEglWindow.

Definition at line 100 of file qwaylandwindow.cpp.

◆ extendedWindowType()

QNativeInterface::Private::QWaylandWindow::WindowType QtWaylandClient::QWaylandWindow::extendedWindowType ( ) const

Definition at line 1800 of file qwaylandwindow.cpp.

◆ format()

QSurfaceFormat QtWaylandClient::QWaylandWindow::format ( ) const
overridevirtual

Returns the actual surface format of the window.

Reimplemented from QPlatformWindow.

Definition at line 1781 of file qwaylandwindow.cpp.

◆ frameMargins()

QMargins QtWaylandClient::QWaylandWindow::frameMargins ( ) const
overridevirtual

Reimplemented from QPlatformWindow.

Definition at line 911 of file qwaylandwindow.cpp.

◆ fromWlSurface()

QWaylandWindow * QtWaylandClient::QWaylandWindow::fromWlSurface ( ::wl_surface * surface)
static

Definition at line 403 of file qwaylandwindow.cpp.

◆ handleContentOrientationChange()

void QtWaylandClient::QWaylandWindow::handleContentOrientationChange ( Qt::ScreenOrientation orientation)
overridevirtual

Handle changes to the orientation of the platform window's contents.

This is a hint to the window manager in case it needs to display additional content like popups, dialogs, status bars, or similar in relation to the window.

See also
QWindow::reportContentOrientationChange()

Reimplemented from QPlatformWindow.

Definition at line 1004 of file qwaylandwindow.cpp.

◆ handleMouse()

void QtWaylandClient::QWaylandWindow::handleMouse ( QWaylandInputDevice * inputDevice,
const QWaylandPointerEvent & e )

Definition at line 1153 of file qwaylandwindow.cpp.

◆ handleMousePressActivation()

void QtWaylandClient::QWaylandWindow::handleMousePressActivation ( )

Definition at line 1817 of file qwaylandwindow.cpp.

◆ handlePinchGesture()

void QtWaylandClient::QWaylandWindow::handlePinchGesture ( QWaylandInputDevice * inputDevice,
const QWaylandPointerGesturePinchEvent & e )

Definition at line 1242 of file qwaylandwindow.cpp.

◆ handleSwipeGesture()

void QtWaylandClient::QWaylandWindow::handleSwipeGesture ( QWaylandInputDevice * inputDevice,
const QWaylandPointerGestureSwipeEvent & e )

Definition at line 1196 of file qwaylandwindow.cpp.

◆ handleToplevelWindowTilingStatesChanged()

void QtWaylandClient::QWaylandWindow::handleToplevelWindowTilingStatesChanged ( ToplevelWindowTilingStates states)

Definition at line 1498 of file qwaylandwindow.cpp.

◆ handleUpdate()

void QtWaylandClient::QWaylandWindow::handleUpdate ( )

Definition at line 1612 of file qwaylandwindow.cpp.

◆ handleWindowStatesChanged()

void QtWaylandClient::QWaylandWindow::handleWindowStatesChanged ( Qt::WindowStates states)

Definition at line 1508 of file qwaylandwindow.cpp.

◆ initializeColorSpace()

void QtWaylandClient::QWaylandWindow::initializeColorSpace ( )

Definition at line 261 of file qwaylandwindow.cpp.

◆ initializeWlSurface()

void QtWaylandClient::QWaylandWindow::initializeWlSurface ( bool colorSpace = true)

Definition at line 228 of file qwaylandwindow.cpp.

◆ isActive()

bool QtWaylandClient::QWaylandWindow::isActive ( ) const
overridevirtual

Returns true if the window should appear active from a style perspective.

This function can make platform-specific isActive checks, such as checking if the QWindow is embedded in an active native window.

Reimplemented from QPlatformWindow.

Definition at line 1467 of file qwaylandwindow.cpp.

◆ isAlertState()

bool QtWaylandClient::QWaylandWindow::isAlertState ( ) const
overridevirtual

Reimplement this method return whether the window is in an alert state.

See also
setAlertState()
Since
5.1

Reimplemented from QPlatformWindow.

Definition at line 715 of file qwaylandwindow.cpp.

◆ isExposed()

bool QtWaylandClient::QWaylandWindow::isExposed ( ) const
overridevirtual

Returns if this window is exposed in the windowing system.

An exposeEvent() is sent every time this value changes.

Reimplemented from QPlatformWindow.

Definition at line 1462 of file qwaylandwindow.cpp.

◆ lower()

void QtWaylandClient::QWaylandWindow::lower ( )
overridevirtual

Reimplement to be able to let Qt lower windows to the bottom of the desktop.

Reimplemented from QPlatformWindow.

Definition at line 682 of file qwaylandwindow.cpp.

◆ mapInputToGlobal()

QPointF QtWaylandClient::QWaylandWindow::mapInputToGlobal ( const QPointF & pointIn)

Definition at line 1303 of file qwaylandwindow.cpp.

◆ mouseGrab()

QWaylandWindow * QtWaylandClient::QWaylandWindow::mouseGrab ( )
inlinestatic

Definition at line 206 of file qwaylandwindow_p.h.

◆ parentControlGeometry()

QRect QtWaylandClient::QWaylandWindow::parentControlGeometry ( ) const

Definition at line 1812 of file qwaylandwindow.cpp.

◆ propagateSizeHints()

void QtWaylandClient::QWaylandWindow::propagateSizeHints ( )
overridevirtual

Reimplement to propagate the size hints of the QWindow.

The size hints include QWindow::minimumSize(), QWindow::maximumSize(), QWindow::sizeIncrement(), and QWindow::baseSize().

Reimplemented from QPlatformWindow.

Definition at line 1672 of file qwaylandwindow.cpp.

◆ properties()

QVariantMap QtWaylandClient::QWaylandWindow::properties ( ) const

Definition at line 1536 of file qwaylandwindow.cpp.

◆ property() [1/2]

QVariant QtWaylandClient::QWaylandWindow::property ( const QString & name)

Definition at line 1541 of file qwaylandwindow.cpp.

◆ property() [2/2]

QVariant QtWaylandClient::QWaylandWindow::property ( const QString & name,
const QVariant & defaultValue )

Definition at line 1546 of file qwaylandwindow.cpp.

◆ raise()

void QtWaylandClient::QWaylandWindow::raise ( )
overridevirtual

Reimplement to be able to let Qt raise windows to the top of the desktop.

Reimplemented from QPlatformWindow.

Definition at line 675 of file qwaylandwindow.cpp.

◆ reinit()

void QtWaylandClient::QWaylandWindow::reinit ( )
virtual

Definition at line 1754 of file qwaylandwindow.cpp.

◆ repositionFromApplyConfigure()

void QtWaylandClient::QWaylandWindow::repositionFromApplyConfigure ( const QPoint & position)

Definition at line 592 of file qwaylandwindow.cpp.

◆ requestActivateWindow()

void QtWaylandClient::QWaylandWindow::requestActivateWindow ( )
overridevirtual

Reimplement to let Qt be able to request activation/focus for a window.

Some window systems will probably not have callbacks for this functionality, and then calling QWindowSystemInterface::handleFocusWindowChanged(QWindow *w) would be sufficient.

If the window system has some event handling/callbacks then call QWindowSystemInterface::handleFocusWindowChanged(QWindow *w) when the window system gives the notification.

Default implementation calls QWindowSystem::handleFocusWindowChanged(QWindow *w)

Reimplemented from QPlatformWindow.

Definition at line 1404 of file qwaylandwindow.cpp.

◆ requestForcedUpdate()

void QtWaylandClient::QWaylandWindow::requestForcedUpdate ( )

Definition at line 1646 of file qwaylandwindow.cpp.

◆ requestUpdate()

void QtWaylandClient::QWaylandWindow::requestUpdate ( )
overridevirtual

Requests an QEvent::UpdateRequest event.

The event will be delivered to the QWindow.

QPlatformWindow subclasses can re-implement this function to provide display refresh synchronized updates. The event should be delivered using QPlatformWindow::deliverUpdateRequest() to not get out of sync with the internal state of QWindow.

The default implementation posts an UpdateRequest event to the window after an interval that is at most 5 ms. If the window's associated screen reports a \l{QPlatformScreen::refreshRate()}{refresh rate} higher than 60 Hz, the interval is scaled down to a valid smaller than 5. The additional time is there to give the event loop a bit of idle time to gather system events.

Reimplemented from QPlatformWindow.

Definition at line 1583 of file qwaylandwindow.cpp.

◆ requestXdgActivationToken()

void QtWaylandClient::QWaylandWindow::requestXdgActivationToken ( uint serial)
override

Definition at line 1715 of file qwaylandwindow.cpp.

◆ reset()

void QtWaylandClient::QWaylandWindow::reset ( )

Definition at line 329 of file qwaylandwindow.cpp.

◆ resizeFromApplyConfigure()

void QtWaylandClient::QWaylandWindow::resizeFromApplyConfigure ( const QSize & sizeWithMargins,
const QPoint & offset = {0, 0} )

Definition at line 603 of file qwaylandwindow.cpp.

◆ safeAreaMargins()

QMargins QtWaylandClient::QWaylandWindow::safeAreaMargins ( ) const
overridevirtual

The safe area margins of a window represent the area that is safe to place content within, without intersecting areas of the screen where system UI is placed, or where a screen bezel may cover the content.

Reimplemented from QPlatformWindow.

Definition at line 959 of file qwaylandwindow.cpp.

◆ safeCommit()

void QtWaylandClient::QWaylandWindow::safeCommit ( QWaylandBuffer * buffer,
const QRegion & damage )

Definition at line 800 of file qwaylandwindow.cpp.

◆ scale()

qreal QtWaylandClient::QWaylandWindow::scale ( ) const

Definition at line 1472 of file qwaylandwindow.cpp.

◆ sendExposeEvent()

void QtWaylandClient::QWaylandWindow::sendExposeEvent ( const QRect & rect)
protected

If an expose is not handled by application code, explicitly attach a buffer This primarily is a workaround for Qt unit tests using QWindow directly and wanting focus.

Definition at line 616 of file qwaylandwindow.cpp.

◆ sendProperty()

void QtWaylandClient::QWaylandWindow::sendProperty ( const QString & name,
const QVariant & value )

Definition at line 1518 of file qwaylandwindow.cpp.

◆ sessionRestoreId()

QString QtWaylandClient::QWaylandWindow::sessionRestoreId ( ) const

Definition at line 1791 of file qwaylandwindow.cpp.

◆ setAlertState()

void QtWaylandClient::QWaylandWindow::setAlertState ( bool enable)
overridevirtual

Reimplement this method to set whether the window demands attention (for example, by flashing the taskbar icon) depending on enabled.

See also
isAlertState()
Since
5.1

Reimplemented from QPlatformWindow.

Definition at line 709 of file qwaylandwindow.cpp.

◆ setBackingStore()

void QtWaylandClient::QWaylandWindow::setBackingStore ( QWaylandShmBackingStore * backingStore)
inline

Definition at line 218 of file qwaylandwindow_p.h.

◆ setCustomMargins()

void QtWaylandClient::QWaylandWindow::setCustomMargins ( const QMargins & margins)
override

Definition at line 928 of file qwaylandwindow.cpp.

◆ setExtendedWindowType()

void QtWaylandClient::QWaylandWindow::setExtendedWindowType ( QNativeInterface::Private::QWaylandWindow::WindowType windowType)
override

Definition at line 1796 of file qwaylandwindow.cpp.

◆ setFormat()

void QtWaylandClient::QWaylandWindow::setFormat ( const QSurfaceFormat & format)
protected

Definition at line 278 of file qwaylandwindow.cpp.

◆ setGeometry()

void QtWaylandClient::QWaylandWindow::setGeometry ( const QRect & rect)
overridevirtual

This function is called by Qt whenever a window is moved or resized using the QWindow API.

Unless you also override QPlatformWindow::geometry(), you need to call the baseclass implementation of this function in any override of QPlatformWindow::setGeometry(), as QWindow::geometry() is expected to report back the set geometry until a confirmation (or rejection) of the new geometry comes back from the window manager and is reported via QWindowSystemInterface::handleGeometryChange().

Window move/resizes can also be triggered spontaneously by the window manager, or as a response to an earlier requested move/resize via the Qt APIs. There is no need to call this function from the window manager callback, instead call QWindowSystemInterface::handleGeometryChange().

The position(x, y) part of the rect might be inclusive or exclusive of the window frame as returned by frameMargins(). You can detect this in the plugin by checking qt_window_private(window())->positionPolicy.

Reimplemented from QPlatformWindow.

Definition at line 495 of file qwaylandwindow.cpp.

◆ setGeometryFromApplyConfigure()

void QtWaylandClient::QWaylandWindow::setGeometryFromApplyConfigure ( const QPoint & globalPosition,
const QSize & sizeWithMargins )

Definition at line 577 of file qwaylandwindow.cpp.

◆ setKeyboardGrabEnabled()

bool QtWaylandClient::QWaylandWindow::setKeyboardGrabEnabled ( bool )
inlineoverridevirtual

Reimplemented from QPlatformWindow.

Definition at line 225 of file qwaylandwindow_p.h.

◆ setMask()

void QtWaylandClient::QWaylandWindow::setMask ( const QRegion & region)
overridevirtual

Reimplement to be able to let Qt set the mask of a window.

Reimplemented from QPlatformWindow.

Definition at line 688 of file qwaylandwindow.cpp.

◆ setMouseGrabEnabled()

bool QtWaylandClient::QWaylandWindow::setMouseGrabEnabled ( bool grab)
overridevirtual

Reimplemented from QPlatformWindow.

Definition at line 1482 of file qwaylandwindow.cpp.

◆ setOrientationMask()

void QtWaylandClient::QWaylandWindow::setOrientationMask ( Qt::ScreenOrientations mask)

Definition at line 1052 of file qwaylandwindow.cpp.

◆ setParent()

void QtWaylandClient::QWaylandWindow::setParent ( const QPlatformWindow * parent)
overridevirtual

This function is called to enable native child window in QPA.

It is common not to support this feature in Window systems, but can be faked. When this function is called all geometry of this platform window will be relative to the parent.

Platforms that override this function should return true for QPlatformIntegration::Capability::ChildWindows.

Reimplemented from QPlatformWindow.

Definition at line 414 of file qwaylandwindow.cpp.

◆ setParentControlGeometry()

void QtWaylandClient::QWaylandWindow::setParentControlGeometry ( const QRect & parentAnchor)
override

Definition at line 1805 of file qwaylandwindow.cpp.

◆ setProperty()

void QtWaylandClient::QWaylandWindow::setProperty ( const QString & name,
const QVariant & value )

Definition at line 1528 of file qwaylandwindow.cpp.

◆ setSafeAreaMargins()

void QtWaylandClient::QWaylandWindow::setSafeAreaMargins ( const QMargins & margins)

Definition at line 964 of file qwaylandwindow.cpp.

◆ setSessionRestoreId()

void QtWaylandClient::QWaylandWindow::setSessionRestoreId ( const QString & role)
override

Definition at line 1786 of file qwaylandwindow.cpp.

◆ setShellIntegration()

void QtWaylandClient::QWaylandWindow::setShellIntegration ( QWaylandShellIntegration * shellIntegration)

Definition at line 285 of file qwaylandwindow.cpp.

◆ setVisible()

void QtWaylandClient::QWaylandWindow::setVisible ( bool visible)
overridevirtual

Reimplemented in subclasses to show the surface if visible is true, and hide it if visible is false.

The default implementation sends a synchronous expose event.

Reimplemented from QPlatformWindow.

Definition at line 651 of file qwaylandwindow.cpp.

◆ setWindowFlags()

void QtWaylandClient::QWaylandWindow::setWindowFlags ( Qt::WindowFlags flags)
overridevirtual

Requests setting the window flags of this surface to flags.

Reimplemented from QPlatformWindow.

Definition at line 1064 of file qwaylandwindow.cpp.

◆ setWindowIcon()

void QtWaylandClient::QWaylandWindow::setWindowIcon ( const QIcon & icon)
overridevirtual

Reimplement to set the window icon to icon.

Reimplemented from QPlatformWindow.

Definition at line 465 of file qwaylandwindow.cpp.

◆ setWindowState()

void QtWaylandClient::QWaylandWindow::setWindowState ( Qt::WindowStates state)
overridevirtual

Requests setting the window state of this surface to type.

Qt::WindowActive can be ignored.

Reimplemented from QPlatformWindow.

Definition at line 1058 of file qwaylandwindow.cpp.

◆ setWindowTitle()

void QtWaylandClient::QWaylandWindow::setWindowTitle ( const QString & title)
overridevirtual

Reimplement to set the window title to title.

The implementation might want to append the application display name to the window title, like Windows and Linux do.

\l QPlatformWindow::windowTitle() can be used to retrieve the actual window title.

See also
QGuiApplication::applicationDisplayName()
QPlatformWindow::windowTitle()

Reimplemented from QPlatformWindow.

Definition at line 439 of file qwaylandwindow.cpp.

◆ setXdgActivationToken()

void QtWaylandClient::QWaylandWindow::setXdgActivationToken ( const QString & token)

Definition at line 1725 of file qwaylandwindow.cpp.

◆ shellIntegration()

QWaylandShellIntegration * QtWaylandClient::QWaylandWindow::shellIntegration ( ) const
inline

Definition at line 223 of file qwaylandwindow_p.h.

◆ shellSurface()

QWaylandShellSurface * QtWaylandClient::QWaylandWindow::shellSurface ( ) const

Definition at line 976 of file qwaylandwindow.cpp.

◆ startSystemMove()

bool QtWaylandClient::QWaylandWindow::startSystemMove ( )
overridevirtual

Reimplement this method to start a system move operation if the system supports it and return true to indicate success.

The default implementation is empty and does nothing.

Since
5.15

Reimplemented from QPlatformWindow.

Definition at line 1688 of file qwaylandwindow.cpp.

◆ startSystemResize()

bool QtWaylandClient::QWaylandWindow::startSystemResize ( Qt::Edges edges)
overridevirtual

Reimplement this method to start a system resize operation if the system supports it and return true to indicate success.

The default implementation is empty and does nothing with edges.

Since
5.15

Reimplemented from QPlatformWindow.

Definition at line 1678 of file qwaylandwindow.cpp.

◆ subSurfaceWindow()

QWaylandSubSurface * QtWaylandClient::QWaylandWindow::subSurfaceWindow ( ) const

Definition at line 990 of file qwaylandwindow.cpp.

◆ surface()

::wl_surface * QtWaylandClient::QWaylandWindow::surface ( ) const
inlineoverride

Definition at line 143 of file qwaylandwindow_p.h.

◆ timerEvent()

void QtWaylandClient::QWaylandWindow::timerEvent ( QTimerEvent * event)
override

Definition at line 1558 of file qwaylandwindow.cpp.

◆ toplevelWindowTilingStates()

QWaylandWindow::ToplevelWindowTilingStates QtWaylandClient::QWaylandWindow::toplevelWindowTilingStates ( ) const

Definition at line 1493 of file qwaylandwindow.cpp.

◆ transientParent()

QWaylandWindow * QtWaylandClient::QWaylandWindow::transientParent ( ) const

Definition at line 1127 of file qwaylandwindow.cpp.

◆ updateBufferTransform()

void QtWaylandClient::QWaylandWindow::updateBufferTransform ( )

Definition at line 1010 of file qwaylandwindow.cpp.

◆ updateExposure()

void QtWaylandClient::QWaylandWindow::updateExposure ( )

Definition at line 1443 of file qwaylandwindow.cpp.

◆ updateNeedsDecoration()

void QtWaylandClient::QWaylandWindow::updateNeedsDecoration ( )

Definition at line 1100 of file qwaylandwindow.cpp.

◆ waitForFrameSync()

bool QtWaylandClient::QWaylandWindow::waitForFrameSync ( int timeout)

Definition at line 895 of file qwaylandwindow.cpp.

◆ waylandScreen()

QWaylandScreen * QtWaylandClient::QWaylandWindow::waylandScreen ( ) const

Definition at line 995 of file qwaylandwindow.cpp.

◆ waylandSurface()

QWaylandSurface * QtWaylandClient::QWaylandWindow::waylandSurface ( ) const
inline

Definition at line 141 of file qwaylandwindow_p.h.

◆ windowContentGeometry()

QRect QtWaylandClient::QWaylandWindow::windowContentGeometry ( ) const

Window geometry as defined by the xdg-shell spec (in wl_surface coordinates) topLeft is where the shadow stops and the decorations border start.

Definition at line 952 of file qwaylandwindow.cpp.

◆ windowContentMargins()

QMargins QtWaylandClient::QWaylandWindow::windowContentMargins ( ) const

Definition at line 935 of file qwaylandwindow.cpp.

◆ windowEvent()

bool QtWaylandClient::QWaylandWindow::windowEvent ( QEvent * event)
overridevirtual

Reimplement this method to be able to do any platform specific event handling.

All non-synthetic events for window() are passed to this function before being sent to QWindow::event().

Return true if the event should not be passed on to the QWindow.

Subclasses should always call the base class implementation.

Reimplemented from QPlatformWindow.

Definition at line 1763 of file qwaylandwindow.cpp.

◆ windowFlags()

Qt::WindowFlags QtWaylandClient::QWaylandWindow::windowFlags ( ) const

Definition at line 1095 of file qwaylandwindow.cpp.

◆ windowIcon()

QIcon QtWaylandClient::QWaylandWindow::windowIcon ( ) const
inline

Definition at line 423 of file qwaylandwindow_p.h.

◆ windowStates()

Qt::WindowStates QtWaylandClient::QWaylandWindow::windowStates ( ) const

Definition at line 1503 of file qwaylandwindow.cpp.

◆ windowTitle()

QString QtWaylandClient::QWaylandWindow::windowTitle ( ) const
overridevirtual

Reimplement to return the actual window title used in the underlying windowing system unless the title set for the QWindow which belongs to this QPlatformWindow (i.e.

the window returned by \l QPlatformWindow::window) is always used without modification.

See also
QPlatformWindow::setWindowTitle()
Since
6.9

Reimplemented from QPlatformWindow.

Definition at line 434 of file qwaylandwindow.cpp.

◆ windowType()

virtual WindowType QtWaylandClient::QWaylandWindow::windowType ( ) const
pure virtual

◆ winId()

WId QtWaylandClient::QWaylandWindow::winId ( ) const
overridevirtual

Reimplement in subclasses to return a handle to the native window.

Reimplemented from QPlatformWindow.

Definition at line 409 of file qwaylandwindow.cpp.

◆ wlSurface()

wl_surface * QtWaylandClient::QWaylandWindow::wlSurface ( ) const

Definition at line 970 of file qwaylandwindow.cpp.

◆ wlSurfaceCreated

void QtWaylandClient::QWaylandWindow::wlSurfaceCreated ( )
signal

◆ wlSurfaceDestroyed

void QtWaylandClient::QWaylandWindow::wlSurfaceDestroyed ( )
signal

◆ QWaylandSubSurface

friend class QWaylandSubSurface
friend

Definition at line 418 of file qwaylandwindow_p.h.

Member Data Documentation

◆ fixedToplevelPositions

bool QtWaylandClient::QWaylandWindow::fixedToplevelPositions = true
inlinestatic

Definition at line 95 of file qwaylandwindow_p.h.

◆ m_properties

QVariantMap QtWaylandClient::QWaylandWindow::m_properties
protected

Definition at line 337 of file qwaylandwindow_p.h.

◆ m_safeAreaMargins

QMargins QtWaylandClient::QWaylandWindow::m_safeAreaMargins
protected

Definition at line 359 of file qwaylandwindow_p.h.

◆ mBackingStore

QWaylandShmBackingStore* QtWaylandClient::QWaylandWindow::mBackingStore = nullptr
protected

Definition at line 356 of file qwaylandwindow_p.h.

◆ mChildPopups

QList<QPointer<QWaylandWindow> > QtWaylandClient::QWaylandWindow::mChildPopups
protected

Definition at line 363 of file qwaylandwindow_p.h.

◆ mChildren

QList<QWaylandSubSurface *> QtWaylandClient::QWaylandWindow::mChildren
protected

Definition at line 296 of file qwaylandwindow_p.h.

◆ mColorManagementSurface

std::unique_ptr<ColorManagementSurface> QtWaylandClient::QWaylandWindow::mColorManagementSurface
protected

Definition at line 367 of file qwaylandwindow_p.h.

◆ mCustomMargins

QMargins QtWaylandClient::QWaylandWindow::mCustomMargins
protected

Definition at line 358 of file qwaylandwindow_p.h.

◆ mDisplay

QWaylandDisplay* QtWaylandClient::QWaylandWindow::mDisplay = nullptr
protected

Definition at line 285 of file qwaylandwindow_p.h.

◆ mExposed

bool QtWaylandClient::QWaylandWindow::mExposed = false
protected

Definition at line 328 of file qwaylandwindow_p.h.

◆ mExposeEventNeedsAttachedBuffer

std::atomic_bool QtWaylandClient::QWaylandWindow::mExposeEventNeedsAttachedBuffer = false
protected

Definition at line 329 of file qwaylandwindow_p.h.

◆ mFlags

Qt::WindowFlags QtWaylandClient::QWaylandWindow::mFlags
protected

Definition at line 345 of file qwaylandwindow_p.h.

◆ mFractionalScale

std::unique_ptr<QWaylandFractionalScale> QtWaylandClient::QWaylandWindow::mFractionalScale
protected

Definition at line 290 of file qwaylandwindow_p.h.

◆ mFrameCallback

struct::wl_callback* QtWaylandClient::QWaylandWindow::mFrameCallback = nullptr
protected

Definition at line 324 of file qwaylandwindow_p.h.

◆ mFrameCallbackCheckIntervalTimerId

int QtWaylandClient::QWaylandWindow::mFrameCallbackCheckIntervalTimerId = -1
protected

Definition at line 319 of file qwaylandwindow_p.h.

◆ mFrameCallbackElapsedTimer

QElapsedTimer QtWaylandClient::QWaylandWindow::mFrameCallbackElapsedTimer
protected

Definition at line 323 of file qwaylandwindow_p.h.

◆ mFrameCallbackTimedOut

std::atomic_bool QtWaylandClient::QWaylandWindow::mFrameCallbackTimedOut = false
protected

Definition at line 318 of file qwaylandwindow_p.h.

◆ mFrameCallbackTimeout

int QtWaylandClient::QWaylandWindow::mFrameCallbackTimeout = 100
protected

Definition at line 336 of file qwaylandwindow_p.h.

◆ mFrameSyncMutex

QMutex QtWaylandClient::QWaylandWindow::mFrameSyncMutex
protected

Definition at line 325 of file qwaylandwindow_p.h.

◆ mFrameSyncWait

QWaitCondition QtWaylandClient::QWaylandWindow::mFrameSyncWait
protected

Definition at line 326 of file qwaylandwindow_p.h.

◆ mGestureState

GestureState QtWaylandClient::QWaylandWindow::mGestureState = GestureNotActive
protected

Definition at line 315 of file qwaylandwindow_p.h.

◆ mInFrameRender

std::atomic_bool QtWaylandClient::QWaylandWindow::mInFrameRender = false
protected

Definition at line 334 of file qwaylandwindow_p.h.

◆ mInputRegion

QRegion QtWaylandClient::QWaylandWindow::mInputRegion
protected

Definition at line 349 of file qwaylandwindow_p.h.

◆ mLastReportedContentOrientation

Qt::ScreenOrientation QtWaylandClient::QWaylandWindow::mLastReportedContentOrientation = Qt::PrimaryOrientation
protected

Definition at line 365 of file qwaylandwindow_p.h.

◆ mLastReportedToplevelWindowTilingStates

ToplevelWindowTilingStates QtWaylandClient::QWaylandWindow::mLastReportedToplevelWindowTilingStates = WindowNoState
protected

Definition at line 354 of file qwaylandwindow_p.h.

◆ mLastReportedWindowStates

Qt::WindowStates QtWaylandClient::QWaylandWindow::mLastReportedWindowStates = Qt::WindowNoState
protected

Definition at line 353 of file qwaylandwindow_p.h.

◆ mMask

QRegion QtWaylandClient::QWaylandWindow::mMask
protected

Definition at line 346 of file qwaylandwindow_p.h.

◆ mMouseEventsInContentArea

bool QtWaylandClient::QWaylandWindow::mMouseEventsInContentArea = false
protected

Definition at line 299 of file qwaylandwindow_p.h.

◆ mMousePressedInContentArea

Qt::MouseButtons QtWaylandClient::QWaylandWindow::mMousePressedInContentArea = Qt::NoButton
protected

Definition at line 300 of file qwaylandwindow_p.h.

◆ mOffset

QPoint QtWaylandClient::QWaylandWindow::mOffset
protected

Definition at line 339 of file qwaylandwindow_p.h.

◆ mOpaqueArea

QRegion QtWaylandClient::QWaylandWindow::mOpaqueArea
protected

Definition at line 352 of file qwaylandwindow_p.h.

◆ mPendingForcedUpdate

bool QtWaylandClient::QWaylandWindow::mPendingForcedUpdate = false
protected

Definition at line 321 of file qwaylandwindow_p.h.

◆ mScale

std::optional<qreal> QtWaylandClient::QWaylandWindow::mScale = std::nullopt
protected

Definition at line 340 of file qwaylandwindow_p.h.

◆ mSessionRestoreId

QString QtWaylandClient::QWaylandWindow::mSessionRestoreId
protected

Definition at line 360 of file qwaylandwindow_p.h.

◆ mShellIntegration

QWaylandShellIntegration* QtWaylandClient::QWaylandWindow::mShellIntegration = nullptr
protected

Definition at line 293 of file qwaylandwindow_p.h.

◆ mShellSurface

QWaylandShellSurface* QtWaylandClient::QWaylandWindow::mShellSurface = nullptr
protected

Definition at line 294 of file qwaylandwindow_p.h.

◆ mSubSurfaceWindow

QWaylandSubSurface* QtWaylandClient::QWaylandWindow::mSubSurfaceWindow = nullptr
protected

Definition at line 295 of file qwaylandwindow_p.h.

◆ mSurface

std::unique_ptr<QWaylandSurface> QtWaylandClient::QWaylandWindow::mSurface
protected

Definition at line 289 of file qwaylandwindow_p.h.

◆ mSurfaceFormat

QSurfaceFormat QtWaylandClient::QWaylandWindow::mSurfaceFormat
protected

Definition at line 368 of file qwaylandwindow_p.h.

◆ mSurfaceLock

QReadWriteLock QtWaylandClient::QWaylandWindow::mSurfaceLock
mutableprotected

Definition at line 288 of file qwaylandwindow_p.h.

◆ mTransientParent

QPointer<QWaylandWindow> QtWaylandClient::QWaylandWindow::mTransientParent
protected

Definition at line 362 of file qwaylandwindow_p.h.

◆ mTransparentInputRegion

bool QtWaylandClient::QWaylandWindow::mTransparentInputRegion = false
protected

Definition at line 350 of file qwaylandwindow_p.h.

◆ mViewport

std::unique_ptr<QWaylandViewport> QtWaylandClient::QWaylandWindow::mViewport
protected

Definition at line 291 of file qwaylandwindow_p.h.

◆ mWaitingForUpdateDelivery

QAtomicInt QtWaylandClient::QWaylandWindow::mWaitingForUpdateDelivery = false
protected

Definition at line 320 of file qwaylandwindow_p.h.

◆ mWaitingToApplyConfigure

std::atomic_bool QtWaylandClient::QWaylandWindow::mWaitingToApplyConfigure = false
protected

Definition at line 332 of file qwaylandwindow_p.h.

◆ mWindowDecorationHandler

std::unique_ptr<QWaylandDecorationHandler> QtWaylandClient::QWaylandWindow::mWindowDecorationHandler
protected

Definition at line 298 of file qwaylandwindow_p.h.

◆ mWindowIcon

QIcon QtWaylandClient::QWaylandWindow::mWindowIcon
protected

Definition at line 343 of file qwaylandwindow_p.h.

◆ mWindowTitle

QString QtWaylandClient::QWaylandWindow::mWindowTitle
protected

Definition at line 342 of file qwaylandwindow_p.h.


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