|
|
#include "PythonQtWrapper_QColor.h"
|
|
|
|
|
|
#include <PythonQtSignalReceiver.h>
|
|
|
#include <PythonQtMethodInfo.h>
|
|
|
#include <PythonQtConversion.h>
|
|
|
#include <QVariant>
|
|
|
#include <qcolor.h>
|
|
|
#include <qdatastream.h>
|
|
|
#include <qstringlist.h>
|
|
|
|
|
|
QColor* PythonQtWrapper_QColor::new_QColor()
|
|
|
{
|
|
|
return new QColor(); }
|
|
|
|
|
|
QColor* PythonQtWrapper_QColor::new_QColor(Qt::GlobalColor color)
|
|
|
{
|
|
|
return new QColor(color); }
|
|
|
|
|
|
QColor* PythonQtWrapper_QColor::new_QColor(const QColor& color)
|
|
|
{
|
|
|
return new QColor(color); }
|
|
|
|
|
|
QColor* PythonQtWrapper_QColor::new_QColor(const QString& name)
|
|
|
{
|
|
|
return new QColor(name); }
|
|
|
|
|
|
QColor* PythonQtWrapper_QColor::new_QColor(int r, int g, int b, int a)
|
|
|
{
|
|
|
return new QColor(r, g, b, a); }
|
|
|
|
|
|
QColor* PythonQtWrapper_QColor::new_QColor(unsigned int rgb)
|
|
|
{
|
|
|
return new QColor(rgb); }
|
|
|
|
|
|
int PythonQtWrapper_QColor::alpha(QColor* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->alpha();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QColor::readFrom(QColor* theWrappedObject, QDataStream& arg__1)
|
|
|
{
|
|
|
arg__1 >> (*theWrappedObject);
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QColor::alphaF(QColor* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->alphaF();
|
|
|
}
|
|
|
|
|
|
QColor PythonQtWrapper_QColor::lighter(QColor* theWrappedObject, int f) const
|
|
|
{
|
|
|
return theWrappedObject->lighter(f);
|
|
|
}
|
|
|
|
|
|
QColor PythonQtWrapper_QColor::static_QColor_fromRgbF(qreal r, qreal g, qreal b, qreal a)
|
|
|
{
|
|
|
return QColor::fromRgbF(r, g, b, a);
|
|
|
}
|
|
|
|
|
|
unsigned int PythonQtWrapper_QColor::rgba(QColor* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->rgba();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QColor::setAlphaF(QColor* theWrappedObject, qreal alpha)
|
|
|
{
|
|
|
theWrappedObject->setAlphaF(alpha);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QColor::setBlue(QColor* theWrappedObject, int blue)
|
|
|
{
|
|
|
theWrappedObject->setBlue(blue);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QColor::setNamedColor(QColor* theWrappedObject, const QString& name)
|
|
|
{
|
|
|
theWrappedObject->setNamedColor(name);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QColor::setHsvF(QColor* theWrappedObject, qreal h, qreal s, qreal v, qreal a)
|
|
|
{
|
|
|
theWrappedObject->setHsvF(h, s, v, a);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QColor::writeTo(QColor* theWrappedObject, QDataStream& arg__1)
|
|
|
{
|
|
|
arg__1 << (*theWrappedObject);
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QColor::saturationF(QColor* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->saturationF();
|
|
|
}
|
|
|
|
|
|
QColor PythonQtWrapper_QColor::static_QColor_fromCmyk(int c, int m, int y, int k, int a)
|
|
|
{
|
|
|
return QColor::fromCmyk(c, m, y, k, a);
|
|
|
}
|
|
|
|
|
|
unsigned int PythonQtWrapper_QColor::rgb(QColor* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->rgb();
|
|
|
}
|
|
|
|
|
|
int PythonQtWrapper_QColor::black(QColor* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->black();
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QColor::isValid(QColor* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->isValid();
|
|
|
}
|
|
|
|
|
|
int PythonQtWrapper_QColor::red(QColor* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->red();
|
|
|
}
|
|
|
|
|
|
QColor PythonQtWrapper_QColor::toHsv(QColor* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->toHsv();
|
|
|
}
|
|
|
|
|
|
int PythonQtWrapper_QColor::hue(QColor* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->hue();
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QColor::valueF(QColor* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->valueF();
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QColor::blackF(QColor* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->blackF();
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QColor::operator_equal(QColor* theWrappedObject, const QColor& c) const
|
|
|
{
|
|
|
return (*theWrappedObject)== c;
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QColor::setRgb(QColor* theWrappedObject, int r, int g, int b, int a)
|
|
|
{
|
|
|
theWrappedObject->setRgb(r, g, b, a);
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QColor::redF(QColor* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->redF();
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QColor::blueF(QColor* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->blueF();
|
|
|
}
|
|
|
|
|
|
QColor PythonQtWrapper_QColor::toCmyk(QColor* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->toCmyk();
|
|
|
}
|
|
|
|
|
|
QColor PythonQtWrapper_QColor::toRgb(QColor* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->toRgb();
|
|
|
}
|
|
|
|
|
|
int PythonQtWrapper_QColor::cyan(QColor* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->cyan();
|
|
|
}
|
|
|
|
|
|
QStringList PythonQtWrapper_QColor::static_QColor_colorNames()
|
|
|
{
|
|
|
return QColor::colorNames();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QColor::setBlueF(QColor* theWrappedObject, qreal blue)
|
|
|
{
|
|
|
theWrappedObject->setBlueF(blue);
|
|
|
}
|
|
|
|
|
|
QColor PythonQtWrapper_QColor::darker(QColor* theWrappedObject, int f) const
|
|
|
{
|
|
|
return theWrappedObject->darker(f);
|
|
|
}
|
|
|
|
|
|
int PythonQtWrapper_QColor::yellow(QColor* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->yellow();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QColor::setGreen(QColor* theWrappedObject, int green)
|
|
|
{
|
|
|
theWrappedObject->setGreen(green);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QColor::setRgb(QColor* theWrappedObject, unsigned int rgb)
|
|
|
{
|
|
|
theWrappedObject->setRgb(rgb);
|
|
|
}
|
|
|
|
|
|
QColor PythonQtWrapper_QColor::static_QColor_fromRgb(int r, int g, int b, int a)
|
|
|
{
|
|
|
return QColor::fromRgb(r, g, b, a);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QColor::setAlpha(QColor* theWrappedObject, int alpha)
|
|
|
{
|
|
|
theWrappedObject->setAlpha(alpha);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QColor::setHsv(QColor* theWrappedObject, int h, int s, int v, int a)
|
|
|
{
|
|
|
theWrappedObject->setHsv(h, s, v, a);
|
|
|
}
|
|
|
|
|
|
QColor::Spec PythonQtWrapper_QColor::spec(QColor* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->spec();
|
|
|
}
|
|
|
|
|
|
QColor PythonQtWrapper_QColor::convertTo(QColor* theWrappedObject, QColor::Spec colorSpec) const
|
|
|
{
|
|
|
return theWrappedObject->convertTo(colorSpec);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QColor::setCmyk(QColor* theWrappedObject, int c, int m, int y, int k, int a)
|
|
|
{
|
|
|
theWrappedObject->setCmyk(c, m, y, k, a);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QColor::setGreenF(QColor* theWrappedObject, qreal green)
|
|
|
{
|
|
|
theWrappedObject->setGreenF(green);
|
|
|
}
|
|
|
|
|
|
int PythonQtWrapper_QColor::saturation(QColor* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->saturation();
|
|
|
}
|
|
|
|
|
|
QColor PythonQtWrapper_QColor::static_QColor_fromHsv(int h, int s, int v, int a)
|
|
|
{
|
|
|
return QColor::fromHsv(h, s, v, a);
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QColor::magentaF(QColor* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->magentaF();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QColor::setRgba(QColor* theWrappedObject, unsigned int rgba)
|
|
|
{
|
|
|
theWrappedObject->setRgba(rgba);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QColor::setRgbF(QColor* theWrappedObject, qreal r, qreal g, qreal b, qreal a)
|
|
|
{
|
|
|
theWrappedObject->setRgbF(r, g, b, a);
|
|
|
}
|
|
|
|
|
|
QColor PythonQtWrapper_QColor::static_QColor_fromHsvF(qreal h, qreal s, qreal v, qreal a)
|
|
|
{
|
|
|
return QColor::fromHsvF(h, s, v, a);
|
|
|
}
|
|
|
|
|
|
int PythonQtWrapper_QColor::magenta(QColor* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->magenta();
|
|
|
}
|
|
|
|
|
|
int PythonQtWrapper_QColor::green(QColor* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->green();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QColor::setCmykF(QColor* theWrappedObject, qreal c, qreal m, qreal y, qreal k, qreal a)
|
|
|
{
|
|
|
theWrappedObject->setCmykF(c, m, y, k, a);
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QColor::yellowF(QColor* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->yellowF();
|
|
|
}
|
|
|
|
|
|
QColor PythonQtWrapper_QColor::static_QColor_fromRgb(unsigned int rgb)
|
|
|
{
|
|
|
return QColor::fromRgb(rgb);
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QColor::greenF(QColor* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->greenF();
|
|
|
}
|
|
|
|
|
|
QColor PythonQtWrapper_QColor::static_QColor_fromCmykF(qreal c, qreal m, qreal y, qreal k, qreal a)
|
|
|
{
|
|
|
return QColor::fromCmykF(c, m, y, k, a);
|
|
|
}
|
|
|
|
|
|
int PythonQtWrapper_QColor::blue(QColor* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->blue();
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QColor::cyanF(QColor* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->cyanF();
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QColor::hueF(QColor* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->hueF();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QColor::setRedF(QColor* theWrappedObject, qreal red)
|
|
|
{
|
|
|
theWrappedObject->setRedF(red);
|
|
|
}
|
|
|
|
|
|
QColor PythonQtWrapper_QColor::static_QColor_fromRgba(unsigned int rgba)
|
|
|
{
|
|
|
return QColor::fromRgba(rgba);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QColor::setRed(QColor* theWrappedObject, int red)
|
|
|
{
|
|
|
theWrappedObject->setRed(red);
|
|
|
}
|
|
|
|
|
|
QString PythonQtWrapper_QColor::name(QColor* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->name();
|
|
|
}
|
|
|
|
|
|
int PythonQtWrapper_QColor::value(QColor* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->value();
|
|
|
}
|
|
|
|
|
|
|