QWaylandApplication Struct

struct QNativeInterface::QWaylandApplication

Wayland 애플리케이션에 대한 기본 인터페이스. 더 보기...

Header: #include <QGuiApplication>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake: QT += gui
이후: Qt 6.5

공용 함수

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_키보드를 반환합니다(사용 가능한 경우).

[pure virtual] wl_seat *QWaylandApplication::lastInputSeat() const

마지막 입력 이벤트가 발생한 좌석을 반환합니다.

[pure virtual] uint QWaylandApplication::lastInputSerial() const

모든 좌석에서 마지막 입력 이벤트의 직렬을 반환합니다.

[pure virtual] wl_pointer *QWaylandApplication::pointer() const

seat()에 속하는 wl_포인터를 반환합니다(사용 가능한 경우).

[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.