##// 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_QDataWidgetMapper.h
65 lines | 2.8 KiB | text/x-c | CLexer
/ generated_cpp / com_trolltech_qt_gui / PythonQtWrapper_QDataWidgetMapper.h
#ifndef PYTHONQTWRAPPER_QDATAWIDGETMAPPER_H
#define PYTHONQTWRAPPER_QDATAWIDGETMAPPER_H
#include <qdatawidgetmapper.h>
#include <QObject>
#include <PythonQt.h>
#include <QVariant>
#include <qabstractitemdelegate.h>
#include <qabstractitemmodel.h>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qdatawidgetmapper.h>
#include <qlist.h>
#include <qobject.h>
#include <qwidget.h>
class PythonQtShell_QDataWidgetMapper : public QDataWidgetMapper
{
public:
PythonQtShell_QDataWidgetMapper(QObject* parent = 0):QDataWidgetMapper(parent),_wrapper(NULL) {};
virtual void childEvent(QChildEvent* arg__1);
virtual void customEvent(QEvent* arg__1);
virtual bool event(QEvent* arg__1);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual void setCurrentIndex(int index);
virtual void timerEvent(QTimerEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QDataWidgetMapper : public QDataWidgetMapper
{ public:
inline void promoted_setCurrentIndex(int index) { QDataWidgetMapper::setCurrentIndex(index); }
};
class PythonQtWrapper_QDataWidgetMapper : public QObject
{ Q_OBJECT
public:
public slots:
QDataWidgetMapper* new_QDataWidgetMapper(QObject* parent = 0);
void delete_QDataWidgetMapper(QDataWidgetMapper* obj) { delete obj; }
QDataWidgetMapper::SubmitPolicy submitPolicy(QDataWidgetMapper* theWrappedObject) const;
void setModel(QDataWidgetMapper* theWrappedObject, QAbstractItemModel* model);
QAbstractItemDelegate* itemDelegate(QDataWidgetMapper* theWrappedObject) const;
void setItemDelegate(QDataWidgetMapper* theWrappedObject, QAbstractItemDelegate* delegate);
void addMapping(QDataWidgetMapper* theWrappedObject, QWidget* widget, int section, const QByteArray& propertyName);
int mappedSection(QDataWidgetMapper* theWrappedObject, QWidget* widget) const;
QAbstractItemModel* model(QDataWidgetMapper* theWrappedObject) const;
void addMapping(QDataWidgetMapper* theWrappedObject, QWidget* widget, int section);
void setRootIndex(QDataWidgetMapper* theWrappedObject, const QModelIndex& index);
void setOrientation(QDataWidgetMapper* theWrappedObject, Qt::Orientation aOrientation);
QModelIndex rootIndex(QDataWidgetMapper* theWrappedObject) const;
void setSubmitPolicy(QDataWidgetMapper* theWrappedObject, QDataWidgetMapper::SubmitPolicy policy);
void clearMapping(QDataWidgetMapper* theWrappedObject);
QByteArray mappedPropertyName(QDataWidgetMapper* theWrappedObject, QWidget* widget) const;
int currentIndex(QDataWidgetMapper* theWrappedObject) const;
QWidget* mappedWidgetAt(QDataWidgetMapper* theWrappedObject, int section) const;
Qt::Orientation orientation(QDataWidgetMapper* theWrappedObject) const;
void removeMapping(QDataWidgetMapper* theWrappedObject, QWidget* widget);
};
#endif // PYTHONQTWRAPPER_QDATAWIDGETMAPPER_H