QWaylandShellSurface Class

The QWaylandShellSurface class is a common interface for surface roles specified by shell extensions. More...

Header: #include <QWaylandShellSurface>
qmake: QT += waylandcompositor
Since: Qt 5.8
Instantiated By: ShellSurface
Inherits: QWaylandCompositorExtension

This class was introduced in Qt 5.8.


Public Functions

virtual QWaylandQuickShellIntegration *createIntegration(QWaylandQuickShellSurfaceItem *item) = 0
virtual Qt::WindowType windowType() const


Detailed Description

This interface represents a Wayland surface role given by a Wayland protocol extension that defines how the QWaylandSurface should map onto the screen.

See also QWaylandSurface, QWaylandWlShellSurface, QWaylandXdgSurfaceV5, and QWaylandIviSurface.

Property Documentation

windowType : const Qt::WindowType

This property holds the window type of the QWaylandShellSurface.

Access functions:

virtual Qt::WindowType windowType() const

Notifier signal:

void windowTypeChanged()

Member Function Documentation

[pure virtual] QWaylandQuickShellIntegration *QWaylandShellSurface::createIntegration(QWaylandQuickShellSurfaceItem *item)

Creates a QWaylandQuickShellIntegration for this QWaylandQuickShellSurface. It's called automatically when item's shellSurface is assigned.

See also QWaylandQuickShellSurfaceItem.

© 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.