このページでは

QWaylandShellSurface Class

QWaylandShellSurface クラスは、シェル拡張機能によって指定されるサーフェス役割の共通インターフェースです。詳細...

ヘッダー: #include <QWaylandShellSurface>
CMake: find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor)
target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor)
qmake: QT += waylandcompositor
QML内では: ShellSurface
継承元: QWaylandCompositorExtension
継承元:

QWaylandShellSurfaceTemplate

プロパティ

パブリック関数

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

シグナル

詳細な説明

このインターフェースは、QWaylandSurface が画面上にどのようにマッピングされるかを定義するWaylandプロトコル拡張によって与えられるWaylandサーフェスの役割を表します。

QWaylandSurface 、QWaylandXdgSurface 、QWaylandIviSurface 、QWaylandWlShellSurface 、およびQWaylandShellSurfaceTemplateも参照してください 。

プロパティのドキュメント

ShellSurface がモーダルダイアログを表している場合、このプロパティは true になります。

この列挙型は Qt 6.8 で導入されました。

アクセス関数:

bool isModal() const

Notifier シグナル:

void modalChanged()

[read-only] windowType : Qt::WindowType

このプロパティは、QWaylandShellSurface のwindow type を保持します。

アクセス関数:

virtual Qt::WindowType windowType() const

通知信号:

void windowTypeChanged()

メンバ関数のドキュメント

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

この QWaylandQuickShellSurface に対して、QWaylandQuickShellIntegration を作成します。item のshellSurface が割り当てられると、自動的に呼び出されます。

QWaylandQuickShellSurfaceItemも参照してください 。

© 2026 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.