QWaylandIviSurface Class

QWaylandIviSurface 클래스는 서페이스를 식별하고 크기를 조정하는 간단한 방법을 제공합니다. 더 보기...

Header: #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

신호

정적 공용 멤버

QWaylandIviSurface *fromResource(wl_resource *resource)
const struct wl_interface *interface()
QWaylandSurfaceRole *role()

상세 설명

이 클래스는 QWaylandIviApplication 확장의 일부이며 기존 QWaylandSurface 의 기능을 확장하여 크기를 조정하고 식별하는 방법을 제공합니다.

Wayland ivi_surface 인터페이스에 해당합니다.

속성 문서

[read-only] iviId : const uint

이 프로퍼티는 이 QWaylandIviSurface 의 아이비 ID를 보유합니다.

액세스 함수:

uint iviId() const

알림 신호:

void iviIdChanged()

[read-only] surface : QWaylandSurface* const

이 프로퍼티는 이 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 에 대한 웨이랜드 인터페이스를 반환합니다.

[static] QWaylandSurfaceRole *QWaylandIviSurface::role()

QWaylandIviSurface 에 대한 표면 역할을 반환합니다.

[invokable] void QWaylandIviSurface::sendConfigure(const QSize &size)

클라이언트에 구성 이벤트를 전송하여 주어진 size 으로 서페이스 크기를 조정하도록 지시합니다.

참고: 이 함수는 메타 객체 시스템과 QML을 통해 호출할 수 있습니다. Q_INVOKABLE 을 참조하십시오.

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