##// END OF EJS Templates
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes...
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@70 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r34:5daedfb035c8
Show More
PythonQtWrapper_QItemEditorFactory.h
44 lines | 1.7 KiB | text/x-c | CLexer
/ generated_cpp / com_trolltech_qt_gui / PythonQtWrapper_QItemEditorFactory.h
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QITEMEDITORFACTORY_H
#define PYTHONQTWRAPPER_QITEMEDITORFACTORY_H
#include <qitemeditorfactory.h>
#include <QObject>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 #include <PythonQt.h>
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #include <QVariant>
#include <qbytearray.h>
#include <qitemeditorfactory.h>
#include <qwidget.h>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 class PythonQtShell_QItemEditorFactory : public QItemEditorFactory
{
public:
PythonQtShell_QItemEditorFactory():QItemEditorFactory(),_wrapper(NULL) {};
virtual QWidget* createEditor(QVariant::Type type, QWidget* parent) const;
virtual QByteArray valuePropertyName(QVariant::Type type) const;
PythonQtInstanceWrapper* _wrapper;
};
florianlink
upgraded wrappers to current generator version...
r28 class PythonQtPublicPromoter_QItemEditorFactory : public QItemEditorFactory
{ public:
inline QWidget* promoted_createEditor(QVariant::Type type, QWidget* parent) const { return QItemEditorFactory::createEditor(type, parent); }
inline QByteArray promoted_valuePropertyName(QVariant::Type type) const { return QItemEditorFactory::valuePropertyName(type); }
};
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 class PythonQtWrapper_QItemEditorFactory : public QObject
{ Q_OBJECT
public:
public slots:
QItemEditorFactory* new_QItemEditorFactory();
void delete_QItemEditorFactory(QItemEditorFactory* obj) { delete obj; }
QWidget* createEditor(QItemEditorFactory* theWrappedObject, QVariant::Type type, QWidget* parent) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void static_QItemEditorFactory_setDefaultFactory(QItemEditorFactory* factory);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 const QItemEditorFactory* static_QItemEditorFactory_defaultFactory();
void registerEditor(QItemEditorFactory* theWrappedObject, QVariant::Type type, QItemEditorCreatorBase* creator);
QByteArray valuePropertyName(QItemEditorFactory* theWrappedObject, QVariant::Type type) const;
};
#endif // PYTHONQTWRAPPER_QITEMEDITORFACTORY_H