Inherits QObject and QDeclarativePropertyValueSource.
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.