NAME

Qt::Gui::QColor

PUBLIC METHODS

QColor()
QColor(Qt::GlobalColor color)
QColor(unsigned int rgb)
QColor(const QString & name)
QColor(const char * name)
QColor(const QColor & color)
QColor(QColor::Spec spec)
QColor(int r, int g, int b, int a = 255)
QColor(int r, int g, int b, int a)
static bool allowX11ColorNames()
int alpha()
qreal alphaF()
int black()
qreal blackF()
int blue()
qreal blueF()
static QStringList colorNames()
QColor convertTo(QColor::Spec colorSpec)
int cyan()
qreal cyanF()
QColor dark(int f = 200)
QColor dark(int f)
QColor darker(int f = 200)
QColor darker(int f)
static QColor fromCmyk(int c, int m, int y, int k, int a = 255)
static QColor fromCmyk(int c, int m, int y, int k, int a)
static QColor fromCmykF(qreal c, qreal m, qreal y, qreal k, qreal a = 1.0)
static QColor fromCmykF(qreal c, qreal m, qreal y, qreal k, qreal a)
static QColor fromHsl(int h, int s, int l, int a = 255)
static QColor fromHsl(int h, int s, int l, int a)
static QColor fromHslF(qreal h, qreal s, qreal l, qreal a = 1.0)
static QColor fromHslF(qreal h, qreal s, qreal l, qreal a)
static QColor fromHsv(int h, int s, int v, int a = 255)
static QColor fromHsv(int h, int s, int v, int a)
static QColor fromHsvF(qreal h, qreal s, qreal v, qreal a = 1.0)
static QColor fromHsvF(qreal h, qreal s, qreal v, qreal a)
static QColor fromRgb(unsigned int rgb)
static QColor fromRgb(int r, int g, int b, int a = 255)
static QColor fromRgb(int r, int g, int b, int a)
static QColor fromRgbF(qreal r, qreal g, qreal b, qreal a = 1.0)
static QColor fromRgbF(qreal r, qreal g, qreal b, qreal a)
static QColor fromRgba(unsigned int rgba)
void getCmyk(int * c, int * m, int * y, int * k, int * a = 0)
void getCmyk(int * c, int * m, int * y, int * k, int * a)
void getCmykF(qreal * c, qreal * m, qreal * y, qreal * k, qreal * a = 0)
void getCmykF(qreal * c, qreal * m, qreal * y, qreal * k, qreal * a)
void getHsl(int * h, int * s, int * l, int * a = 0)
void getHsl(int * h, int * s, int * l, int * a)
void getHslF(qreal * h, qreal * s, qreal * l, qreal * a = 0)
void getHslF(qreal * h, qreal * s, qreal * l, qreal * a)
void getHsv(int * h, int * s, int * v, int * a = 0)
void getHsv(int * h, int * s, int * v, int * a)
void getHsvF(qreal * h, qreal * s, qreal * v, qreal * a = 0)
void getHsvF(qreal * h, qreal * s, qreal * v, qreal * a)
void getRgb(int * r, int * g, int * b, int * a = 0)
void getRgb(int * r, int * g, int * b, int * a)
void getRgbF(qreal * r, qreal * g, qreal * b, qreal * a = 0)
void getRgbF(qreal * r, qreal * g, qreal * b, qreal * a)
int green()
qreal greenF()
int hslHue()
qreal hslHueF()
int hslSaturation()
qreal hslSaturationF()
int hsvHue()
qreal hsvHueF()
int hsvSaturation()
qreal hsvSaturationF()
int hue()
qreal hueF()
bool isValid()
QColor light(int f = 150)
QColor light(int f)
QColor lighter(int f = 150)
QColor lighter(int f)
int lightness()
qreal lightnessF()
int magenta()
qreal magentaF()
QString name()
QVariant operator QVariant()
bool operator!=(const QColor & c)
QColor & operator=(const QColor & arg0)
QColor & operator=(Qt::GlobalColor color)
bool operator==(const QColor & c)
int red()
qreal redF()
unsigned int rgb()
unsigned int rgba()
int saturation()
qreal saturationF()
static void setAllowX11ColorNames(bool enabled)
void setAlpha(int alpha)
void setAlphaF(qreal alpha)
void setBlue(int blue)
void setBlueF(qreal blue)
void setCmyk(int c, int m, int y, int k, int a = 255)
void setCmyk(int c, int m, int y, int k, int a)
void setCmykF(qreal c, qreal m, qreal y, qreal k, qreal a = 1.0)
void setCmykF(qreal c, qreal m, qreal y, qreal k, qreal a)
void setGreen(int green)
void setGreenF(qreal green)
void setHsl(int h, int s, int l, int a = 255)
void setHsl(int h, int s, int l, int a)
void setHslF(qreal h, qreal s, qreal l, qreal a = 1.0)
void setHslF(qreal h, qreal s, qreal l, qreal a)
void setHsv(int h, int s, int v, int a = 255)
void setHsv(int h, int s, int v, int a)
void setHsvF(qreal h, qreal s, qreal v, qreal a = 1.0)
void setHsvF(qreal h, qreal s, qreal v, qreal a)
void setNamedColor(const QString & name)
void setRed(int red)
void setRedF(qreal red)
void setRgb(unsigned int rgb)
void setRgb(int r, int g, int b, int a = 255)
void setRgb(int r, int g, int b, int a)
void setRgbF(qreal r, qreal g, qreal b, qreal a = 1.0)
void setRgbF(qreal r, qreal g, qreal b, qreal a)
void setRgba(unsigned int rgba)
QColor::Spec spec()
QColor toCmyk()
QColor toHsl()
QColor toHsv()
QColor toRgb()
int value()
qreal valueF()
int yellow()
qreal yellowF()

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2011 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html