Use QMetaType::Type values instead of obsolete QVariant::Type.
Wrap generic PyObjects in an opaque value that can be passed to/from QML safely.
Calling methods on Python objects.
PyGLArea: Pass renderer object instead of function names.