For example, a sequence of 4 frames:
could be represented as an Object with a "toString()" method that returns
and a "frameList" property that returns
I've tried adding this to the class:
@ Q_INVOKABLE const QString toString() const;@
But it has no effect. :-(
So, currently possible? Good Idea/Bad Idea?
I should mention that I'm somewhat familiar with the qtdeclarative module, so I'd be willing to take a stab at adding this feature myself if given a bit of direction on how to proceed (and if it's not a Bad Idea). I'm using Qt5 from github.
You can modify that to call the toString() function of object if it exists (eg, via QMetaObject::invokeMethod() after first doing a QMetaObject::property() lookup and determining if it's a function).