##// 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_QGradient.h
43 lines | 1.8 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QGRADIENT_H
#define PYTHONQTWRAPPER_QGRADIENT_H
#include <qbrush.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 <qbrush.h>
#include <qcolor.h>
#include <qpair.h>
#include <qvector.h>
class PythonQtWrapper_QGradient : public QObject
{ Q_OBJECT
public:
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 Q_ENUMS(CoordinateMode Spread Type )
enum CoordinateMode{
LogicalMode = QGradient::LogicalMode, StretchToDeviceMode = QGradient::StretchToDeviceMode, ObjectBoundingMode = QGradient::ObjectBoundingMode};
enum Spread{
PadSpread = QGradient::PadSpread, ReflectSpread = QGradient::ReflectSpread, RepeatSpread = QGradient::RepeatSpread};
enum Type{
LinearGradient = QGradient::LinearGradient, RadialGradient = QGradient::RadialGradient, ConicalGradient = QGradient::ConicalGradient, NoGradient = QGradient::NoGradient};
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 public slots:
QGradient* new_QGradient();
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QGradient* new_QGradient(const QGradient& other) {
QGradient* a = new QGradient();
*((QGradient*)a) = other;
return a; }
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void delete_QGradient(QGradient* obj) { delete obj; }
florianlink
recreated wrappers to match current python qt version...
r73 QVector<QPair<qreal , QColor > > stops(QGradient* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QGradient::CoordinateMode coordinateMode(QGradient* theWrappedObject) const;
QGradient::Spread spread(QGradient* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 void setColorAt(QGradient* theWrappedObject, qreal pos, const QColor& color);
florianlink
upgraded wrappers to current generator version...
r28 void setSpread(QGradient* theWrappedObject, QGradient::Spread spread);
florianlink
recreated wrappers to match current python qt version...
r73 QGradient::Type type(QGradient* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 void setCoordinateMode(QGradient* theWrappedObject, QGradient::CoordinateMode mode);
void setStops(QGradient* theWrappedObject, const QVector<QPair<qreal , QColor > >& stops);
florianlink
recreated wrappers to match current python qt version...
r73 bool operator_equal(QGradient* theWrappedObject, const QGradient& gradient) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QGRADIENT_H