QWaylandApplication Struct
struct QNativeInterface::QWaylandApplicationWaylandアプリケーションのネイティブ・インターフェース。詳細...
ヘッダー | #include <QGuiApplication> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
qmake: | QT += gui |
以来: | Qt 6.5 |
- 継承メンバを含む全メンバのリスト
- QWaylandApplicationはNative Interfacesの一部です。
パブリック関数
virtual wl_compositor * | compositor() const = 0 |
virtual wl_display * | display() const = 0 |
virtual wl_keyboard * | keyboard() const = 0 |
virtual wl_seat * | lastInputSeat() const = 0 |
virtual uint | lastInputSerial() const = 0 |
virtual wl_pointer * | pointer() const = 0 |
virtual wl_seat * | seat() const = 0 |
virtual wl_touch * | touch() const = 0 |
詳しい説明
QGuiApplication::nativeInterface() からアクセスできます。
メンバ関数のドキュメント
[pure virtual]
wl_compositor *QWaylandApplication::compositor() const
アプリケーションが使用している wl_compositor を返します。
[pure virtual]
wl_display *QWaylandApplication::display() const
アプリケーションが使用している wl_display を返します。
[pure virtual]
wl_keyboard *QWaylandApplication::keyboard() const
seat() に属する wl_keyboard があればそれを返す。
[pure virtual]
wl_seat *QWaylandApplication::lastInputSeat() const
最後に入力イベントが発生した座席を返す。
[pure virtual]
uint QWaylandApplication::lastInputSerial() const
任意の座席で最後に入力されたイベントのシリアルを返す。
[pure virtual]
wl_pointer *QWaylandApplication::pointer() const
seat() に属する wl_pointer があればそれを返す。
[pure virtual]
wl_seat *QWaylandApplication::seat() const
デフォルトの入力デバイスに関連付けられている座席を返します。
[pure virtual]
wl_touch *QWaylandApplication::touch() const
seat() に属する wl_touch があればそれを返す。
© 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.