##// 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_QWidgetItem.h
71 lines | 2.7 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QWIDGETITEM_H
#define PYTHONQTWRAPPER_QWIDGETITEM_H
#include <qlayoutitem.h>
#include <QObject>
#include <PythonQt.h>
#include <QVariant>
#include <qlayout.h>
#include <qlayoutitem.h>
#include <qrect.h>
#include <qsize.h>
#include <qwidget.h>
class PythonQtShell_QWidgetItem : public QWidgetItem
{
public:
PythonQtShell_QWidgetItem(QWidget* w):QWidgetItem(w),_wrapper(NULL) {};
virtual Qt::Orientations expandingDirections() const;
virtual QRect geometry() const;
virtual bool hasHeightForWidth() const;
virtual int heightForWidth(int arg__1) const;
virtual void invalidate();
virtual bool isEmpty() const;
virtual QLayout* layout();
virtual QSize maximumSize() const;
virtual int minimumHeightForWidth(int arg__1) const;
virtual QSize minimumSize() const;
virtual void setGeometry(const QRect& arg__1);
virtual QSize sizeHint() const;
virtual QSpacerItem* spacerItem();
virtual QWidget* widget();
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QWidgetItem : public QWidgetItem
{ public:
inline QSize promoted_maximumSize() const { return QWidgetItem::maximumSize(); }
inline bool promoted_isEmpty() const { return QWidgetItem::isEmpty(); }
inline void promoted_setGeometry(const QRect& arg__1) { QWidgetItem::setGeometry(arg__1); }
inline Qt::Orientations promoted_expandingDirections() const { return QWidgetItem::expandingDirections(); }
inline QSize promoted_sizeHint() const { return QWidgetItem::sizeHint(); }
inline QRect promoted_geometry() const { return QWidgetItem::geometry(); }
inline bool promoted_hasHeightForWidth() const { return QWidgetItem::hasHeightForWidth(); }
inline QWidget* promoted_widget() { return QWidgetItem::widget(); }
inline QSize promoted_minimumSize() const { return QWidgetItem::minimumSize(); }
inline int promoted_heightForWidth(int arg__1) const { return QWidgetItem::heightForWidth(arg__1); }
};
class PythonQtWrapper_QWidgetItem : public QObject
{ Q_OBJECT
public:
public slots:
QWidgetItem* new_QWidgetItem(QWidget* w);
void delete_QWidgetItem(QWidgetItem* obj) { delete obj; }
QSize maximumSize(QWidgetItem* theWrappedObject) const;
bool isEmpty(QWidgetItem* theWrappedObject) const;
void setGeometry(QWidgetItem* theWrappedObject, const QRect& arg__1);
Qt::Orientations expandingDirections(QWidgetItem* theWrappedObject) const;
QSize sizeHint(QWidgetItem* theWrappedObject) const;
QRect geometry(QWidgetItem* theWrappedObject) const;
bool hasHeightForWidth(QWidgetItem* theWrappedObject) const;
QWidget* widget(QWidgetItem* theWrappedObject);
QSize minimumSize(QWidgetItem* theWrappedObject) const;
int heightForWidth(QWidgetItem* theWrappedObject, int arg__1) const;
};
#endif // PYTHONQTWRAPPER_QWIDGETITEM_H