Add the Python type -> QVariant conversion function