##// 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_QFormLayout.h
114 lines | 6.0 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QFORMLAYOUT_H
#define PYTHONQTWRAPPER_QFORMLAYOUT_H
#include <qformlayout.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 <qbytearray.h>
#include <qcoreevent.h>
#include <qlayout.h>
#include <qlayoutitem.h>
#include <qlist.h>
#include <qobject.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_QFormLayout : public QFormLayout
{
public:
PythonQtShell_QFormLayout(QWidget* parent = 0):QFormLayout(parent),_wrapper(NULL) {};
virtual void addItem(QLayoutItem* item);
virtual void childEvent(QChildEvent* e);
virtual int count() const;
virtual void customEvent(QEvent* arg__1);
virtual bool event(QEvent* arg__1);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual Qt::Orientations expandingDirections() const;
virtual QRect geometry() const;
virtual int indexOf(QWidget* arg__1) const;
virtual void invalidate();
virtual bool isEmpty() const;
virtual QLayoutItem* itemAt(int index) const;
virtual QLayout* layout();
virtual QSize maximumSize() const;
virtual QSize minimumSize() const;
virtual void setGeometry(const QRect& rect);
virtual QLayoutItem* takeAt(int index);
virtual void timerEvent(QTimerEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
florianlink
upgraded wrappers to current generator version...
r28 class PythonQtPublicPromoter_QFormLayout : public QFormLayout
{ public:
inline QSize promoted_minimumSize() const { return QFormLayout::minimumSize(); }
inline QLayoutItem* promoted_takeAt(int index) { return QFormLayout::takeAt(index); }
inline QLayoutItem* promoted_itemAt(int index) const { return QFormLayout::itemAt(index); }
inline void promoted_invalidate() { QFormLayout::invalidate(); }
inline void promoted_setGeometry(const QRect& rect) { QFormLayout::setGeometry(rect); }
inline Qt::Orientations promoted_expandingDirections() const { return QFormLayout::expandingDirections(); }
inline int promoted_count() const { return QFormLayout::count(); }
inline void promoted_addItem(QLayoutItem* item) { QFormLayout::addItem(item); }
};
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 class PythonQtWrapper_QFormLayout : public QObject
{ Q_OBJECT
public:
public slots:
QFormLayout* new_QFormLayout(QWidget* parent = 0);
void delete_QFormLayout(QFormLayout* 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 formAlignment(QFormLayout* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 QFormLayout::FieldGrowthPolicy fieldGrowthPolicy(QFormLayout* theWrappedObject) const;
void setRowWrapPolicy(QFormLayout* theWrappedObject, QFormLayout::RowWrapPolicy policy);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QWidget* labelForField(QFormLayout* theWrappedObject, QLayout* field) const;
QSize minimumSize(QFormLayout* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 void addRow(QFormLayout* theWrappedObject, const QString& labelText, QWidget* field);
void getItemPosition(QFormLayout* theWrappedObject, int index, int* rowPtr, QFormLayout::ItemRole* rolePtr) const;
void setSpacing(QFormLayout* theWrappedObject, int arg__1);
QLayoutItem* takeAt(QFormLayout* theWrappedObject, int index);
void addRow(QFormLayout* theWrappedObject, QLayout* layout);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 int horizontalSpacing(QFormLayout* theWrappedObject) const;
void insertRow(QFormLayout* theWrappedObject, int row, QWidget* label, QLayout* field);
void addRow(QFormLayout* theWrappedObject, QWidget* label, QWidget* field);
florianlink
upgraded wrappers to current generator version...
r28 void addRow(QFormLayout* theWrappedObject, QWidget* widget);
bool hasHeightForWidth(QFormLayout* theWrappedObject) const;
QLayoutItem* itemAt(QFormLayout* theWrappedObject, int index) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 QFormLayout::RowWrapPolicy rowWrapPolicy(QFormLayout* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 void setHorizontalSpacing(QFormLayout* theWrappedObject, int spacing);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setWidget(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, QWidget* widget);
florianlink
upgraded wrappers to current generator version...
r28 void insertRow(QFormLayout* theWrappedObject, int row, const QString& labelText, QWidget* field);
void setLabelAlignment(QFormLayout* theWrappedObject, Qt::Alignment alignment);
Qt::Alignment labelAlignment(QFormLayout* theWrappedObject) const;
void getLayoutPosition(QFormLayout* theWrappedObject, QLayout* layout, int* rowPtr, QFormLayout::ItemRole* rolePtr) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 int rowCount(QFormLayout* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 void setItem(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, QLayoutItem* item);
int verticalSpacing(QFormLayout* theWrappedObject) const;
void invalidate(QFormLayout* theWrappedObject);
void getWidgetPosition(QFormLayout* theWrappedObject, QWidget* widget, int* rowPtr, QFormLayout::ItemRole* rolePtr) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void addRow(QFormLayout* theWrappedObject, const QString& labelText, QLayout* field);
florianlink
upgraded wrappers to current generator version...
r28 int spacing(QFormLayout* theWrappedObject) const;
void setFormAlignment(QFormLayout* theWrappedObject, Qt::Alignment alignment);
void setGeometry(QFormLayout* theWrappedObject, const QRect& rect);
void insertRow(QFormLayout* theWrappedObject, int row, QWidget* label, QWidget* field);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setLayout(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, QLayout* layout);
Qt::Orientations expandingDirections(QFormLayout* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 int heightForWidth(QFormLayout* theWrappedObject, int width) const;
void insertRow(QFormLayout* theWrappedObject, int row, const QString& labelText, QLayout* field);
int count(QFormLayout* theWrappedObject) const;
QLayoutItem* itemAt(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role) const;
void setVerticalSpacing(QFormLayout* theWrappedObject, int spacing);
QSize sizeHint(QFormLayout* theWrappedObject) const;
void insertRow(QFormLayout* theWrappedObject, int row, QWidget* widget);
void addItem(QFormLayout* theWrappedObject, QLayoutItem* item);
QWidget* labelForField(QFormLayout* theWrappedObject, QWidget* field) const;
void addRow(QFormLayout* theWrappedObject, QWidget* label, QLayout* field);
void insertRow(QFormLayout* theWrappedObject, int row, QLayout* layout);
void setFieldGrowthPolicy(QFormLayout* theWrappedObject, QFormLayout::FieldGrowthPolicy policy);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QFORMLAYOUT_H