PythonQtWrapper_QLayout.h
113 lines
| 4.9 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QLAYOUT_H | ||
#define PYTHONQTWRAPPER_QLAYOUT_H | ||||
#include <qlayout.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
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
|
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
|
r28 | inline QRect promoted_geometry() const { return QLayout::geometry(); } | ||
inline QLayout* promoted_layout() { return QLayout::layout(); } | ||||
inline bool promoted_isEmpty() const { return QLayout::isEmpty(); } | ||||
florianlink
|
r73 | inline void promoted_invalidate() { QLayout::invalidate(); } | ||
florianlink
|
r28 | inline QSize promoted_maximumSize() const { return QLayout::maximumSize(); } | ||
florianlink
|
r73 | inline QSize promoted_minimumSize() const { return QLayout::minimumSize(); } | ||
florianlink
|
r28 | inline int promoted_indexOf(QWidget* arg__1) const { return QLayout::indexOf(arg__1); } | ||
florianlink
|
r73 | 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(); } | ||||
florianlink
|
r24 | }; | ||
florianlink
|
r13 | class PythonQtWrapper_QLayout : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
florianlink
|
r24 | QLayout* new_QLayout(); | ||
QLayout* new_QLayout(QWidget* parent); | ||||
florianlink
|
r13 | void delete_QLayout(QLayout* obj) { delete obj; } | ||
QWidget* parentWidget(QLayout* theWrappedObject) const; | ||||
florianlink
|
r28 | QSize totalMaximumSize(QLayout* theWrappedObject) const; | ||
florianlink
|
r73 | QRect geometry(QLayout* theWrappedObject) const; | ||
void setEnabled(QLayout* theWrappedObject, bool arg__1); | ||||
florianlink
|
r13 | QSize totalSizeHint(QLayout* theWrappedObject) const; | ||
florianlink
|
r73 | bool setAlignment(QLayout* theWrappedObject, QWidget* w, Qt::Alignment alignment); | ||
florianlink
|
r24 | QLayout* layout(QLayout* theWrappedObject); | ||
florianlink
|
r28 | bool isEmpty(QLayout* theWrappedObject) const; | ||
florianlink
|
r73 | QRect contentsRect(QLayout* theWrappedObject) const; | ||
florianlink
|
r28 | void setContentsMargins(QLayout* theWrappedObject, int left, int top, int right, int bottom); | ||
florianlink
|
r73 | 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; | ||||
florianlink
|
r28 | QSize maximumSize(QLayout* theWrappedObject) const; | ||
florianlink
|
r73 | 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); | ||||
florianlink
|
r28 | int indexOf(QLayout* theWrappedObject, QWidget* arg__1) const; | ||
florianlink
|
r73 | 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; | ||||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QLAYOUT_H | ||||