##// 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_QGridLayout.h
111 lines | 5.6 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QGRIDLAYOUT_H
#define PYTHONQTWRAPPER_QGRIDLAYOUT_H
#include <qgridlayout.h>
#include <QObject>
#include <PythonQt.h>
#include <QVariant>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qgridlayout.h>
#include <qlayout.h>
#include <qlayoutitem.h>
#include <qlist.h>
#include <qobject.h>
#include <qrect.h>
#include <qsize.h>
#include <qwidget.h>
class PythonQtShell_QGridLayout : public QGridLayout
{
public:
PythonQtShell_QGridLayout():QGridLayout(),_wrapper(NULL) {};
PythonQtShell_QGridLayout(QWidget* parent):QGridLayout(parent),_wrapper(NULL) {};
virtual void addItem(QLayoutItem* arg__1);
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& arg__1);
virtual QLayoutItem* takeAt(int index);
virtual void timerEvent(QTimerEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QGridLayout : public QGridLayout
{ public:
inline void promoted_setGeometry(const QRect& arg__1) { QGridLayout::setGeometry(arg__1); }
inline QSize promoted_minimumSize() const { return QGridLayout::minimumSize(); }
inline QLayoutItem* promoted_itemAt(int index) const { return QGridLayout::itemAt(index); }
inline QLayoutItem* promoted_takeAt(int index) { return QGridLayout::takeAt(index); }
inline void promoted_invalidate() { QGridLayout::invalidate(); }
inline Qt::Orientations promoted_expandingDirections() const { return QGridLayout::expandingDirections(); }
inline int promoted_count() const { return QGridLayout::count(); }
inline QSize promoted_maximumSize() const { return QGridLayout::maximumSize(); }
inline void promoted_addItem(QLayoutItem* arg__1) { QGridLayout::addItem(arg__1); }
};
class PythonQtWrapper_QGridLayout : public QObject
{ Q_OBJECT
public:
public slots:
QGridLayout* new_QGridLayout();
QGridLayout* new_QGridLayout(QWidget* parent);
void delete_QGridLayout(QGridLayout* obj) { delete obj; }
void setGeometry(QGridLayout* theWrappedObject, const QRect& arg__1);
int rowCount(QGridLayout* theWrappedObject) const;
int heightForWidth(QGridLayout* theWrappedObject, int arg__1) const;
QSize minimumSize(QGridLayout* theWrappedObject) const;
int spacing(QGridLayout* theWrappedObject) const;
QLayoutItem* itemAt(QGridLayout* theWrappedObject, int index) const;
void setColumnStretch(QGridLayout* theWrappedObject, int column, int stretch);
int rowMinimumHeight(QGridLayout* theWrappedObject, int row) const;
void addWidget(QGridLayout* theWrappedObject, QWidget* arg__1, int row, int column, Qt::Alignment arg__4 = 0);
QLayoutItem* takeAt(QGridLayout* theWrappedObject, int index);
void setColumnMinimumWidth(QGridLayout* theWrappedObject, int column, int minSize);
QSize sizeHint(QGridLayout* theWrappedObject) const;
void setRowMinimumHeight(QGridLayout* theWrappedObject, int row, int minSize);
void invalidate(QGridLayout* theWrappedObject);
void setOriginCorner(QGridLayout* theWrappedObject, Qt::Corner arg__1);
int horizontalSpacing(QGridLayout* theWrappedObject) const;
int columnStretch(QGridLayout* theWrappedObject, int column) const;
Qt::Corner originCorner(QGridLayout* theWrappedObject) const;
int verticalSpacing(QGridLayout* theWrappedObject) const;
void setRowStretch(QGridLayout* theWrappedObject, int row, int stretch);
int minimumHeightForWidth(QGridLayout* theWrappedObject, int arg__1) const;
void setHorizontalSpacing(QGridLayout* theWrappedObject, int spacing);
void setVerticalSpacing(QGridLayout* theWrappedObject, int spacing);
QRect cellRect(QGridLayout* theWrappedObject, int row, int column) const;
void setSpacing(QGridLayout* theWrappedObject, int spacing);
void addLayout(QGridLayout* theWrappedObject, QLayout* arg__1, int row, int column, int rowSpan, int columnSpan, Qt::Alignment arg__6 = 0);
int rowStretch(QGridLayout* theWrappedObject, int row) const;
void addWidget(QGridLayout* theWrappedObject, QWidget* arg__1, int row, int column, int rowSpan, int columnSpan, Qt::Alignment arg__6 = 0);
bool hasHeightForWidth(QGridLayout* theWrappedObject) const;
Qt::Orientations expandingDirections(QGridLayout* theWrappedObject) const;
void setDefaultPositioning(QGridLayout* theWrappedObject, int n, Qt::Orientation orient);
int columnMinimumWidth(QGridLayout* theWrappedObject, int column) const;
void addLayout(QGridLayout* theWrappedObject, QLayout* arg__1, int row, int column, Qt::Alignment arg__4 = 0);
int columnCount(QGridLayout* theWrappedObject) const;
void addItem(QGridLayout* theWrappedObject, QLayoutItem* item, int row, int column, int rowSpan = 1, int columnSpan = 1, Qt::Alignment arg__6 = 0);
int count(QGridLayout* theWrappedObject) const;
QSize maximumSize(QGridLayout* theWrappedObject) const;
void addItem(QGridLayout* theWrappedObject, QLayoutItem* arg__1);
QLayoutItem* itemAtPosition(QGridLayout* theWrappedObject, int row, int column) const;
void getItemPosition(QGridLayout* theWrappedObject, int idx, int* row, int* column, int* rowSpan, int* columnSpan);
};
#endif // PYTHONQTWRAPPER_QGRIDLAYOUT_H