이 페이지에서

QQmlPropertyValueSource Class

QQmlPropertyValueSource 클래스는 애니메이션이나 바인딩과 같은 속성 값 소스를 위한 인터페이스입니다. 더 보기...

헤더: #include <QQmlPropertyValueSource>
CMake: find_package(Qt6 REQUIRED COMPONENTS Qml)
target_link_libraries(mytarget PRIVATE Qt6::Qml)
qmake: QT += qml

공개 함수

QQmlPropertyValueSource()
virtual ~QQmlPropertyValueSource()
virtual void setTarget(const QQmlProperty &property) = 0

상세 설명

사용자 정의 속성 값 소스를 작성하는 방법에 대한 정보는 ‘속성 값 소스’를 참조하십시오.

멤버 함수 설명서

QQmlPropertyValueSource::QQmlPropertyValueSource()

QQmlPropertyValueSource 객체를 생성합니다.

[virtual noexcept] QQmlPropertyValueSource::~QQmlPropertyValueSource()

값 소스를 삭제합니다.

[pure virtual] void QQmlPropertyValueSource::setTarget(const QQmlProperty &property)

값 소스에 대한 대상 ` property `을 설정합니다. 이 메서드는 값 소스를 할당할 때 QML 엔진에 의해 호출됩니다.

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