QmlListPropertyMixin Class

A mixin for PySide properties handling the registration of QQmlListProperty<> in a metaCall() and providing virtuals for the list functionality. More...

Header: #include <pysideqmllistpropertymixin.h>

Protected Functions

void handleMetaCall(PyObject *source, int call, void **args)

Detailed Description

Member Function Documentation

[protected] void QmlListPropertyMixin::handleMetaCall(PyObject *source, int call, void **args)

Call this from a metaCall() of a property to register the property.

For QMetaObject::ReadProperty call, a QQmlListProperty<QObject> for the QObject source with the handlers specified by methodFlags() is written to args.