##// END OF EJS Templates
fixed builtin package name...
fixed builtin package name git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@130 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r94:f55700c8b936
Show More
PythonQtWrapper_QGraphicsLayoutItem.h
76 lines | 4.3 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 <PythonQt.h>
#include <QVariant>
#include <qgraphicslayoutitem.h>
#include <qrect.h>
#include <qsize.h>
#include <qsizepolicy.h>
class PythonQtShell_QGraphicsLayoutItem : public QGraphicsLayoutItem
{
public:
PythonQtShell_QGraphicsLayoutItem(QGraphicsLayoutItem* parent = 0, bool isLayout = false):QGraphicsLayoutItem(parent, isLayout),_wrapper(NULL) {};
virtual void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const;
virtual void setGeometry(const QRectF& rect);
virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const;
virtual void updateGeometry();
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QGraphicsLayoutItem : public QGraphicsLayoutItem
{ public:
inline void promoted_getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const { QGraphicsLayoutItem::getContentsMargins(left, top, right, bottom); }
inline void promoted_setGeometry(const QRectF& rect) { QGraphicsLayoutItem::setGeometry(rect); }
inline void promoted_updateGeometry() { QGraphicsLayoutItem::updateGeometry(); }
};
class PythonQtWrapper_QGraphicsLayoutItem : public QObject
{ Q_OBJECT
public:
public slots:
QGraphicsLayoutItem* new_QGraphicsLayoutItem(QGraphicsLayoutItem* parent = 0, bool isLayout = false);
void delete_QGraphicsLayoutItem(QGraphicsLayoutItem* obj) { delete obj; }
void setPreferredWidth(QGraphicsLayoutItem* theWrappedObject, qreal width);
void setMinimumHeight(QGraphicsLayoutItem* theWrappedObject, qreal height);
QSizeF minimumSize(QGraphicsLayoutItem* theWrappedObject) const;
QGraphicsLayoutItem* parentLayoutItem(QGraphicsLayoutItem* theWrappedObject) const;
QRectF contentsRect(QGraphicsLayoutItem* theWrappedObject) const;
qreal maximumWidth(QGraphicsLayoutItem* theWrappedObject) const;
void setMaximumWidth(QGraphicsLayoutItem* theWrappedObject, qreal width);
QRectF geometry(QGraphicsLayoutItem* theWrappedObject) const;
void setMaximumHeight(QGraphicsLayoutItem* theWrappedObject, qreal height);
QSizeF effectiveSizeHint(QGraphicsLayoutItem* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const;
qreal maximumHeight(QGraphicsLayoutItem* theWrappedObject) const;
qreal minimumWidth(QGraphicsLayoutItem* theWrappedObject) const;
QSizePolicy sizePolicy(QGraphicsLayoutItem* theWrappedObject) const;
bool isLayout(QGraphicsLayoutItem* theWrappedObject) const;
void setSizePolicy(QGraphicsLayoutItem* theWrappedObject, const QSizePolicy& policy);
qreal minimumHeight(QGraphicsLayoutItem* theWrappedObject) const;
void setMinimumSize(QGraphicsLayoutItem* theWrappedObject, qreal w, qreal h);
QSizeF maximumSize(QGraphicsLayoutItem* theWrappedObject) const;
qreal preferredWidth(QGraphicsLayoutItem* theWrappedObject) const;
void setMinimumSize(QGraphicsLayoutItem* theWrappedObject, const QSizeF& size);
void setMaximumSize(QGraphicsLayoutItem* theWrappedObject, qreal w, qreal h);
void setPreferredSize(QGraphicsLayoutItem* theWrappedObject, qreal w, qreal h);
qreal preferredHeight(QGraphicsLayoutItem* theWrappedObject) const;
void setMaximumSize(QGraphicsLayoutItem* theWrappedObject, const QSizeF& size);
void setMinimumWidth(QGraphicsLayoutItem* theWrappedObject, qreal width);
void setParentLayoutItem(QGraphicsLayoutItem* theWrappedObject, QGraphicsLayoutItem* parent);
void getContentsMargins(QGraphicsLayoutItem* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const;
void setPreferredHeight(QGraphicsLayoutItem* theWrappedObject, qreal height);
void setPreferredSize(QGraphicsLayoutItem* theWrappedObject, const QSizeF& size);
QSizeF preferredSize(QGraphicsLayoutItem* theWrappedObject) const;
void setGeometry(QGraphicsLayoutItem* theWrappedObject, const QRectF& rect);
void setSizePolicy(QGraphicsLayoutItem* theWrappedObject, QSizePolicy::Policy hPolicy, QSizePolicy::Policy vPolicy, QSizePolicy::ControlType controlType = QSizePolicy::DefaultType);
void updateGeometry(QGraphicsLayoutItem* theWrappedObject);
};
#endif // PYTHONQTWRAPPER_QGRAPHICSLAYOUTITEM_H