##// END OF EJS Templates
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well...
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@52 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r16:c68e0aff542c
Show More
PythonQtWrapper_QFormLayout.h
73 lines | 4.3 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QFORMLAYOUT_H
#define PYTHONQTWRAPPER_QFORMLAYOUT_H
#include <qformlayout.h>
#include <QObject>
#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>
class PythonQtWrapper_QFormLayout : public QObject
{ Q_OBJECT
public:
public slots:
QFormLayout* new_QFormLayout(QWidget* parent = 0);
void delete_QFormLayout(QFormLayout* obj) { delete obj; }
void addItem(QFormLayout* theWrappedObject, QLayoutItem* item);
void addRow(QFormLayout* theWrappedObject, QLayout* layout);
void addRow(QFormLayout* theWrappedObject, QWidget* label, QLayout* field);
void addRow(QFormLayout* theWrappedObject, QWidget* label, QWidget* field);
void addRow(QFormLayout* theWrappedObject, QWidget* widget);
void addRow(QFormLayout* theWrappedObject, const QString& labelText, QLayout* field);
void addRow(QFormLayout* theWrappedObject, const QString& labelText, QWidget* field);
int count(QFormLayout* theWrappedObject) const;
Qt::Orientations expandingDirections(QFormLayout* theWrappedObject) const;
QFormLayout::FieldGrowthPolicy fieldGrowthPolicy(QFormLayout* theWrappedObject) const;
Qt::Alignment formAlignment(QFormLayout* theWrappedObject) const;
void getItemPosition(QFormLayout* theWrappedObject, int index, int* rowPtr, QFormLayout::ItemRole* rolePtr) const;
void getLayoutPosition(QFormLayout* theWrappedObject, QLayout* layout, int* rowPtr, QFormLayout::ItemRole* rolePtr) const;
void getWidgetPosition(QFormLayout* theWrappedObject, QWidget* widget, int* rowPtr, QFormLayout::ItemRole* rolePtr) const;
bool hasHeightForWidth(QFormLayout* theWrappedObject) const;
int heightForWidth(QFormLayout* theWrappedObject, int width) const;
int horizontalSpacing(QFormLayout* theWrappedObject) const;
void insertRow(QFormLayout* theWrappedObject, int row, QLayout* layout);
void insertRow(QFormLayout* theWrappedObject, int row, QWidget* label, QLayout* field);
void insertRow(QFormLayout* theWrappedObject, int row, QWidget* label, QWidget* field);
void insertRow(QFormLayout* theWrappedObject, int row, QWidget* widget);
void insertRow(QFormLayout* theWrappedObject, int row, const QString& labelText, QLayout* field);
void insertRow(QFormLayout* theWrappedObject, int row, const QString& labelText, QWidget* field);
void invalidate(QFormLayout* theWrappedObject);
QLayoutItem* itemAt(QFormLayout* theWrappedObject, int index) const;
QLayoutItem* itemAt(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role) const;
Qt::Alignment labelAlignment(QFormLayout* theWrappedObject) const;
QWidget* labelForField(QFormLayout* theWrappedObject, QLayout* field) const;
QWidget* labelForField(QFormLayout* theWrappedObject, QWidget* field) const;
QSize minimumSize(QFormLayout* theWrappedObject) const;
int rowCount(QFormLayout* theWrappedObject) const;
QFormLayout::RowWrapPolicy rowWrapPolicy(QFormLayout* theWrappedObject) const;
void setFieldGrowthPolicy(QFormLayout* theWrappedObject, QFormLayout::FieldGrowthPolicy policy);
void setFormAlignment(QFormLayout* theWrappedObject, Qt::Alignment alignment);
void setGeometry(QFormLayout* theWrappedObject, const QRect& rect);
void setHorizontalSpacing(QFormLayout* theWrappedObject, int spacing);
void setItem(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, QLayoutItem* item);
void setLabelAlignment(QFormLayout* theWrappedObject, Qt::Alignment alignment);
void setLayout(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, QLayout* layout);
void setRowWrapPolicy(QFormLayout* theWrappedObject, QFormLayout::RowWrapPolicy policy);
void setSpacing(QFormLayout* theWrappedObject, int arg__1);
void setVerticalSpacing(QFormLayout* theWrappedObject, int spacing);
void setWidget(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, QWidget* widget);
QSize sizeHint(QFormLayout* theWrappedObject) const;
int spacing(QFormLayout* theWrappedObject) const;
QLayoutItem* takeAt(QFormLayout* theWrappedObject, int index);
int verticalSpacing(QFormLayout* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QFORMLAYOUT_H