##// END OF EJS Templates
- added call method that does a direct call on the ObjectType...
- added call method that does a direct call on the ObjectType - added comments and improved docs git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@72 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r36:1d1e7c03e848
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
- 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;
florianlink
upgraded wrappers to current generator version...
r28 bool operator_equal(QGradient* theWrappedObject, const QGradient& gradient) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setColorAt(QGradient* theWrappedObject, qreal pos, const QColor& color);
QGradient::Spread spread(QGradient* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 QGradient::Type type(QGradient* theWrappedObject) const;
void setSpread(QGradient* theWrappedObject, QGradient::Spread spread);
void setCoordinateMode(QGradient* theWrappedObject, QGradient::CoordinateMode mode);
QVector<QPair<qreal , QColor > > stops(QGradient* theWrappedObject) const;
void setStops(QGradient* theWrappedObject, const QVector<QPair<qreal , QColor > >& stops);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QGRADIENT_H