#ifndef PYTHONQTWRAPPER_QLAYOUT_H #define PYTHONQTWRAPPER_QLAYOUT_H #include #include #include #include #include #include #include #include #include #include #include #include #include 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: inline QRect promoted_geometry() const { return QLayout::geometry(); } inline QLayout* promoted_layout() { return QLayout::layout(); } inline bool promoted_isEmpty() const { return QLayout::isEmpty(); } inline void promoted_invalidate() { QLayout::invalidate(); } inline QSize promoted_maximumSize() const { return QLayout::maximumSize(); } inline QSize promoted_minimumSize() const { return QLayout::minimumSize(); } inline int promoted_indexOf(QWidget* arg__1) const { return QLayout::indexOf(arg__1); } inline void promoted_childEvent(QChildEvent* e) { QLayout::childEvent(e); } inline void promoted_setGeometry(const QRect& arg__1) { QLayout::setGeometry(arg__1); } inline Qt::Orientations promoted_expandingDirections() const { return QLayout::expandingDirections(); } }; class PythonQtWrapper_QLayout : public QObject { Q_OBJECT public: public slots: QLayout* new_QLayout(); QLayout* new_QLayout(QWidget* parent); void delete_QLayout(QLayout* obj) { delete obj; } QWidget* parentWidget(QLayout* theWrappedObject) const; QSize totalMaximumSize(QLayout* theWrappedObject) const; QRect geometry(QLayout* theWrappedObject) const; void setEnabled(QLayout* theWrappedObject, bool arg__1); QSize totalSizeHint(QLayout* theWrappedObject) const; bool setAlignment(QLayout* theWrappedObject, QWidget* w, Qt::Alignment alignment); QLayout* layout(QLayout* theWrappedObject); bool isEmpty(QLayout* theWrappedObject) const; QRect contentsRect(QLayout* theWrappedObject) const; void setContentsMargins(QLayout* theWrappedObject, int left, int top, int right, int bottom); void removeWidget(QLayout* theWrappedObject, QWidget* w); bool activate(QLayout* theWrappedObject); QLayout::SizeConstraint sizeConstraint(QLayout* theWrappedObject) const; void invalidate(QLayout* theWrappedObject); bool isEnabled(QLayout* theWrappedObject) const; QWidget* menuBar(QLayout* theWrappedObject) const; QSize maximumSize(QLayout* theWrappedObject) const; QSize minimumSize(QLayout* theWrappedObject) const; QSize static_QLayout_closestAcceptableSize(const QWidget* w, const QSize& s); bool setAlignment(QLayout* theWrappedObject, QLayout* l, Qt::Alignment alignment); void setAlignment(QLayout* theWrappedObject, Qt::Alignment alignment); void setSizeConstraint(QLayout* theWrappedObject, QLayout::SizeConstraint arg__1); void setMargin(QLayout* theWrappedObject, int arg__1); void removeItem(QLayout* theWrappedObject, QLayoutItem* arg__1); void addWidget(QLayout* theWrappedObject, QWidget* w); int indexOf(QLayout* theWrappedObject, QWidget* arg__1) const; void setSpacing(QLayout* theWrappedObject, int arg__1); int spacing(QLayout* theWrappedObject) const; void childEvent(QLayout* theWrappedObject, QChildEvent* e); void setGeometry(QLayout* theWrappedObject, const QRect& arg__1); Qt::Orientations expandingDirections(QLayout* theWrappedObject) const; int totalHeightForWidth(QLayout* theWrappedObject, int w) const; void update(QLayout* theWrappedObject); void getContentsMargins(QLayout* theWrappedObject, int* left, int* top, int* right, int* bottom) const; void setMenuBar(QLayout* theWrappedObject, QWidget* w); QSize totalMinimumSize(QLayout* theWrappedObject) const; }; #endif // PYTHONQTWRAPPER_QLAYOUT_H