##// 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_QGraphicsLayoutItem.h
53 lines | 3.2 KiB | text/x-c | CLexer
/ generated_cpp / com_trolltech_qt_gui / PythonQtWrapper_QGraphicsLayoutItem.h
#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