PythonQtWrapper_QStackedLayout.h
85 lines
| 3.5 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QSTACKEDLAYOUT_H | ||
#define PYTHONQTWRAPPER_QSTACKEDLAYOUT_H | ||||
#include <qstackedlayout.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 <qstackedlayout.h> | ||||
#include <qwidget.h> | ||||
florianlink
|
r24 | class PythonQtShell_QStackedLayout : public QStackedLayout | ||
{ | ||||
public: | ||||
PythonQtShell_QStackedLayout():QStackedLayout(),_wrapper(NULL) {}; | ||||
PythonQtShell_QStackedLayout(QLayout* parentLayout):QStackedLayout(parentLayout),_wrapper(NULL) {}; | ||||
PythonQtShell_QStackedLayout(QWidget* parent):QStackedLayout(parent),_wrapper(NULL) {}; | ||||
virtual void addItem(QLayoutItem* item); | ||||
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 int indexOf(QWidget* arg__1) const; | ||||
virtual void invalidate(); | ||||
virtual bool isEmpty() const; | ||||
virtual QLayoutItem* itemAt(int arg__1) const; | ||||
virtual QLayout* layout(); | ||||
virtual QSize maximumSize() const; | ||||
virtual QSize minimumSize() const; | ||||
virtual void setGeometry(const QRect& rect); | ||||
virtual QLayoutItem* takeAt(int arg__1); | ||||
virtual void timerEvent(QTimerEvent* arg__1); | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r28 | class PythonQtPublicPromoter_QStackedLayout : public QStackedLayout | ||
{ public: | ||||
inline int promoted_count() const { return QStackedLayout::count(); } | ||||
inline void promoted_addItem(QLayoutItem* item) { QStackedLayout::addItem(item); } | ||||
inline QSize promoted_minimumSize() const { return QStackedLayout::minimumSize(); } | ||||
inline QLayoutItem* promoted_takeAt(int arg__1) { return QStackedLayout::takeAt(arg__1); } | ||||
florianlink
|
r73 | inline void promoted_setGeometry(const QRect& rect) { QStackedLayout::setGeometry(rect); } | ||
inline QLayoutItem* promoted_itemAt(int arg__1) const { return QStackedLayout::itemAt(arg__1); } | ||||
florianlink
|
r28 | }; | ||
florianlink
|
r13 | class PythonQtWrapper_QStackedLayout : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QStackedLayout* new_QStackedLayout(); | ||||
QStackedLayout* new_QStackedLayout(QLayout* parentLayout); | ||||
QStackedLayout* new_QStackedLayout(QWidget* parent); | ||||
void delete_QStackedLayout(QStackedLayout* obj) { delete obj; } | ||||
florianlink
|
r24 | int count(QStackedLayout* theWrappedObject) const; | ||
florianlink
|
r73 | QStackedLayout::StackingMode stackingMode(QStackedLayout* theWrappedObject) const; | ||
florianlink
|
r24 | void addItem(QStackedLayout* theWrappedObject, QLayoutItem* item); | ||
QSize sizeHint(QStackedLayout* theWrappedObject) const; | ||||
florianlink
|
r73 | int addWidget(QStackedLayout* theWrappedObject, QWidget* w); | ||
int insertWidget(QStackedLayout* theWrappedObject, int index, QWidget* w); | ||||
florianlink
|
r28 | QWidget* widget(QStackedLayout* theWrappedObject); | ||
florianlink
|
r24 | void setStackingMode(QStackedLayout* theWrappedObject, QStackedLayout::StackingMode stackingMode); | ||
florianlink
|
r73 | QSize minimumSize(QStackedLayout* theWrappedObject) const; | ||
int currentIndex(QStackedLayout* theWrappedObject) const; | ||||
florianlink
|
r28 | QLayoutItem* takeAt(QStackedLayout* theWrappedObject, int arg__1); | ||
florianlink
|
r73 | void setGeometry(QStackedLayout* theWrappedObject, const QRect& rect); | ||
florianlink
|
r28 | QWidget* widget(QStackedLayout* theWrappedObject, int arg__1) const; | ||
florianlink
|
r73 | QWidget* currentWidget(QStackedLayout* theWrappedObject) const; | ||
QLayoutItem* itemAt(QStackedLayout* theWrappedObject, int arg__1) const; | ||||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QSTACKEDLAYOUT_H | ||||