A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mevislab.github.io/pythonqt/PythonQtConversion_8h.html below:

PythonQt: PythonQtConversion.h File Reference

#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.

template<class ListType , class T > PyObjectPythonQtConvertListOfValueTypeToPythonList (const void *inList, int metaTypeId)   template<class ListType , class T > bool  PythonQtConvertPythonListToListOfValueType (PyObject *obj, void *outList, int metaTypeId, bool)   template<class ListType , class T > PyObjectPythonQtConvertListOfKnownClassToPythonList (const void *inList, int metaTypeId)   template<class ListType , class T > bool  PythonQtConvertPythonListToListOfKnownClass (PyObject *obj, void *outList, int metaTypeId, bool)   template<class T1 , class T2 > PyObjectPythonQtConvertPairToPython (const void *inPair, int metaTypeId)   template<class T1 , class T2 > bool  PythonQtConvertPythonToPair (PyObject *obj, void *outPair, int metaTypeId, bool)   template<class ListType , class T1 , class T2 > PyObjectPythonQtConvertListOfPairToPythonList (const void *inList, int metaTypeId)   template<class ListType , class T1 , class T2 > bool  PythonQtConvertPythonListToListOfPair (PyObject *obj, void *outList, int metaTypeId, bool)   template<class MapType , class T > PyObjectPythonQtConvertIntegerMapToPython (const void *inMap, int metaTypeId)   template<class MapType , class T > bool  PythonQtConvertPythonToIntegerMap (PyObject *val, void *outMap, int metaTypeId, bool)  
Author
florian
Date
2006-05

Definition in file PythonQtConversion.h.

◆ PythonQtRegisterIntegerMapConverter Value:

}

PyObject * PythonQtConvertPairToPython(const void *inPair, int metaTypeId)

PyObject * PythonQtConvertIntegerMapToPython(const void *inMap, int metaTypeId)

bool PythonQtConvertPythonToIntegerMap(PyObject *val, void *outMap, int metaTypeId, bool)

Definition at line 76 of file PythonQtConversion.h.

◆ PythonQtRegisterListTemplateConverter Value:

}

PyObject * PythonQtConvertListOfValueTypeToPythonList(const void *inList, int metaTypeId)

bool PythonQtConvertPythonListToListOfValueType(PyObject *obj, void *outList, int metaTypeId, bool)

Definition at line 58 of file PythonQtConversion.h.

◆ PythonQtRegisterListTemplateConverterForKnownClass #define PythonQtRegisterListTemplateConverterForKnownClass (   type,   innertype  ) Value:

}

bool PythonQtConvertPythonListToListOfKnownClass(PyObject *obj, void *outList, int metaTypeId, bool)

PyObject * PythonQtConvertListOfKnownClassToPythonList(const void *inList, int metaTypeId)

Definition at line 64 of file PythonQtConversion.h.

◆ PythonQtRegisterListTemplateQPairConverter Value:

{ \

}

bool PythonQtConvertPythonListToListOfPair(PyObject *obj, void *outList, int metaTypeId, bool)

PyObject * PythonQtConvertListOfPairToPythonList(const void *inList, int metaTypeId)

Definition at line 82 of file PythonQtConversion.h.

◆ PythonQtRegisterQPairConverter ◆ PythonQtRegisterToolClassesTemplateConverter Value:

#define PythonQtRegisterListTemplateConverter(type, innertype)

Definition at line 90 of file PythonQtConversion.h.

◆ PythonQtRegisterToolClassesTemplateConverterForKnownClass #define PythonQtRegisterToolClassesTemplateConverterForKnownClass (   innertype ) Value:

#define PythonQtRegisterListTemplateConverterForKnownClass(type, innertype)

Definition at line 95 of file PythonQtConversion.h.

◆ PythonQtConvertMetaTypeToPythonCB ◆ PythonQtConvertPythonSequenceToQVariantListCB ◆ PythonQtConvertPythonToMetaTypeCB ◆ PythonQtConvertIntegerMapToPython()

Definition at line 468 of file PythonQtConversion.h.

469{

476 }

478 std::cerr << "PythonQtConvertIntegerMapToPython: unknown inner type " << QMetaType::typeName(metaTypeId) << std::endl;

479 }

480

482 typename

MapType::const_iterator

t

=

map

->constBegin();

485 for

(;

t

!=

map

->constEnd();

t

++) {

491 }

493}

static PyObject * convertQtValueToPythonInternal(int type, const void *data)

converts the Qt parameter given in data, interpreting it as a type registered qvariant/meta type,...

static QByteArray getInnerTemplateTypeName(const QByteArray &typeName)

returns the inner type name of a simple template of the form SomeObject<InnerType>

References PythonQtConv::convertQtValueToPythonInternal(), PythonQtMethodInfo::getInnerTemplateTypeName(), and PythonQtConvertPairToPython().

◆ PythonQtConvertListOfKnownClassToPythonList()

Definition at line 287 of file PythonQtConversion.h.

288{

292 std::cerr << "PythonQtConvertListOfKnownClassToPythonList: unknown inner type for " << QMetaType::typeName(metaTypeId) << std::endl;

293 }

302 }

304}

a class that stores all required information about a Qt object (and an optional associated C++ class ...

static QByteArray getInnerListTypeName(const QByteArray &typeName)

returns the inner type name of a simple template or the typename without appended "List".

PyObject * wrapPtr(void *ptr, const QByteArray &name, bool passOwnership=false)

PythonQtClassInfo * getClassInfo(const QMetaObject *meta)

get the class info for a meta object (if available)

static PythonQtPrivate * priv()

get access to internal data (should not be used on the public API, but is used by some C functions)

a Python wrapper object for Qt objects and C++ objects (that are themselves wrapped by wrapper QObjec...

bool _ownedByPythonQt

flag that stores if the object is owned by pythonQt

References PythonQtInstanceWrapper::_ownedByPythonQt, PythonQtClassInfo::className(), PythonQtPrivate::getClassInfo(), PythonQtMethodInfo::getInnerListTypeName(), PythonQt::priv(), and PythonQtPrivate::wrapPtr().

◆ PythonQtConvertListOfPairToPythonList() ◆ PythonQtConvertListOfValueTypeToPythonList() ◆ PythonQtConvertPairToPython()

template<class T1 , class T2 >

PyObject * PythonQtConvertPairToPython ( const void *  inPair, int  metaTypeId  )

Definition at line 347 of file PythonQtConversion.h.

348{

357 }

359 std::cerr << "PythonQtConvertPairToPython: unknown inner type " << QMetaType::typeName(metaTypeId) << std::endl;

360 }

365}

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().

◆ PythonQtConvertPythonListToListOfKnownClass() ◆ PythonQtConvertPythonListToListOfPair() ◆ PythonQtConvertPythonListToListOfValueType() ◆ PythonQtConvertPythonToIntegerMap() ◆ PythonQtConvertPythonToPair()

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4