PropertyPass Class
class QQmlSA::PropertyPass모든 정적 분석 패스에 대한 기본 클래스는 프로퍼티를 전달합니다. 더 보기...
Header: | #include <PropertyPass> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS QmlCompiler) target_link_libraries(mytarget PRIVATE Qt6::QmlCompiler) |
상속합니다: | QQmlSA::GenericPass |
상태: | 기술 미리보기 |
공용 함수
virtual void | onBinding(const QQmlSA::Element &element, const QString &propertyName, const QQmlSA::Binding &binding, const QQmlSA::Element &bindingScope, const QQmlSA::Element &value) |
virtual void | onRead(const QQmlSA::Element &element, const QString &propertyName, const QQmlSA::Element &readScope, QQmlSA::SourceLocation location) |
virtual void | onWrite(const QQmlSA::Element &element, const QString &propertyName, const QQmlSA::Element &expressionType, const QQmlSA::Element &writeScope, QQmlSA::SourceLocation location) |
멤버 함수 문서
[virtual]
void PropertyPass::onBinding(const QQmlSA::Element &element, const QString &propertyName, const QQmlSA::Binding &binding, const QQmlSA::Element &bindingScope, const QQmlSA::Element &value)
프로퍼티가 값에 바인딩될 때마다 실행됩니다.
element 의 propertyName 속성은 bindingScope 내의 value 에 binding 로 바인딩됩니다.
[virtual]
void PropertyPass::onRead(const QQmlSA::Element &element, const QString &propertyName, const QQmlSA::Element &readScope, QQmlSA::SourceLocation location)
프로퍼티를 읽을 때마다 실행됩니다.
element 의 propertyName 속성은 location 에 정의된 readScope 내의 인스트럭션에 의해 읽혀집니다.
[virtual]
void PropertyPass::onWrite(const QQmlSA::Element &element, const QString &propertyName, const QQmlSA::Element &expressionType, const QQmlSA::Element &writeScope, QQmlSA::SourceLocation location)
프로퍼티가 쓰여질 때마다 실행됩니다.
element 의 propertyName 속성은 location 에 정의된 writeScope 내의 인스트럭션에 의해 쓰여집니다. propertyName 에 쓰여진 표현식의 유형은 expressionType 입니다.
© 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.