##// 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_QLayout.h
113 lines | 4.9 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QLAYOUT_H
#define PYTHONQTWRAPPER_QLAYOUT_H
#include <qlayout.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 <qcoreevent.h>
#include <qlayout.h>
#include <qlayoutitem.h>
#include <qlist.h>
#include <qobject.h>
#include <qrect.h>
#include <qsize.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_QLayout : public QLayout
{
public:
PythonQtShell_QLayout():QLayout(),_wrapper(NULL) {};
PythonQtShell_QLayout(QWidget* parent):QLayout(parent),_wrapper(NULL) {};
virtual void addItem(QLayoutItem* arg__1);
virtual void childEvent(QChildEvent* e);
virtual int count() const;
virtual void customEvent(QEvent* arg__1);
virtual bool event(QEvent* arg__1);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual Qt::Orientations expandingDirections() const;
virtual QRect geometry() const;
virtual bool hasHeightForWidth() const;
virtual int heightForWidth(int arg__1) const;
virtual int indexOf(QWidget* arg__1) const;
virtual void invalidate();
virtual bool isEmpty() const;
virtual QLayoutItem* itemAt(int index) 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 QLayoutItem* takeAt(int index);
virtual void timerEvent(QTimerEvent* arg__1);
virtual QWidget* widget();
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QLayout : public QLayout
{ public:
florianlink
upgraded wrappers to current generator version...
r28 inline void promoted_childEvent(QChildEvent* e) { QLayout::childEvent(e); }
inline QRect promoted_geometry() const { return QLayout::geometry(); }
inline QSize promoted_minimumSize() const { return QLayout::minimumSize(); }
inline Qt::Orientations promoted_expandingDirections() const { return QLayout::expandingDirections(); }
inline void promoted_invalidate() { QLayout::invalidate(); }
inline void promoted_setGeometry(const QRect& arg__1) { QLayout::setGeometry(arg__1); }
inline QLayout* promoted_layout() { return QLayout::layout(); }
inline bool promoted_isEmpty() const { return QLayout::isEmpty(); }
inline QSize promoted_maximumSize() const { return QLayout::maximumSize(); }
inline int promoted_indexOf(QWidget* arg__1) const { return QLayout::indexOf(arg__1); }
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 };
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 class PythonQtWrapper_QLayout : public QObject
{ Q_OBJECT
public:
public slots:
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QLayout* new_QLayout();
QLayout* new_QLayout(QWidget* parent);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void delete_QLayout(QLayout* obj) { delete obj; }
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 bool activate(QLayout* theWrappedObject);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 QWidget* parentWidget(QLayout* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 QWidget* menuBar(QLayout* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 int totalHeightForWidth(QLayout* theWrappedObject, int w) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void removeItem(QLayout* theWrappedObject, QLayoutItem* arg__1);
florianlink
upgraded wrappers to current generator version...
r28 void removeWidget(QLayout* theWrappedObject, QWidget* w);
void setSizeConstraint(QLayout* theWrappedObject, QLayout::SizeConstraint arg__1);
void childEvent(QLayout* theWrappedObject, QChildEvent* e);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 bool setAlignment(QLayout* theWrappedObject, QLayout* l, Qt::Alignment alignment);
florianlink
upgraded wrappers to current generator version...
r28 void setSpacing(QLayout* theWrappedObject, int arg__1);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QRect geometry(QLayout* theWrappedObject) const;
void setAlignment(QLayout* theWrappedObject, Qt::Alignment alignment);
florianlink
upgraded wrappers to current generator version...
r28 QSize totalMinimumSize(QLayout* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void setMenuBar(QLayout* theWrappedObject, QWidget* w);
florianlink
upgraded wrappers to current generator version...
r28 QSize minimumSize(QLayout* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void getContentsMargins(QLayout* theWrappedObject, int* left, int* top, int* right, int* bottom) const;
void update(QLayout* theWrappedObject);
florianlink
upgraded wrappers to current generator version...
r28 int spacing(QLayout* theWrappedObject) const;
QSize static_QLayout_closestAcceptableSize(const QWidget* w, const QSize& s);
Qt::Orientations expandingDirections(QLayout* theWrappedObject) const;
bool setAlignment(QLayout* theWrappedObject, QWidget* w, Qt::Alignment alignment);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void invalidate(QLayout* theWrappedObject);
florianlink
upgraded wrappers to current generator version...
r28 void setGeometry(QLayout* theWrappedObject, const QRect& arg__1);
QSize totalMaximumSize(QLayout* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 QSize totalSizeHint(QLayout* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 bool isEnabled(QLayout* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setMargin(QLayout* theWrappedObject, int arg__1);
QLayout* layout(QLayout* theWrappedObject);
QRect contentsRect(QLayout* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 bool isEmpty(QLayout* theWrappedObject) const;
void setContentsMargins(QLayout* theWrappedObject, int left, int top, int right, int bottom);
void addWidget(QLayout* theWrappedObject, QWidget* w);
QSize maximumSize(QLayout* theWrappedObject) const;
void setEnabled(QLayout* theWrappedObject, bool arg__1);
int indexOf(QLayout* theWrappedObject, QWidget* arg__1) const;
QLayout::SizeConstraint sizeConstraint(QLayout* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QLAYOUT_H