#ifndef PYTHONQTWRAPPER_QGRAPHICSGRIDLAYOUT_H #define PYTHONQTWRAPPER_QGRAPHICSGRIDLAYOUT_H #include #include #include #include #include #include #include #include #include class PythonQtWrapper_QGraphicsGridLayout : public QObject { Q_OBJECT public: public slots: QGraphicsGridLayout* new_QGraphicsGridLayout(QGraphicsLayoutItem* parent = 0); void delete_QGraphicsGridLayout(QGraphicsGridLayout* obj) { delete obj; } void addItem(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item, int row, int column, Qt::Alignment alignment = 0); void addItem(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item, int row, int column, int rowSpan, int columnSpan, Qt::Alignment alignment = 0); Qt::Alignment alignment(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item) const; Qt::Alignment columnAlignment(QGraphicsGridLayout* theWrappedObject, int column) const; int columnCount(QGraphicsGridLayout* theWrappedObject) const; qreal columnMaximumWidth(QGraphicsGridLayout* theWrappedObject, int column) const; qreal columnMinimumWidth(QGraphicsGridLayout* theWrappedObject, int column) const; qreal columnPreferredWidth(QGraphicsGridLayout* theWrappedObject, int column) const; qreal columnSpacing(QGraphicsGridLayout* theWrappedObject, int column) const; int columnStretchFactor(QGraphicsGridLayout* theWrappedObject, int column) const; int count(QGraphicsGridLayout* theWrappedObject) const; qreal horizontalSpacing(QGraphicsGridLayout* theWrappedObject) const; void invalidate(QGraphicsGridLayout* theWrappedObject); QGraphicsLayoutItem* itemAt(QGraphicsGridLayout* theWrappedObject, int index) const; QGraphicsLayoutItem* itemAt(QGraphicsGridLayout* theWrappedObject, int row, int column) const; void removeAt(QGraphicsGridLayout* theWrappedObject, int index); Qt::Alignment rowAlignment(QGraphicsGridLayout* theWrappedObject, int row) const; int rowCount(QGraphicsGridLayout* theWrappedObject) const; qreal rowMaximumHeight(QGraphicsGridLayout* theWrappedObject, int row) const; qreal rowMinimumHeight(QGraphicsGridLayout* theWrappedObject, int row) const; qreal rowPreferredHeight(QGraphicsGridLayout* theWrappedObject, int row) const; qreal rowSpacing(QGraphicsGridLayout* theWrappedObject, int row) const; int rowStretchFactor(QGraphicsGridLayout* theWrappedObject, int row) const; void setAlignment(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item, Qt::Alignment alignment); void setColumnAlignment(QGraphicsGridLayout* theWrappedObject, int column, Qt::Alignment alignment); void setColumnFixedWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width); void setColumnMaximumWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width); void setColumnMinimumWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width); void setColumnPreferredWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width); void setColumnSpacing(QGraphicsGridLayout* theWrappedObject, int column, qreal spacing); void setColumnStretchFactor(QGraphicsGridLayout* theWrappedObject, int column, int stretch); void setGeometry(QGraphicsGridLayout* theWrappedObject, const QRectF& rect); void setHorizontalSpacing(QGraphicsGridLayout* theWrappedObject, qreal spacing); void setRowAlignment(QGraphicsGridLayout* theWrappedObject, int row, Qt::Alignment alignment); void setRowFixedHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height); void setRowMaximumHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height); void setRowMinimumHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height); void setRowPreferredHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height); void setRowSpacing(QGraphicsGridLayout* theWrappedObject, int row, qreal spacing); void setRowStretchFactor(QGraphicsGridLayout* theWrappedObject, int row, int stretch); void setSpacing(QGraphicsGridLayout* theWrappedObject, qreal spacing); void setVerticalSpacing(QGraphicsGridLayout* theWrappedObject, qreal spacing); QSizeF sizeHint(QGraphicsGridLayout* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; qreal verticalSpacing(QGraphicsGridLayout* theWrappedObject) const; }; #endif // PYTHONQTWRAPPER_QGRAPHICSGRIDLAYOUT_H