PythonQtWrapper_QFormLayout.h
114 lines
| 6.0 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QFORMLAYOUT_H | ||
#define PYTHONQTWRAPPER_QFORMLAYOUT_H | ||||
#include <qformlayout.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_QFormLayout : public QFormLayout | ||
{ | ||||
public: | ||||
PythonQtShell_QFormLayout(QWidget* parent = 0):QFormLayout(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 index) const; | ||||
virtual QLayout* layout(); | ||||
virtual QSize maximumSize() const; | ||||
virtual QSize minimumSize() const; | ||||
virtual void setGeometry(const QRect& rect); | ||||
virtual QLayoutItem* takeAt(int index); | ||||
virtual void timerEvent(QTimerEvent* arg__1); | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r28 | class PythonQtPublicPromoter_QFormLayout : public QFormLayout | ||
{ public: | ||||
inline QSize promoted_minimumSize() const { return QFormLayout::minimumSize(); } | ||||
inline QLayoutItem* promoted_takeAt(int index) { return QFormLayout::takeAt(index); } | ||||
inline QLayoutItem* promoted_itemAt(int index) const { return QFormLayout::itemAt(index); } | ||||
inline void promoted_invalidate() { QFormLayout::invalidate(); } | ||||
inline void promoted_setGeometry(const QRect& rect) { QFormLayout::setGeometry(rect); } | ||||
inline Qt::Orientations promoted_expandingDirections() const { return QFormLayout::expandingDirections(); } | ||||
inline int promoted_count() const { return QFormLayout::count(); } | ||||
inline void promoted_addItem(QLayoutItem* item) { QFormLayout::addItem(item); } | ||||
}; | ||||
florianlink
|
r13 | class PythonQtWrapper_QFormLayout : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QFormLayout* new_QFormLayout(QWidget* parent = 0); | ||||
void delete_QFormLayout(QFormLayout* obj) { delete obj; } | ||||
florianlink
|
r24 | Qt::Alignment formAlignment(QFormLayout* theWrappedObject) const; | ||
florianlink
|
r28 | QFormLayout::FieldGrowthPolicy fieldGrowthPolicy(QFormLayout* theWrappedObject) const; | ||
void setRowWrapPolicy(QFormLayout* theWrappedObject, QFormLayout::RowWrapPolicy policy); | ||||
florianlink
|
r24 | QWidget* labelForField(QFormLayout* theWrappedObject, QLayout* field) const; | ||
QSize minimumSize(QFormLayout* theWrappedObject) const; | ||||
florianlink
|
r28 | void addRow(QFormLayout* theWrappedObject, const QString& labelText, QWidget* field); | ||
void getItemPosition(QFormLayout* theWrappedObject, int index, int* rowPtr, QFormLayout::ItemRole* rolePtr) const; | ||||
void setSpacing(QFormLayout* theWrappedObject, int arg__1); | ||||
QLayoutItem* takeAt(QFormLayout* theWrappedObject, int index); | ||||
void addRow(QFormLayout* theWrappedObject, QLayout* layout); | ||||
florianlink
|
r24 | int horizontalSpacing(QFormLayout* theWrappedObject) const; | ||
void insertRow(QFormLayout* theWrappedObject, int row, QWidget* label, QLayout* field); | ||||
void addRow(QFormLayout* theWrappedObject, QWidget* label, QWidget* field); | ||||
florianlink
|
r28 | void addRow(QFormLayout* theWrappedObject, QWidget* widget); | ||
bool hasHeightForWidth(QFormLayout* theWrappedObject) const; | ||||
QLayoutItem* itemAt(QFormLayout* theWrappedObject, int index) const; | ||||
florianlink
|
r13 | QFormLayout::RowWrapPolicy rowWrapPolicy(QFormLayout* theWrappedObject) const; | ||
florianlink
|
r28 | void setHorizontalSpacing(QFormLayout* theWrappedObject, int spacing); | ||
florianlink
|
r24 | void setWidget(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, QWidget* widget); | ||
florianlink
|
r28 | void insertRow(QFormLayout* theWrappedObject, int row, const QString& labelText, QWidget* field); | ||
void setLabelAlignment(QFormLayout* theWrappedObject, Qt::Alignment alignment); | ||||
Qt::Alignment labelAlignment(QFormLayout* theWrappedObject) const; | ||||
void getLayoutPosition(QFormLayout* theWrappedObject, QLayout* layout, int* rowPtr, QFormLayout::ItemRole* rolePtr) const; | ||||
florianlink
|
r24 | int rowCount(QFormLayout* theWrappedObject) const; | ||
florianlink
|
r28 | void setItem(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, QLayoutItem* item); | ||
int verticalSpacing(QFormLayout* theWrappedObject) const; | ||||
void invalidate(QFormLayout* theWrappedObject); | ||||
void getWidgetPosition(QFormLayout* theWrappedObject, QWidget* widget, int* rowPtr, QFormLayout::ItemRole* rolePtr) const; | ||||
florianlink
|
r24 | void addRow(QFormLayout* theWrappedObject, const QString& labelText, QLayout* field); | ||
florianlink
|
r28 | int spacing(QFormLayout* theWrappedObject) const; | ||
void setFormAlignment(QFormLayout* theWrappedObject, Qt::Alignment alignment); | ||||
void setGeometry(QFormLayout* theWrappedObject, const QRect& rect); | ||||
void insertRow(QFormLayout* theWrappedObject, int row, QWidget* label, QWidget* field); | ||||
florianlink
|
r24 | void setLayout(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, QLayout* layout); | ||
Qt::Orientations expandingDirections(QFormLayout* theWrappedObject) const; | ||||
florianlink
|
r28 | int heightForWidth(QFormLayout* theWrappedObject, int width) const; | ||
void insertRow(QFormLayout* theWrappedObject, int row, const QString& labelText, QLayout* field); | ||||
int count(QFormLayout* theWrappedObject) const; | ||||
QLayoutItem* itemAt(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role) const; | ||||
void setVerticalSpacing(QFormLayout* theWrappedObject, int spacing); | ||||
QSize sizeHint(QFormLayout* theWrappedObject) const; | ||||
void insertRow(QFormLayout* theWrappedObject, int row, QWidget* widget); | ||||
void addItem(QFormLayout* theWrappedObject, QLayoutItem* item); | ||||
QWidget* labelForField(QFormLayout* theWrappedObject, QWidget* field) const; | ||||
void addRow(QFormLayout* theWrappedObject, QWidget* label, QLayout* field); | ||||
void insertRow(QFormLayout* theWrappedObject, int row, QLayout* layout); | ||||
void setFieldGrowthPolicy(QFormLayout* theWrappedObject, QFormLayout::FieldGrowthPolicy policy); | ||||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QFORMLAYOUT_H | ||||