PythonQtWrapper_QGraphicsLayoutItem.h
53 lines
| 3.2 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QGRAPHICSLAYOUTITEM_H | ||
#define PYTHONQTWRAPPER_QGRAPHICSLAYOUTITEM_H | ||||
#include <qgraphicslayoutitem.h> | ||||
#include <QObject> | ||||
#include <QVariant> | ||||
#include <qgraphicslayoutitem.h> | ||||
#include <qrect.h> | ||||
#include <qsize.h> | ||||
#include <qsizepolicy.h> | ||||
class PythonQtWrapper_QGraphicsLayoutItem : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
void delete_QGraphicsLayoutItem(QGraphicsLayoutItem* obj) { delete obj; } | ||||
QRectF contentsRect(QGraphicsLayoutItem* theWrappedObject) const; | ||||
QSizeF effectiveSizeHint(QGraphicsLayoutItem* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; | ||||
QRectF geometry(QGraphicsLayoutItem* theWrappedObject) const; | ||||
void getContentsMargins(QGraphicsLayoutItem* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const; | ||||
bool isLayout(QGraphicsLayoutItem* theWrappedObject) const; | ||||
qreal maximumHeight(QGraphicsLayoutItem* theWrappedObject) const; | ||||
QSizeF maximumSize(QGraphicsLayoutItem* theWrappedObject) const; | ||||
qreal maximumWidth(QGraphicsLayoutItem* theWrappedObject) const; | ||||
qreal minimumHeight(QGraphicsLayoutItem* theWrappedObject) const; | ||||
QSizeF minimumSize(QGraphicsLayoutItem* theWrappedObject) const; | ||||
qreal minimumWidth(QGraphicsLayoutItem* theWrappedObject) const; | ||||
QGraphicsLayoutItem* parentLayoutItem(QGraphicsLayoutItem* theWrappedObject) const; | ||||
qreal preferredHeight(QGraphicsLayoutItem* theWrappedObject) const; | ||||
QSizeF preferredSize(QGraphicsLayoutItem* theWrappedObject) const; | ||||
qreal preferredWidth(QGraphicsLayoutItem* theWrappedObject) const; | ||||
void setGeometry(QGraphicsLayoutItem* theWrappedObject, const QRectF& rect); | ||||
void setMaximumHeight(QGraphicsLayoutItem* theWrappedObject, qreal height); | ||||
void setMaximumSize(QGraphicsLayoutItem* theWrappedObject, const QSizeF& size); | ||||
void setMaximumSize(QGraphicsLayoutItem* theWrappedObject, qreal w, qreal h); | ||||
void setMaximumWidth(QGraphicsLayoutItem* theWrappedObject, qreal width); | ||||
void setMinimumHeight(QGraphicsLayoutItem* theWrappedObject, qreal height); | ||||
void setMinimumSize(QGraphicsLayoutItem* theWrappedObject, const QSizeF& size); | ||||
void setMinimumSize(QGraphicsLayoutItem* theWrappedObject, qreal w, qreal h); | ||||
void setMinimumWidth(QGraphicsLayoutItem* theWrappedObject, qreal width); | ||||
void setParentLayoutItem(QGraphicsLayoutItem* theWrappedObject, QGraphicsLayoutItem* parent); | ||||
void setPreferredHeight(QGraphicsLayoutItem* theWrappedObject, qreal height); | ||||
void setPreferredSize(QGraphicsLayoutItem* theWrappedObject, const QSizeF& size); | ||||
void setPreferredSize(QGraphicsLayoutItem* theWrappedObject, qreal w, qreal h); | ||||
void setPreferredWidth(QGraphicsLayoutItem* theWrappedObject, qreal width); | ||||
void setSizePolicy(QGraphicsLayoutItem* theWrappedObject, QSizePolicy::Policy hPolicy, QSizePolicy::Policy vPolicy, QSizePolicy::ControlType controlType = QSizePolicy::DefaultType); | ||||
void setSizePolicy(QGraphicsLayoutItem* theWrappedObject, const QSizePolicy& policy); | ||||
QSizePolicy sizePolicy(QGraphicsLayoutItem* theWrappedObject) const; | ||||
void updateGeometry(QGraphicsLayoutItem* theWrappedObject); | ||||
}; | ||||
#endif // PYTHONQTWRAPPER_QGRAPHICSLAYOUTITEM_H | ||||