Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

How to implement "property value write interceptors"?

$
0
0
Hi Community! I would like to implement a custom property animation like the QML “Behavior” object. (Behavior on <property> {Animation{}} ).. The goal is to implement a PropertyAnimation with customizable frame rate to increase performance. Therefore i need a mechanism as described in the QtDocumentation: http://qt-project.org/doc/qt-5/qtqml-cppintegration-definetypes.html#property-modifier-types [qt-project.org] But it is nowhere explained how to implement that. I need a way to receive and intercept a modified Property in my C++ implementation subclassed from QQmlPropertyValueSource. So, can anybody provide a small example / guideline about this issue? Thank you very much in advance! Frime

Viewing all articles
Browse latest Browse all 4972

Trending Articles