[SOLVED] Accessing a SequentialAnimation from c++
QML and Qt Quick
2
Posts
1
Posters
611
Views
1
Watching
-
Let's assume the following code:
@
//myAnimation.qml
SequentialAnimation{
property int delay;
property int duration;
}
@
@
//main.qml
Label{
myAnimation{
id:animation1
objectName:'animation1'
delay:10
duration:13
}
}
@
@
//Label.cpp
void validateAnimationParameters(){
// here I need to check if animation1.delay+animation1.duration<100
}
@How can I access those 2 properties of the animation from c++ ?