##// END OF EJS Templates
fixed builtin package name...
fixed builtin package name git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@130 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r94:f55700c8b936
Show More
PythonQtWrapper_QColor.h
93 lines | 4.4 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QCOLOR_H
#define PYTHONQTWRAPPER_QCOLOR_H
#include <qcolor.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 <qcolor.h>
#include <qdatastream.h>
#include <qstringlist.h>
class PythonQtWrapper_QColor : public QObject
{ Q_OBJECT
public:
Q_ENUMS(Spec )
enum Spec{
Invalid = QColor::Invalid, Rgb = QColor::Rgb, Hsv = QColor::Hsv, Cmyk = QColor::Cmyk};
public slots:
QColor* new_QColor();
QColor* new_QColor(Qt::GlobalColor color);
QColor* new_QColor(const QColor& color);
QColor* new_QColor(const QString& name);
QColor* new_QColor(int r, int g, int b, int a = 255);
QColor* new_QColor(unsigned int rgb);
void delete_QColor(QColor* obj) { delete obj; }
florianlink
upgraded wrappers to current generator version...
r28 void setNamedColor(QColor* theWrappedObject, const QString& name);
florianlink
recreated wrappers to match current python qt version...
r73 void setRedF(QColor* theWrappedObject, qreal red);
int value(QColor* theWrappedObject) const;
void setBlue(QColor* theWrappedObject, int blue);
florianlink
upgraded wrappers to current generator version...
r28 void setHsvF(QColor* theWrappedObject, qreal h, qreal s, qreal v, qreal a = 1.0);
florianlink
recreated wrappers to match current python qt version...
r73 unsigned int rgba(QColor* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 void writeTo(QColor* theWrappedObject, QDataStream& arg__1);
unsigned int rgb(QColor* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 int black(QColor* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 void setRgbF(QColor* theWrappedObject, qreal r, qreal g, qreal b, qreal a = 1.0);
void setRed(QColor* theWrappedObject, int red);
florianlink
upgraded wrappers to current generator version...
r28 QColor toHsv(QColor* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 qreal saturationF(QColor* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 qreal valueF(QColor* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 QColor static_QColor_fromRgbF(qreal r, qreal g, qreal b, qreal a = 1.0);
qreal magentaF(QColor* theWrappedObject) const;
void setRgba(QColor* theWrappedObject, unsigned int rgba);
int hue(QColor* theWrappedObject) const;
void setAlphaF(QColor* theWrappedObject, qreal alpha);
int red(QColor* theWrappedObject) const;
QColor::Spec spec(QColor* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 qreal blueF(QColor* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 void setCmyk(QColor* theWrappedObject, int c, int m, int y, int k, int a = 255);
florianlink
upgraded wrappers to current generator version...
r28 QColor toCmyk(QColor* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 qreal blackF(QColor* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 QColor toRgb(QColor* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 void setCmykF(QColor* theWrappedObject, qreal c, qreal m, qreal y, qreal k, qreal a = 1.0);
qreal alphaF(QColor* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 QColor darker(QColor* theWrappedObject, int f = 200) const;
florianlink
recreated wrappers to match current python qt version...
r73 QColor static_QColor_fromHsvF(qreal h, qreal s, qreal v, qreal a = 1.0);
qreal redF(QColor* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 int yellow(QColor* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 int alpha(QColor* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 QColor static_QColor_fromRgb(int r, int g, int b, int a = 255);
florianlink
recreated wrappers to match current python qt version...
r73 qreal greenF(QColor* theWrappedObject) const;
void setBlueF(QColor* theWrappedObject, qreal blue);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QColor convertTo(QColor* theWrappedObject, QColor::Spec colorSpec) const;
florianlink
recreated wrappers to match current python qt version...
r73 void setHsv(QColor* theWrappedObject, int h, int s, int v, int a = 255);
int cyan(QColor* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QColor static_QColor_fromHsv(int h, int s, int v, int a = 255);
florianlink
recreated wrappers to match current python qt version...
r73 QColor static_QColor_fromRgba(unsigned int rgba);
void setRgb(QColor* theWrappedObject, int r, int g, int b, int a = 255);
bool operator_equal(QColor* theWrappedObject, const QColor& c) const;
void readFrom(QColor* theWrappedObject, QDataStream& arg__1);
void setAlpha(QColor* theWrappedObject, int alpha);
florianlink
upgraded wrappers to current generator version...
r28 int green(QColor* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QColor static_QColor_fromRgb(unsigned int rgb);
florianlink
recreated wrappers to match current python qt version...
r73 QColor static_QColor_fromCmyk(int c, int m, int y, int k, int a = 255);
qreal yellowF(QColor* theWrappedObject) const;
qreal cyanF(QColor* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QColor static_QColor_fromCmykF(qreal c, qreal m, qreal y, qreal k, qreal a = 1.0);
florianlink
recreated wrappers to match current python qt version...
r73 int magenta(QColor* theWrappedObject) const;
int saturation(QColor* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 int blue(QColor* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 QStringList static_QColor_colorNames();
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 qreal hueF(QColor* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 bool isValid(QColor* theWrappedObject) const;
void setGreen(QColor* theWrappedObject, int green);
void setRgb(QColor* theWrappedObject, unsigned int rgb);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QString name(QColor* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 void setGreenF(QColor* theWrappedObject, qreal green);
QColor lighter(QColor* theWrappedObject, int f = 150) const;
QString toString(QColor*);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QCOLOR_H