PythonQt
|
#include "PythonQtPythonInclude.h"
#include "PythonQt.h"
#include "PythonQtMisc.h"
#include "PythonQtClassInfo.h"
#include "PythonQtMethodInfo.h"
#include <QList>
#include <vector>
Go to the source code of this file.
Classes | |
class | PythonQtConv |
a static class that offers methods for type conversion More... | |
Typedefs | |
typedef PyObject * | PythonQtConvertMetaTypeToPythonCB(const void *inObject, int metaTypeId) |
typedef bool | PythonQtConvertPythonToMetaTypeCB(PyObject *inObject, void *outObject, int metaTypeId, bool strict) |
typedef QVariant | PythonQtConvertPythonSequenceToQVariantListCB(PyObject *inObject) |
Definition at line 76 of file PythonQtConversion.h.
Definition at line 58 of file PythonQtConversion.h.
Definition at line 64 of file PythonQtConversion.h.
Definition at line 82 of file PythonQtConversion.h.
Definition at line 70 of file PythonQtConversion.h.
Definition at line 90 of file PythonQtConversion.h.
Definition at line 95 of file PythonQtConversion.h.
Definition at line 54 of file PythonQtConversion.h.
Definition at line 56 of file PythonQtConversion.h.
typedef bool PythonQtConvertPythonToMetaTypeCB(PyObject *inObject, void *outObject, int metaTypeId, bool strict) |
Definition at line 55 of file PythonQtConversion.h.
Definition at line 468 of file PythonQtConversion.h.
References PythonQtConv::convertQtValueToPythonInternal(), PythonQtMethodInfo::getInnerTemplateTypeName(), and PythonQtConvertPairToPython().
Definition at line 287 of file PythonQtConversion.h.
References PythonQtInstanceWrapper::_ownedByPythonQt, PythonQtClassInfo::className(), PythonQtPrivate::getClassInfo(), PythonQtMethodInfo::getInnerListTypeName(), PythonQt::priv(), and PythonQtPrivate::wrapPtr().
Definition at line 416 of file PythonQtConversion.h.
References PythonQtMethodInfo::getInnerTemplateMetaType(), and PythonQtConvertPairToPython().
Definition at line 237 of file PythonQtConversion.h.
References PythonQtConv::convertQtValueToPythonInternal(), and PythonQtMethodInfo::getInnerTemplateMetaType().
PyObject * PythonQtConvertPairToPython | ( | const void * | inPair, |
int | metaTypeId | ||
) |
Definition at line 347 of file PythonQtConversion.h.
References PythonQtConv::convertQtValueToPythonInternal(), and PythonQtMethodInfo::getInnerTemplateTypeName().
Referenced by PythonQtInstanceWrapper::classInfo(), PythonQtWrapper_QMetaObject::classInfo(), PythonQtWrapper_QMetaObject::classInfoCount(), PythonQtWrapper_QMetaObject::classInfoOffset(), PythonQtStdDecorators::connect(), PythonQtWrapper_QMetaObject::constructor(), PythonQtWrapper_QMetaObject::constructorCount(), PythonQtInstanceWrapper::dynamicClassInfo(), PythonQtWrapper_QMetaObject::enumerator(), PythonQtWrapper_QMetaObject::enumeratorCount(), PythonQtWrapper_QMetaObject::enumeratorOffset(), PythonQtWrapper_QMetaObject::getClassName(), PythonQtWrapper_QMetaObject::indexOfClassInfo(), PythonQtWrapper_QMetaObject::indexOfConstructor(), PythonQtWrapper_QMetaObject::indexOfEnumerator(), PythonQtWrapper_QMetaObject::indexOfMethod(), PythonQtWrapper_QMetaObject::indexOfProperty(), PythonQtWrapper_QMetaObject::indexOfSignal(), PythonQtWrapper_QMetaObject::indexOfSlot(), PythonQtUtils::isPythonClassType(), PythonQtWrapper_QMetaObject::method(), PythonQtWrapper_QMetaObject::methodCount(), PythonQtUtils::methodName(), PythonQtWrapper_QMetaObject::methodOffset(), PythonQtObjectPtr::operator!=(), PythonQtSafeObjectPtr::operator!=(), PythonQtObjectPtr::operator!=(), PythonQtSafeObjectPtr::operator!=(), PythonQtObjectPtr::operator=(), PythonQtSafeObjectPtr::operator=(), PythonQtSafeObjectPtr::operator=(), PythonQtObjectPtr::operator=(), PythonQtObjectPtr::operator=(), PythonQtSafeObjectPtr::operator=(), PythonQtSafeObjectPtr::operator=(), PythonQtObjectPtr::operator=(), PythonQtSafeObjectPtr::operator=(), PythonQtObjectPtr::operator==(), PythonQtSafeObjectPtr::operator==(), PythonQtObjectPtr::operator==(), PythonQtSafeObjectPtr::operator==(), PythonQtInstanceWrapper::passOwnershipToCPP(), PythonQtInstanceWrapper::passOwnershipToPython(), PythonQtWrapper_QMetaObject::property(), PythonQtWrapper_QMetaObject::propertyCount(), PythonQtWrapper_QMetaObject::propertyOffset(), PythonQtConvertIntegerMapToPython(), PythonQtConvertListOfPairToPythonList(), PythonQtConvertPythonListToListOfPair(), PythonQtConvertPythonToIntegerMap(), PythonQtMethodInfo::PythonQtMethodInfo(), PythonQtObjectPtr::PythonQtObjectPtr(), PythonQtObjectPtr::PythonQtObjectPtr(), PythonQtSafeObjectPtr::PythonQtSafeObjectPtr(), PythonQtSafeObjectPtr::PythonQtSafeObjectPtr(), PythonQtSafeObjectPtr::PythonQtSafeObjectPtr(), PythonQtSignalTarget::PythonQtSignalTarget(), PythonQtSlotInfo::PythonQtSlotInfo(), PythonQtSlotInfo::PythonQtSlotInfo(), PythonQtThreadStateSaver::restore(), PythonQtThreadStateSaver::save(), PythonQtSlotInfo::setNextInfo(), PythonQtUtils::signature(), PythonQtWrapper_QMetaObject::static_QMetaObject_checkConnectArgs(), PythonQtStdDecorators::static_QObject_connect(), PythonQtStdDecorators::static_QObject_connect(), PythonQtStdDecorators::static_QObject_disconnect(), PythonQtStdDecorators::static_QObject_disconnect(), PythonQtStdDecorators::static_Qt_qAbs(), PythonQtStdDecorators::static_Qt_qBound(), PythonQtStdDecorators::static_Qt_qCritical(), PythonQtStdDecorators::static_Qt_qDebug(), PythonQtStdDecorators::static_Qt_qFatal(), PythonQtStdDecorators::static_Qt_qFuzzyCompare(), PythonQtStdDecorators::static_Qt_qMax(), PythonQtStdDecorators::static_Qt_qMin(), PythonQtStdDecorators::static_Qt_qrand(), PythonQtStdDecorators::static_Qt_qRound(), PythonQtStdDecorators::static_Qt_qRound64(), PythonQtStdDecorators::static_Qt_qsrand(), PythonQtStdDecorators::static_Qt_qVersion(), PythonQtStdDecorators::static_Qt_qWarning(), PythonQtStdDecorators::static_Qt_SIGNAL(), PythonQtStdDecorators::static_Qt_SLOT(), PythonQtWrapper_QMetaObject::superClass(), PythonQtObjectPtr::takeObject(), PythonQtSafeObjectPtr::takeObject(), PythonQtUtils::typeName(), and PythonQtWrapper_QMetaObject::userProperty().
bool PythonQtConvertPythonListToListOfKnownClass | ( | PyObject * | obj, |
void * | outList, | ||
int | metaTypeId, | ||
bool | |||
) |
Definition at line 307 of file PythonQtConversion.h.
References PythonQtConv::castWrapperTo(), PythonQtClassInfo::className(), PythonQtPrivate::getClassInfo(), PythonQtMethodInfo::getInnerListTypeName(), PythonQt::priv(), and PythonQtInstanceWrapper_Type.
Definition at line 435 of file PythonQtConversion.h.
References PythonQtMethodInfo::getInnerTemplateMetaType(), and PythonQtConvertPairToPython().
bool PythonQtConvertPythonListToListOfValueType | ( | PyObject * | obj, |
void * | outList, | ||
int | metaTypeId, | ||
bool | |||
) |
Definition at line 254 of file PythonQtConversion.h.
References PythonQtMethodInfo::getInnerTemplateMetaType(), and PythonQtConv::PyObjToQVariant().
Definition at line 496 of file PythonQtConversion.h.
References PythonQtMethodInfo::getInnerTemplateTypeName(), PythonQtConv::PyObjGetInt(), PythonQtConv::PyObjToQVariant(), and PythonQtConvertPairToPython().
Definition at line 368 of file PythonQtConversion.h.
References PythonQtMethodInfo::getInnerTemplateTypeName(), and PythonQtConv::PyObjToQVariant().