PythonQtWrapper_QLayoutItem.h
68 lines
| 2.5 KiB
| text/x-c
|
CLexer
|
r13 | #ifndef PYTHONQTWRAPPER_QLAYOUTITEM_H | ||
#define PYTHONQTWRAPPER_QLAYOUTITEM_H | ||||
#include <qlayoutitem.h> | ||||
#include <QObject> | ||||
|
r24 | #include <PythonQt.h> | ||
|
r13 | #include <QVariant> | ||
#include <qlayout.h> | ||||
#include <qlayoutitem.h> | ||||
#include <qrect.h> | ||||
#include <qsize.h> | ||||
#include <qwidget.h> | ||||
|
r24 | class PythonQtShell_QLayoutItem : public QLayoutItem | ||
{ | ||||
public: | ||||
PythonQtShell_QLayoutItem(Qt::Alignment alignment = 0):QLayoutItem(alignment),_wrapper(NULL) {}; | ||||
virtual Qt::Orientations expandingDirections() const; | ||||
virtual QRect geometry() const; | ||||
virtual bool hasHeightForWidth() const; | ||||
virtual int heightForWidth(int arg__1) const; | ||||
virtual void invalidate(); | ||||
virtual bool isEmpty() 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 QWidget* widget(); | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
|
r28 | class PythonQtPublicPromoter_QLayoutItem : public QLayoutItem | ||
{ public: | ||||
inline QSpacerItem* promoted_spacerItem() { return QLayoutItem::spacerItem(); } | ||||
inline int promoted_heightForWidth(int arg__1) const { return QLayoutItem::heightForWidth(arg__1); } | ||||
inline bool promoted_hasHeightForWidth() const { return QLayoutItem::hasHeightForWidth(); } | ||||
inline QWidget* promoted_widget() { return QLayoutItem::widget(); } | ||||
inline int promoted_minimumHeightForWidth(int arg__1) const { return QLayoutItem::minimumHeightForWidth(arg__1); } | ||||
inline void promoted_invalidate() { QLayoutItem::invalidate(); } | ||||
inline QLayout* promoted_layout() { return QLayoutItem::layout(); } | ||||
}; | ||||
|
r13 | class PythonQtWrapper_QLayoutItem : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
|
r24 | QLayoutItem* new_QLayoutItem(Qt::Alignment alignment = 0); | ||
|
r13 | void delete_QLayoutItem(QLayoutItem* obj) { delete obj; } | ||
|
r24 | Qt::Alignment alignment(QLayoutItem* theWrappedObject) const; | ||
|
r13 | QSpacerItem* spacerItem(QLayoutItem* theWrappedObject); | ||
|
r28 | int heightForWidth(QLayoutItem* theWrappedObject, int arg__1) const; | ||
bool hasHeightForWidth(QLayoutItem* theWrappedObject) const; | ||||
void setAlignment(QLayoutItem* theWrappedObject, Qt::Alignment a); | ||||
|
r13 | QWidget* widget(QLayoutItem* theWrappedObject); | ||
|
r28 | QSizePolicy::ControlTypes controlTypes(QLayoutItem* theWrappedObject) const; | ||
int minimumHeightForWidth(QLayoutItem* theWrappedObject, int arg__1) const; | ||||
|
r24 | void invalidate(QLayoutItem* theWrappedObject); | ||
QLayout* layout(QLayoutItem* theWrappedObject); | ||||
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QLAYOUTITEM_H | ||||