The QWaylandShellSurface class is a common interface for surface roles specified by shell extensions. 更多...
| 頭: |
#include <QWaylandShellSurface>
|
| CMake: |
find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor)
target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor)
|
| qmake: |
QT += waylandcompositor
|
| 在 QML: | ShellSurface |
| 繼承: | QWaylandCompositorExtension |
| 繼承者: |
(從 6.8 起)
modal
: const bool
| virtual QWaylandQuickShellIntegration * | createIntegration (QWaylandQuickShellSurfaceItem * item ) = 0 |
| bool | isModal () const |
| virtual Qt::WindowType | windowType () const |
| void | modalChanged () |
| 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 ,和 QWaylandShellSurfaceTemplate .
[read-only, since 6.8]
modal
: const
bool
This property is true if the ShellSurface represents a modal dialog.
該特性在 Qt 6.8 引入。
訪問函數:
| bool | isModal () const |
通知程序信號:
| void | modalChanged () |
[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.