QWaylandIviSurface Class
QWaylandIviSurfaceクラスは、サーフェスを識別し、サイズを変更する簡単な方法を提供します。さらに...
ヘッダー | #include <QWaylandIviSurface> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor) target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor) |
qmake | QT += waylandcompositor |
QML で | IviSurface |
継承: | QWaylandShellSurfaceTemplate |
プロパティ
パブリック機能
QWaylandIviSurface() | |
QWaylandIviSurface(QWaylandIviApplication *application, QWaylandSurface *surface, uint iviId, const QWaylandResource &resource) | |
void | initialize(QWaylandIviApplication *iviApplication, QWaylandSurface *surface, uint iviId, const QWaylandResource &resource) |
uint | iviId() const |
void | sendConfigure(const QSize &size) |
QWaylandSurface * | surface() const |
シグナル
void | iviIdChanged() |
void | surfaceChanged() |
静的パブリックメンバ
QWaylandIviSurface * | fromResource(wl_resource *resource) |
const struct wl_interface * | interface() |
QWaylandSurfaceRole * | role() |
詳細説明
このクラスはQWaylandIviApplication エクステンションの一部で、既存のQWaylandSurface の機能を拡張し、サイズを変更したり識別したりする方法を提供します。
Waylandivi_surface
インターフェースに対応しています。
プロパティの説明
[read-only]
iviId : const uint
このプロパティは、このQWaylandIviSurface の ivi id を保持する。
アクセス関数:
uint | iviId() const |
ノーティファイアシグナル:
void | iviIdChanged() |
[read-only]
surface : QWaylandSurface* const
このプロパティは、このQWaylandIviSurface に関連するサーフェスを保持します。
アクセス関数:
QWaylandSurface * | surface() const |
通知シグナル:
void | surfaceChanged() |
メンバ関数ドキュメント
QWaylandIviSurface::QWaylandIviSurface()
QWaylandIviSurface を構築します。
QWaylandIviSurface::QWaylandIviSurface(QWaylandIviApplication *application, QWaylandSurface *surface, uint iviId, const QWaylandResource &resource)
surface の QWaylandIviSurface を構築し、与えられたapplication,surface,iviId,resource で初期化する。
[static]
QWaylandIviSurface *QWaylandIviSurface::fromResource(wl_resource *resource)
resource に対応するQWaylandIviSurface を返す。
[invokable]
void QWaylandIviSurface::initialize(QWaylandIviApplication *iviApplication, QWaylandSurface *surface, uint iviId, const QWaylandResource &resource)
QWaylandIviSurface を初期化し、与えられたiviApplication 、surface 、iviId 、resource と関連付けます。
注意: この関数はメタオブジェクトシステムやQMLから呼び出すことができます。Q_INVOKABLE を参照してください。
[static]
const struct wl_interface *QWaylandIviSurface::interface()
QWaylandIviSurface の Wayland インタフェースを返します。
[static]
QWaylandSurfaceRole *QWaylandIviSurface::role()
QWaylandIviSurface の表面の役割を返します。
[invokable]
void QWaylandIviSurface::sendConfigure(const QSize &size)
クライアントにconfigureイベントを送り、与えられたsize にサーフェスのサイズを変更するように指示します。
Note: この関数はメタオブジェクトシステムやQMLから呼び出すことができます。Q_INVOKABLE を参照してください。
© 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.