이 페이지에서

IviApplication QML Type

임베디드 스타일 사용자 인터페이스를 위한 셸 확장 기능을 제공합니다. 더 보기...

Import Statement: import QtWayland.Compositor.IviApplication
In C++: QWaylandIviApplication

신호

상세 설명

IviApplication 확장 기능은 IviSurface 를 일반 Wayland 표면과 연결하는 방법을 제공합니다. IviSurface 인터페이스를 사용하여 클라이언트는 ivi ID를 제공함으로써 자신을 식별할 수 있으며, 컴포지터는 클라이언트에 크기 조정을 요청할 수 있습니다.

IviApplication은 Wayland의 ivi_application 인터페이스에 해당합니다.

컴포지터에서 셸 확장 기능의 기능을 제공하려면, IviApplication 컴포넌트의 인스턴스를 생성하고 이를 컴포지터가 지원하는 확장 목록에 추가하십시오:

import QtWayland.Compositor.IviApplication

WaylandCompositor {
    IviApplication {
        onIviSurfaceCreated: {
            if (iviSurface.iviId === navigationIviId) {
                // ...
            }
        }
    }
}

Signal 문서

void iviSurfaceCreated(IviSurface *iviSurface)

이 신호는 IviSurface 가 생성되었을 때 발생합니다. 전달된 iviSurface 는 주로 ShellSurfaceItem 를 인스턴스화하는 데 사용됩니다.

참고: 이에 대응하는핸들러는 onIviSurfaceCreated 입니다.

void iviSurfaceRequested(WaylandSurface surface, int iviId, WaylandResource resource)

이 신호는 클라이언트가 iviId 로 식별되는 surface 와 연관된 ivi_surface 을 요청했을 때 발생합니다. 이 신호의 핸들러는 resource 에 대한 ivi 표면을 생성하고, 신호 발생 범위 내에서 이를 초기화해야 합니다. ivi 표면이 생성되지 않으면 대신 기본 ivi 표면이 생성됩니다.

참고: 해당 핸들러는 onIviSurfaceRequested 입니다.

© 2026 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.