##// END OF EJS Templates
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes...
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@70 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r34:5daedfb035c8
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 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(); }
};
class PythonQtWrapper_QLayoutItem : public QObject
{ Q_OBJECT
public:
public slots:
QLayoutItem* new_QLayoutItem(Qt::Alignment alignment = 0);
void delete_QLayoutItem(QLayoutItem* obj) { delete obj; }
Qt::Alignment alignment(QLayoutItem* theWrappedObject) const;
QSpacerItem* spacerItem(QLayoutItem* theWrappedObject);
int heightForWidth(QLayoutItem* theWrappedObject, int arg__1) const;
bool hasHeightForWidth(QLayoutItem* theWrappedObject) const;
void setAlignment(QLayoutItem* theWrappedObject, Qt::Alignment a);
QWidget* widget(QLayoutItem* theWrappedObject);
QSizePolicy::ControlTypes controlTypes(QLayoutItem* theWrappedObject) const;
int minimumHeightForWidth(QLayoutItem* theWrappedObject, int arg__1) const;
void invalidate(QLayoutItem* theWrappedObject);
QLayout* layout(QLayoutItem* theWrappedObject);
};
#endif // PYTHONQTWRAPPER_QLAYOUTITEM_H