QWaylandIviSurface Class
QWaylandIviSurface 클래스는 서페이스를 식별하고 크기를 조정할 수 있는 간단한 방법을 제공합니다. 더 보기...
| 헤더: | #include <QWaylandIviSurface> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor) target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor) |
| qmake: | QT += waylandcompositor |
| QML에서: | IviSurface |
| 상속: | QWaylandShellSurfaceTemplate |
속성
공개 함수
| QWaylandIviSurface() | |
| QWaylandIviSurface(QWaylandIviApplication *application, QWaylandSurface *surface, uint iviId, const QWaylandResource &resource) | |
| void | initialize(QWaylandIviApplication *iviApplication, QWaylandSurface *surface, uint iviId, const QWaylandResource &resource) |
| uint | iviId() const |
| void | sendConfigure(const QSize &size) |
| QWaylandSurface * | surface() const |
신호
| void | iviIdChanged() |
| void | surfaceChanged() |
정적 공용 멤버
| QWaylandIviSurface * | fromResource(wl_resource *resource) |
| const struct wl_interface * | interface() |
| QWaylandSurfaceRole * | role() |
상세 설명
이 클래스는 QWaylandIviApplication 확장 기능의 일부이며, 기존 QWaylandSurface 의 기능을 확장하여 크기를 조정하고 식별할 수 있는 방법을 제공합니다.
이는 Wayland의 ivi_surface 인터페이스에 해당합니다.
속성 문서
[read-only] iviId : uint
이 속성은 이 QWaylandIviSurface 의 ivi ID를 포함합니다.
액세스 함수:
| uint | iviId() const |
알림 신호:
| void | iviIdChanged() |
[read-only] surface : QWaylandSurface*
이 속성은 이 QWaylandIviSurface 에 연결된 표면을 저장합니다.
액세스 함수:
| QWaylandSurface * | surface() const |
알림 신호:
| void | surfaceChanged() |
멤버 함수 설명서
QWaylandIviSurface::QWaylandIviSurface()
QWaylandIviSurface 객체를 생성합니다.
QWaylandIviSurface::QWaylandIviSurface(QWaylandIviApplication *application, QWaylandSurface *surface, uint iviId, const QWaylandResource &resource)
surface 용 QWaylandIviSurface를 생성하고, 주어진 application, surface, iviId 및 resource 로 초기화합니다.
[static] QWaylandIviSurface *QWaylandIviSurface::fromResource(wl_resource *resource)
resource 에 해당하는 QWaylandIviSurface 를 반환합니다.
[invokable] void QWaylandIviSurface::initialize(QWaylandIviApplication *iviApplication, QWaylandSurface *surface, uint iviId, const QWaylandResource &resource)
QWaylandIviSurface 를 초기화하고, 이를 주어진 iviApplication, surface, iviId 및 resource 와 연관시킵니다.
참고: 이 함수는 메타 객체 시스템과 QML을 통해 호출할 수 있습니다. Q_INVOKABLE 를 참조하십시오.
[static] const struct wl_interface *QWaylandIviSurface::interface()
QWaylandIviSurface 에 대한 Wayland 인터페이스를 반환합니다.
[static] QWaylandSurfaceRole *QWaylandIviSurface::role()
QWaylandIviSurface 의 표면 역할을 반환합니다.
[invokable] void QWaylandIviSurface::sendConfigure(const QSize &size)
클라이언트에 configure 이벤트를 전송하여, 표면의 크기를 지정된 size 로 조정하도록 지시합니다.
참고: 이 함수는 메타 객체 시스템 및 QML을 통해 호출할 수 있습니다. Q_INVOKABLE 를 참조하십시오.
© 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.