##// END OF EJS Templates
added methods to qt namespace...
added methods to qt namespace git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@71 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r35:b8dce620ba5c
Show More
PythonQtWrapper_QLayoutItem.h
68 lines | 2.5 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QLAYOUTITEM_H
#define PYTHONQTWRAPPER_QLAYOUTITEM_H
#include <qlayoutitem.h>
#include <QObject>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 #include <PythonQt.h>
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #include <QVariant>
#include <qlayout.h>
#include <qlayoutitem.h>
#include <qrect.h>
#include <qsize.h>
#include <qwidget.h>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 class PythonQtShell_QLayoutItem : public QLayoutItem
{
public:
PythonQtShell_QLayoutItem(Qt::Alignment alignment = 0):QLayoutItem(alignment),_wrapper(NULL) {};
virtual Qt::Orientations expandingDirections() const;
virtual QRect geometry() const;
virtual bool hasHeightForWidth() const;
virtual int heightForWidth(int arg__1) const;
virtual void invalidate();
virtual bool isEmpty() const;
virtual QLayout* layout();
virtual QSize maximumSize() const;
virtual int minimumHeightForWidth(int arg__1) const;
virtual QSize minimumSize() const;
virtual void setGeometry(const QRect& arg__1);
virtual QSize sizeHint() const;
virtual QSpacerItem* spacerItem();
virtual QWidget* widget();
PythonQtInstanceWrapper* _wrapper;
};
florianlink
upgraded wrappers to current generator version...
r28 class PythonQtPublicPromoter_QLayoutItem : public QLayoutItem
{ public:
inline QSpacerItem* promoted_spacerItem() { return QLayoutItem::spacerItem(); }
inline int promoted_heightForWidth(int arg__1) const { return QLayoutItem::heightForWidth(arg__1); }
inline bool promoted_hasHeightForWidth() const { return QLayoutItem::hasHeightForWidth(); }
inline QWidget* promoted_widget() { return QLayoutItem::widget(); }
inline int promoted_minimumHeightForWidth(int arg__1) const { return QLayoutItem::minimumHeightForWidth(arg__1); }
inline void promoted_invalidate() { QLayoutItem::invalidate(); }
inline QLayout* promoted_layout() { return QLayoutItem::layout(); }
};
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 class PythonQtWrapper_QLayoutItem : public QObject
{ Q_OBJECT
public:
public slots:
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QLayoutItem* new_QLayoutItem(Qt::Alignment alignment = 0);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void delete_QLayoutItem(QLayoutItem* obj) { delete obj; }
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 Qt::Alignment alignment(QLayoutItem* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 QSpacerItem* spacerItem(QLayoutItem* theWrappedObject);
florianlink
upgraded wrappers to current generator version...
r28 int heightForWidth(QLayoutItem* theWrappedObject, int arg__1) const;
bool hasHeightForWidth(QLayoutItem* theWrappedObject) const;
void setAlignment(QLayoutItem* theWrappedObject, Qt::Alignment a);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 QWidget* widget(QLayoutItem* theWrappedObject);
florianlink
upgraded wrappers to current generator version...
r28 QSizePolicy::ControlTypes controlTypes(QLayoutItem* theWrappedObject) const;
int minimumHeightForWidth(QLayoutItem* theWrappedObject, int arg__1) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void invalidate(QLayoutItem* theWrappedObject);
QLayout* layout(QLayoutItem* theWrappedObject);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QLAYOUTITEM_H