IviApplication QML Type
임베디드 스타일 사용자 인터페이스를 위한 셸 확장을 제공합니다. 더 보기...
Import Statement: | import QtWayland.Compositor.IviApplication |
In C++: | QWaylandIviApplication |
Signals
- void iviSurfaceCreated(IviSurface *iviSurface)
- void iviSurfaceRequested(WaylandSurface surface, int iviId, WaylandResource resource)
자세한 설명
IviApplication 확장은 IviSurface 를 일반 웨이랜드 서페이스와 연결하는 방법을 제공합니다. IviSurface 인터페이스를 사용하여 클라이언트는 ivi ID를 제공하여 자신을 식별할 수 있으며 컴포저는 클라이언트에게 크기를 조정하도록 요청할 수 있습니다.
아이비 애플리케이션은 웨이랜드 ivi_application
인터페이스에 해당합니다.
컴포저에서 셸 확장 기능을 제공하려면 IviApplication 컴포넌트의 인스턴스를 생성하고 컴포저에서 지원하는 확장 목록에 추가합니다:
import QtWayland.Compositor.IviApplication WaylandCompositor { IviApplication { onIviSurfaceCreated: { if (iviSurface.iviId === navigationIviId) { // ... } } } }
신호 문서
void iviSurfaceCreated(IviSurface *iviSurface) |
이 신호는 IviSurface 가 생성될 때 발생합니다. 제공된 iviSurface 은 ShellSurfaceItem 을 인스턴스화하는 데 가장 일반적으로 사용됩니다.
참고: 해당 핸들러는 onIviSurfaceCreated
입니다.
void iviSurfaceRequested(WaylandSurface surface, int iviId, WaylandResource resource) |
이 신호는 클라이언트가 ivi_surface
을 surface 과 연결하도록 요청했을 때 발생하며, 이 신호는 iviId 으로 식별됩니다. 이 신호의 핸들러는 resource 에 대한 ivi 서페이스를 생성하고 신호 방출 범위 내에서 초기화해야 합니다. ivi 서페이스가 생성되지 않으면 기본 서페이스가 대신 생성됩니다.
참고: 해당 핸들러는 onIviSurfaceRequested
입니다.
© 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.