QWaylandShellSurface Class

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

头: #include <QWaylandShellSurface>
CMake: find_package(Qt6 COMPONENTS Waylandcompositor REQUIRED)
target_link_libraries(mytarget PRIVATE Qt6::Waylandcompositor)
qmake: QT += waylandcompositor
Since: Qt 5.8
实例化: ShellSurface
继承: QWaylandCompositorExtension

特性

公共函数

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

信号

void windowTypeChanged ()

详细描述

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

另请参阅 QWaylandSurface , QWaylandWlShellSurface ,和 QWaylandIviSurface .

特性文档编制

[read-only] windowType : const Qt::WindowType

This property holds the window type of the QWaylandShellSurface .

访问函数:

virtual Qt::WindowType windowType () const

通知程序信号:

void windowTypeChanged ()

成员函数文档编制

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

创建 QWaylandQuickShellIntegration for this QWaylandQuickShellSurface. It's called automatically when item 's shellSurface is assigned.

另请参阅 QWaylandQuickShellSurfaceItem .