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 |
継承元: |
プロパティ
(since 6.8)
modal : const bool- windowType : const Qt::WindowType
パブリック機能
virtual QWaylandQuickShellIntegration * | createIntegration(QWaylandQuickShellSurfaceItem *item) = 0 |
bool | isModal() const |
virtual Qt::WindowType | windowType() const |
シグナル
void | modalChanged() |
void | windowTypeChanged() |
詳しい説明
このインターフェイスは、QWaylandSurface がどのようにスクリーンにマッピングされるべきかを定義する Wayland プロトコル拡張によって与えられる Wayland サーフェスの役割を表します。
QWaylandSurface,QWaylandWlShellSurface,QWaylandIviSurface,QWaylandShellSurfaceTemplateも参照 。
プロパティ ドキュメント
[read-only, since 6.8]
modal : const bool
このプロパティは、ShellSurface がモーダルダイアログを表している場合に真になります。
このプロパティは Qt 6.8 で導入されました。
アクセス関数です:
bool | isModal() const |
Notifier シグナル:
void | modalChanged() |
[read-only]
windowType : const Qt::WindowType
このプロパティは、QWaylandShellSurface のウィンドウタイプを保持する。
アクセス関数
virtual Qt::WindowType | windowType() const |
ノーティファイアシグナル:
void | windowTypeChanged() |
メンバ関数ドキュメント
[pure virtual]
QWaylandQuickShellIntegration *QWaylandShellSurface::createIntegration(QWaylandQuickShellSurfaceItem *item)
この QWaylandQuickShellSurface のQWaylandQuickShellIntegration を作成します。item のshellSurface が割り当てられると自動的に呼び出されます。
QWaylandQuickShellSurfaceItemも参照してください 。
© 2025 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.