##// END OF EJS Templates
added alphabetic sorting...
added alphabetic sorting git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@132 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r96:3170eb771a99
Show More
PythonQtWrapper_QItemEditorFactory.h
44 lines | 1.7 KiB | text/x-c | CLexer
/ generated_cpp / com_trolltech_qt_gui / PythonQtWrapper_QItemEditorFactory.h
#ifndef PYTHONQTWRAPPER_QITEMEDITORFACTORY_H
#define PYTHONQTWRAPPER_QITEMEDITORFACTORY_H
#include <qitemeditorfactory.h>
#include <QObject>
#include <PythonQt.h>
#include <QVariant>
#include <qbytearray.h>
#include <qitemeditorfactory.h>
#include <qwidget.h>
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;
};
class PythonQtPublicPromoter_QItemEditorFactory : public QItemEditorFactory
{ public:
inline QByteArray promoted_valuePropertyName(QVariant::Type type) const { return QItemEditorFactory::valuePropertyName(type); }
inline QWidget* promoted_createEditor(QVariant::Type type, QWidget* parent) const { return QItemEditorFactory::createEditor(type, parent); }
};
class PythonQtWrapper_QItemEditorFactory : public QObject
{ Q_OBJECT
public:
public slots:
QItemEditorFactory* new_QItemEditorFactory();
void delete_QItemEditorFactory(QItemEditorFactory* obj) { delete obj; }
void static_QItemEditorFactory_setDefaultFactory(QItemEditorFactory* factory);
const QItemEditorFactory* static_QItemEditorFactory_defaultFactory();
void registerEditor(QItemEditorFactory* theWrappedObject, QVariant::Type type, QItemEditorCreatorBase* creator);
QByteArray valuePropertyName(QItemEditorFactory* theWrappedObject, QVariant::Type type) const;
QWidget* createEditor(QItemEditorFactory* theWrappedObject, QVariant::Type type, QWidget* parent) const;
};
#endif // PYTHONQTWRAPPER_QITEMEDITORFACTORY_H