GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing mevislab.github.io — PythonQt: PythonQtClassInfo Class Reference
PythonQtClassInfo Class Reference a class that stores all required information about a Qt object (and an optional associated C++ class name) More...
Detailed Descriptiona class that stores all required information about a Qt object (and an optional associated C++ class name) for fast lookup of slots when calling the object from Python Definition at line 88 of file PythonQtClassInfo.h. Constructor & Destructor Documentation◆ PythonQtClassInfo()
◆ ~PythonQtClassInfo()
Member Function Documentation◆ addConstructor()
add a constructor, ownership is passed to classinfo ◆ addDecoratorSlot()
add a decorator slot, ownership is passed to classinfo ◆ addGlobalNamespaceWrapper()
Add a wrapper that contains global enums. References PythonQtClassInfo(). ◆ addNestedClass()
add a nested class, so that it can be shown as outer class member References PythonQtClassInfo(). ◆ addParentClass()
add the parent class info of a CPP object Definition at line 185 of file PythonQtClassInfo.h. 185{ _parentClasses.append(info); }
◆ addPolymorphicHandler()
add a handler for polymorphic downcasting Definition at line 200 of file PythonQtClassInfo.h. 200{ _polymorphicHandlers.append(cb); }
◆ castDownIfPossible()
cast the pointer down in the class hierarchy if a polymorphic handler allows to do that References PythonQtClassInfo(). ◆ castTo()
casts the given ◆ className()
get the classname (either of the QObject or of the wrapped CPP object) Referenced by PythonQtConvertListOfKnownClassToPythonList(), and PythonQtConvertPythonListToListOfKnownClass(). ◆ clearGlobalNamespaceWrappers()
Clear the registry of global-namespace wrappers (used for top-level enums). Must be called before destroying PythonQtClassInfo instances and before a fresh init. References findEnumWrapper(). ◆ clearNotFoundCachedMembers()
clear all members that where cached as "NotFound" ◆ constructors()
get access to the constructor slot (which may be overloaded if there are multiple constructors) ◆ copyObject()
Create a copy of the given C++ object (which is known to be of a derived class), wrapped by Python and owned by PythonQt. This will downcast if possible and return a copy of the down casted object. This either requires a copy constructor on the class or it needs to be registered as a meta type. ◆ decorator()
get the decorator qobject instance ◆ destructor()
get access to the destructor slot ◆ escapeReservedNames()
Sometimes enum values use a reserved name in Python. In this case replace it with something that is not reserved ◆ findEnumWrapper()
returns if the localScope has an enum of that type name or if the enum contains a :: scope, if that class contails the enum References PythonQtClassInfo(). Referenced by clearGlobalNamespaceWrappers(). ◆ getClassInfoForProperty()
Returns the class info for given property, if available. References PythonQtClassInfo(). ◆ getCopyConstructor()
Get the copy constructor for this class. ◆ getPythonTypeForProperty()
Returns the Python type object for a given property. (the returned object does not get an extra reference count) ◆ help()
get help string for the metaobject ◆ inherits() [1/2]
returns if this class inherits from the given classname ◆ inherits() [2/2]
returns if this class inherits from the given classinfo References PythonQtClassInfo(). ◆ isCPPWrapper()
returns if the class is a CPP wrapper Definition at line 147 of file PythonQtClassInfo.h. 147{ return !_isQObject; }
◆ isQObject()
returns if the QObject Definition at line 144 of file PythonQtClassInfo.h. 144{ return _isQObject; }
◆ member()
◆ memberList()
get list of all members (excluding properties, which can be listed with propertyList()) ◆ metaObject()
◆ metaTypeId()
get the meta type id of this class (only valid for isCPPWrapper() == true) Definition at line 176 of file PythonQtClassInfo.h. 176{ return _metaTypeId; }
◆ nestedClasses()
get nested classes Definition at line 212 of file PythonQtClassInfo.h. 212{ return _nestedClasses; }
◆ propertyList()
get list of all properties (on QObjects only, otherwise the list is empty) ◆ pythonQtClassWrapper()
get the associated PythonQtClassWrapper (which handles instance creation of this type) Definition at line 191 of file PythonQtClassInfo.h. 191{ return _pythonQtClassWrapper; }
◆ referenceCountingRefCB()
Returns the ref counting CB, if there is any. ◆ referenceCountingUnrefCB()
Returns the unref counting CB, if there is any. ◆ setDecoratorProvider()
set an additional decorator provider that offers additional decorator slots for this class ◆ setDestructor()
set a destructor, ownership is passed to classinfo ◆ setMetaObject()
set the meta object, this will reset the caching ◆ setPythonQtClassWrapper()
set the associated PythonQtClassWrapper (which handles instance creation of this type) Definition at line 188 of file PythonQtClassInfo.h. 188{ _pythonQtClassWrapper = obj; }
◆ setReferenceCounting()
Sets reference counting callbacks for this class and all its subclasses. ◆ setShellSetInstanceWrapperCB()
set the shell set instance wrapper cb Definition at line 194 of file PythonQtClassInfo.h. 194{ _shellSetInstanceWrapperCB = cb; }
◆ setTypeSlots()
set the type capabilities Definition at line 112 of file PythonQtClassInfo.h. 112{ _typeSlots = typeSlots; }
References typeSlots(). ◆ setupCPPObject()
setup as a CPP (non-QObject), taking the classname ◆ setupQObject()
setup as a QObject, taking the meta object as meta information about the QObject ◆ shellSetInstanceWrapperCB()
get the shell set instance wrapper cb Definition at line 197 of file PythonQtClassInfo.h. 197{ return _shellSetInstanceWrapperCB; }
◆ supportsRichCompare()
Returns if the class supports rich compare. This tests for eq, ne, lt, le, gt, ge slots and if any of the slots is present it returns true and modifies the _typeSlots with Type_RichCompare. The result is cached internally. ◆ typeSlots()
get the type capabilities Definition at line 114 of file PythonQtClassInfo.h. 114{ return _typeSlots; }
Referenced by setTypeSlots(). ◆ unscopedClassName()
get the unscoped classname (without ParentClass::) for nested classes The documentation for this class was generated from the following file: Generated on for PythonQt by | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||