##// END OF EJS Templates
- added hasOwner method to manage ownership more nicely...
- added hasOwner method to manage ownership more nicely - added force flag to make delete() work - added check for hasOwner git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@51 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r15:ae998290bf19
Show More
PythonQtWrapper_QGraphicsGridLayout.h
67 lines | 4.5 KiB | text/x-c | CLexer
/ generated_cpp / com_trolltech_qt_gui / PythonQtWrapper_QGraphicsGridLayout.h
#ifndef PYTHONQTWRAPPER_QGRAPHICSGRIDLAYOUT_H
#define PYTHONQTWRAPPER_QGRAPHICSGRIDLAYOUT_H
#include <qgraphicsgridlayout.h>
#include <QObject>
#include <QVariant>
#include <qcoreevent.h>
#include <qgraphicsgridlayout.h>
#include <qgraphicslayoutitem.h>
#include <qrect.h>
#include <qsize.h>
#include <qsizepolicy.h>
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