##// END OF EJS Templates
added builtin support for variants etc., this will replace the direct includes in PythonQt...
added builtin support for variants etc., this will replace the direct includes in PythonQt git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@129 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r93:7b53f64eae84
Show More
PythonQtWrapper_QLayoutItem.h
68 lines | 2.5 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QLAYOUTITEM_H
#define PYTHONQTWRAPPER_QLAYOUTITEM_H
#include <qlayoutitem.h>
#include <QObject>
#include <PythonQt.h>
#include <QVariant>
#include <qlayout.h>
#include <qlayoutitem.h>
#include <qrect.h>
#include <qsize.h>
#include <qwidget.h>
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;
};
class PythonQtPublicPromoter_QLayoutItem : public QLayoutItem
{ public:
inline int promoted_minimumHeightForWidth(int arg__1) const { return QLayoutItem::minimumHeightForWidth(arg__1); }
inline void promoted_invalidate() { QLayoutItem::invalidate(); }
inline bool promoted_hasHeightForWidth() const { return QLayoutItem::hasHeightForWidth(); }
inline QLayout* promoted_layout() { return QLayoutItem::layout(); }
inline QWidget* promoted_widget() { return QLayoutItem::widget(); }
inline QSpacerItem* promoted_spacerItem() { return QLayoutItem::spacerItem(); }
inline int promoted_heightForWidth(int arg__1) const { return QLayoutItem::heightForWidth(arg__1); }
};
class PythonQtWrapper_QLayoutItem : public QObject
{ Q_OBJECT
public:
public slots:
QLayoutItem* new_QLayoutItem(Qt::Alignment alignment = 0);
void delete_QLayoutItem(QLayoutItem* obj) { delete obj; }
int minimumHeightForWidth(QLayoutItem* theWrappedObject, int arg__1) const;
Qt::Alignment alignment(QLayoutItem* theWrappedObject) const;
void invalidate(QLayoutItem* theWrappedObject);
void setAlignment(QLayoutItem* theWrappedObject, Qt::Alignment a);
bool hasHeightForWidth(QLayoutItem* theWrappedObject) const;
QLayout* layout(QLayoutItem* theWrappedObject);
QWidget* widget(QLayoutItem* theWrappedObject);
QSpacerItem* spacerItem(QLayoutItem* theWrappedObject);
int heightForWidth(QLayoutItem* theWrappedObject, int arg__1) const;
QSizePolicy::ControlTypes controlTypes(QLayoutItem* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QLAYOUTITEM_H