##// END OF EJS Templates
added alphabetic sorting...
added alphabetic sorting git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@132 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r96:3170eb771a99
Show More
PythonQtWrapper_QGraphicsLinearLayout.h
70 lines | 3.7 KiB | text/x-c | CLexer
/ generated_cpp / com_trolltech_qt_gui / PythonQtWrapper_QGraphicsLinearLayout.h
#ifndef PYTHONQTWRAPPER_QGRAPHICSLINEARLAYOUT_H
#define PYTHONQTWRAPPER_QGRAPHICSLINEARLAYOUT_H
#include <qgraphicslinearlayout.h>
#include <QObject>
#include <PythonQt.h>
#include <QVariant>
#include <qcoreevent.h>
#include <qgraphicslayoutitem.h>
#include <qgraphicslinearlayout.h>
#include <qrect.h>
#include <qsize.h>
class PythonQtShell_QGraphicsLinearLayout : public QGraphicsLinearLayout
{
public:
PythonQtShell_QGraphicsLinearLayout(QGraphicsLayoutItem* parent = 0):QGraphicsLinearLayout(parent),_wrapper(NULL) {};
PythonQtShell_QGraphicsLinearLayout(Qt::Orientation orientation, QGraphicsLayoutItem* parent = 0):QGraphicsLinearLayout(orientation, parent),_wrapper(NULL) {};
virtual int count() const;
virtual void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const;
virtual void invalidate();
virtual QGraphicsLayoutItem* itemAt(int index) const;
virtual void removeAt(int index);
virtual void widgetEvent(QEvent* e);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QGraphicsLinearLayout : public QGraphicsLinearLayout
{ public:
inline int promoted_count() const { return QGraphicsLinearLayout::count(); }
inline void promoted_invalidate() { QGraphicsLinearLayout::invalidate(); }
inline QGraphicsLayoutItem* promoted_itemAt(int index) const { return QGraphicsLinearLayout::itemAt(index); }
inline void promoted_removeAt(int index) { QGraphicsLinearLayout::removeAt(index); }
};
class PythonQtWrapper_QGraphicsLinearLayout : public QObject
{ Q_OBJECT
public:
public slots:
QGraphicsLinearLayout* new_QGraphicsLinearLayout(QGraphicsLayoutItem* parent = 0);
QGraphicsLinearLayout* new_QGraphicsLinearLayout(Qt::Orientation orientation, QGraphicsLayoutItem* parent = 0);
void delete_QGraphicsLinearLayout(QGraphicsLinearLayout* obj) { delete obj; }
void setItemSpacing(QGraphicsLinearLayout* theWrappedObject, int index, qreal spacing);
int count(QGraphicsLinearLayout* theWrappedObject) const;
qreal itemSpacing(QGraphicsLinearLayout* theWrappedObject, int index) const;
void setSpacing(QGraphicsLinearLayout* theWrappedObject, qreal spacing);
void setOrientation(QGraphicsLinearLayout* theWrappedObject, Qt::Orientation orientation);
void invalidate(QGraphicsLinearLayout* theWrappedObject);
QSizeF sizeHint(QGraphicsLinearLayout* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const;
int stretchFactor(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item) const;
QGraphicsLayoutItem* itemAt(QGraphicsLinearLayout* theWrappedObject, int index) const;
void setStretchFactor(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item, int stretch);
void removeItem(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item);
void setGeometry(QGraphicsLinearLayout* theWrappedObject, const QRectF& rect);
void addItem(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item);
qreal spacing(QGraphicsLinearLayout* theWrappedObject) const;
void insertStretch(QGraphicsLinearLayout* theWrappedObject, int index, int stretch = 1);
void insertItem(QGraphicsLinearLayout* theWrappedObject, int index, QGraphicsLayoutItem* item);
void addStretch(QGraphicsLinearLayout* theWrappedObject, int stretch = 1);
void setAlignment(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item, Qt::Alignment alignment);
Qt::Alignment alignment(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item) const;
Qt::Orientation orientation(QGraphicsLinearLayout* theWrappedObject) const;
void removeAt(QGraphicsLinearLayout* theWrappedObject, int index);
};
#endif // PYTHONQTWRAPPER_QGRAPHICSLINEARLAYOUT_H