QWaylandIviApplication Class
QWaylandIviApplication 클래스는 임베디드 스타일 사용자 인터페이스를 위한 확장입니다. 더 보기...
헤더: | #include <QWaylandIviApplication> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor) target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor) |
qmake: | QT += waylandcompositor |
QML에서: | IviApplication |
상속합니다: | QWaylandCompositorExtensionTemplate |
공용 함수
QWaylandIviApplication() | |
QWaylandIviApplication(QWaylandCompositor *compositor) |
재구현된 공용 함수
virtual void | initialize() override |
Signals
void | iviSurfaceCreated(QWaylandIviSurface *iviSurface) |
void | iviSurfaceRequested(QWaylandSurface *surface, uint iviId, const QWaylandResource &resource) |
정적 공용 멤버
const struct wl_interface * | interface() |
상세 설명
QWaylandIviApplication 확장은 QWaylandIviSurface 을 일반 웨이랜드 표면과 연결하는 방법을 제공합니다. QWaylandIviSurface 인터페이스를 사용하여 클라이언트는 아이비 ID를 제공하여 자신을 식별할 수 있으며, 컴포저는 클라이언트에게 크기를 조정하도록 요청할 수 있습니다.
QWaylandIvi응용 프로그램은 Wayland ivi_application
인터페이스에 해당합니다.
멤버 함수 문서
QWaylandIviApplication::QWaylandIviApplication()
QWaylandIviApplication 객체를 생성합니다.
QWaylandIviApplication::QWaylandIviApplication(QWaylandCompositor *compositor)
제공된 compositor 에 대한 QWaylandIviApplication 객체를 생성합니다.
[override virtual]
void QWaylandIviApplication::initialize()
다시 구현합니다: QWaylandCompositorExtension::initialize().
셸 확장을 초기화합니다.
[static]
const struct wl_interface *QWaylandIviApplication::interface()
QWaylandIviApplication 에 대한 웨이랜드 인터페이스를 반환합니다.
[signal]
void QWaylandIviApplication::iviSurfaceCreated(QWaylandIviSurface *iviSurface)
이 신호는 IviSurface, iviSurface, 가 생성되었을 때 발생합니다.
[signal]
void QWaylandIviApplication::iviSurfaceRequested(QWaylandSurface *surface, uint iviId, const QWaylandResource &resource)
이 신호는 클라이언트가 ivi_surface
을 surface 과 연결하도록 요청했을 때 방출되며, 은 iviId 으로 식별됩니다. 이 신호의 핸들러는 resource 에 대한 ivi 서페이스를 생성하고 신호 방출 범위 내에서 초기화해야 합니다. ivi 서페이스가 생성되지 않으면 기본 서페이스가 대신 생성됩니다.
© 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.