QWaylandShellSurface Class

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

Header: #include <QWaylandShellSurface>
CMake: find_package(Qt6 COMPONENTS Waylandcompositor REQUIRED) target_link_libraries(mytarget PRIVATE Qt6::Waylandcompositor)
qmake: QT += waylandcompositor
Since: Qt 5.8
Inherits: QWaylandCompositorExtension

Properties

Public Functions

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

Signals

void windowTypeChanged()

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, and QWaylandIviSurface.

Property Documentation

[read-only] 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.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.0/qwaylandshellsurface.html