PythonQtWrapper_QGraphicsLinearLayout.h
45 lines
| 2.6 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QGRAPHICSLINEARLAYOUT_H | ||
#define PYTHONQTWRAPPER_QGRAPHICSLINEARLAYOUT_H | ||||
#include <qgraphicslinearlayout.h> | ||||
#include <QObject> | ||||
#include <QVariant> | ||||
#include <qcoreevent.h> | ||||
#include <qgraphicslayoutitem.h> | ||||
#include <qgraphicslinearlayout.h> | ||||
#include <qrect.h> | ||||
#include <qsize.h> | ||||
#include <qsizepolicy.h> | ||||
class PythonQtWrapper_QGraphicsLinearLayout : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QGraphicsLinearLayout* new_QGraphicsLinearLayout(QGraphicsLayoutItem* parent = 0); | ||||
QGraphicsLinearLayout* new_QGraphicsLinearLayout(Qt::Orientation orientation, QGraphicsLayoutItem* parent = 0); | ||||
void delete_QGraphicsLinearLayout(QGraphicsLinearLayout* obj) { delete obj; } | ||||
void addItem(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item); | ||||
void addStretch(QGraphicsLinearLayout* theWrappedObject, int stretch = 1); | ||||
Qt::Alignment alignment(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item) const; | ||||
int count(QGraphicsLinearLayout* theWrappedObject) const; | ||||
void insertItem(QGraphicsLinearLayout* theWrappedObject, int index, QGraphicsLayoutItem* item); | ||||
void insertStretch(QGraphicsLinearLayout* theWrappedObject, int index, int stretch = 1); | ||||
void invalidate(QGraphicsLinearLayout* theWrappedObject); | ||||
QGraphicsLayoutItem* itemAt(QGraphicsLinearLayout* theWrappedObject, int index) const; | ||||
qreal itemSpacing(QGraphicsLinearLayout* theWrappedObject, int index) const; | ||||
Qt::Orientation orientation(QGraphicsLinearLayout* theWrappedObject) const; | ||||
void removeAt(QGraphicsLinearLayout* theWrappedObject, int index); | ||||
void removeItem(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item); | ||||
void setAlignment(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item, Qt::Alignment alignment); | ||||
void setGeometry(QGraphicsLinearLayout* theWrappedObject, const QRectF& rect); | ||||
void setItemSpacing(QGraphicsLinearLayout* theWrappedObject, int index, qreal spacing); | ||||
void setOrientation(QGraphicsLinearLayout* theWrappedObject, Qt::Orientation orientation); | ||||
void setSpacing(QGraphicsLinearLayout* theWrappedObject, qreal spacing); | ||||
void setStretchFactor(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item, int stretch); | ||||
QSizeF sizeHint(QGraphicsLinearLayout* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; | ||||
qreal spacing(QGraphicsLinearLayout* theWrappedObject) const; | ||||
int stretchFactor(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item) const; | ||||
}; | ||||
#endif // PYTHONQTWRAPPER_QGRAPHICSLINEARLAYOUT_H | ||||