Notation used in Ruby API documentation
Module: QtGui
Description: Binding of QColor
Sub-classes: Spec, QFlags_Spec
new QColor | new | Constructor QColor::QColor() | |
new QColor | new | (const Qt_GlobalColor color) | Constructor QColor::QColor(Qt::GlobalColor color) |
new QColor | new | (int r, int g, int b, int a = 255) | Constructor QColor::QColor(int r, int g, int b, int a) |
new QColor | new | (unsigned int rgb) | Constructor QColor::QColor(unsigned int rgb) |
new QColor | new | (string name) | Constructor QColor::QColor(const char *name) |
new QColor | new | (const QColor color) | Constructor QColor::QColor(const QColor &color) |
new QColor | new | (const QColor_Spec spec) | Constructor QColor::QColor(QColor::Spec spec) |
[const] | bool | != | (const QColor c) | Method bool QColor::operator!=(const QColor &c) |
[const] | bool | == | (const QColor c) | Method bool QColor::operator==(const QColor &c) |
void | _assign | (const QColor other) | Assigns another object to self | |
[const] | QColor ptr | _const_cast | Returns a non-const reference to self. | |
void | _create | Ensures the C++ object is created | ||
void | _destroy | Explicitly destroys the object | ||
[const] | bool | _destroyed? | Returns a value indicating whether the object was already destroyed | |
[const] | bool | _is_const_object? | Returns a value indicating whether the reference is a const reference | |
void | _manage | Marks the object as managed by the script side. | ||
void | _unmanage | Marks the object as no longer owned by the script side. | ||
[const] | int | alpha | Method int QColor::alpha() | |
void | alpha= | (int alpha) | Method void QColor::setAlpha(int alpha) | |
[const] | double | alphaF | Method double QColor::alphaF() | |
void | alphaF= | (double alpha) | Method void QColor::setAlphaF(double alpha) | |
QColor | assign | (const QColor arg1) | Method QColor &QColor::operator=(const QColor &) | |
QColor | assign | (const Qt_GlobalColor color) | Method QColor &QColor::operator=(Qt::GlobalColor color) | |
[const] | int | black | Method int QColor::black() | |
[const] | double | blackF | Method double QColor::blackF() | |
[const] | int | blue | Method int QColor::blue() | |
void | blue= | (int blue) | Method void QColor::setBlue(int blue) | |
[const] | double | blueF | Method double QColor::blueF() | |
void | blueF= | (double blue) | Method void QColor::setBlueF(double blue) | |
[const] | QColor | convertTo | (const QColor_Spec colorSpec) | Method QColor QColor::convertTo(QColor::Spec colorSpec) |
[const] | int | cyan | Method int QColor::cyan() | |
[const] | double | cyanF | Method double QColor::cyanF() | |
[const] | QColor | dark | (int f = 200) | Method QColor QColor::dark(int f) |
[const] | QColor | darker | (int f = 200) | Method QColor QColor::darker(int f) |
[const] | new QColor ptr | dup | Creates a copy of self | |
void | getCmyk | (int ptr c, int ptr m, int ptr y, int ptr k, int ptr a = 0) | Method void QColor::getCmyk(int *c, int *m, int *y, int *k, int *a) | |
void | getCmykF | (double ptr c, double ptr m, double ptr y, double ptr k, double ptr a = 0) | Method void QColor::getCmykF(double *c, double *m, double *y, double *k, double *a) | |
[const] | void | getHsl | (int ptr h, int ptr s, int ptr l, int ptr a = 0) | Method void QColor::getHsl(int *h, int *s, int *l, int *a) |
[const] | void | getHslF | (double ptr h, double ptr s, double ptr l, double ptr a = 0) | Method void QColor::getHslF(double *h, double *s, double *l, double *a) |
[const] | void | getHsv | (int ptr h, int ptr s, int ptr v, int ptr a = 0) | Method void QColor::getHsv(int *h, int *s, int *v, int *a) |
[const] | void | getHsvF | (double ptr h, double ptr s, double ptr v, double ptr a = 0) | Method void QColor::getHsvF(double *h, double *s, double *v, double *a) |
[const] | void | getRgb | (int ptr r, int ptr g, int ptr b, int ptr a = 0) | Method void QColor::getRgb(int *r, int *g, int *b, int *a) |
[const] | void | getRgbF | (double ptr r, double ptr g, double ptr b, double ptr a = 0) | Method void QColor::getRgbF(double *r, double *g, double *b, double *a) |
[const] | int | green | Method int QColor::green() | |
void | green= | (int green) | Method void QColor::setGreen(int green) | |
[const] | double | greenF | Method double QColor::greenF() | |
void | greenF= | (double green) | Method void QColor::setGreenF(double green) | |
[const] | int | hslHue | Method int QColor::hslHue() | |
[const] | double | hslHueF | Method double QColor::hslHueF() | |
[const] | int | hslSaturation | Method int QColor::hslSaturation() | |
[const] | double | hslSaturationF | Method double QColor::hslSaturationF() | |
[const] | int | hsvHue | Method int QColor::hsvHue() | |
[const] | double | hsvHueF | Method double QColor::hsvHueF() | |
[const] | int | hsvSaturation | Method int QColor::hsvSaturation() | |
[const] | double | hsvSaturationF | Method double QColor::hsvSaturationF() | |
[const] | int | hue | Method int QColor::hue() | |
[const] | double | hueF | Method double QColor::hueF() | |
[const] | bool | isValid? | Method bool QColor::isValid() | |
[const] | QColor | light | (int f = 150) | Method QColor QColor::light(int f) |
[const] | QColor | lighter | (int f = 150) | Method QColor QColor::lighter(int f) |
[const] | int | lightness | Method int QColor::lightness() | |
[const] | double | lightnessF | Method double QColor::lightnessF() | |
[const] | int | magenta | Method int QColor::magenta() | |
[const] | double | magentaF | Method double QColor::magentaF() | |
[const] | string | name | Method QString QColor::name() | |
[const] | int | red | Method int QColor::red() | |
void | red= | (int red) | Method void QColor::setRed(int red) | |
[const] | double | redF | Method double QColor::redF() | |
void | redF= | (double red) | Method void QColor::setRedF(double red) | |
[const] | unsigned int | rgb | Method unsigned int QColor::rgb() | |
void | rgb= | (unsigned int rgb) | Method void QColor::setRgb(unsigned int rgb) | |
[const] | unsigned int | rgba | Method unsigned int QColor::rgba() | |
void | rgba= | (unsigned int rgba) | Method void QColor::setRgba(unsigned int rgba) | |
[const] | int | saturation | Method int QColor::saturation() | |
[const] | double | saturationF | Method double QColor::saturationF() | |
void | setAlpha | (int alpha) | Method void QColor::setAlpha(int alpha) | |
void | setAlphaF | (double alpha) | Method void QColor::setAlphaF(double alpha) | |
void | setBlue | (int blue) | Method void QColor::setBlue(int blue) | |
void | setBlueF | (double blue) | Method void QColor::setBlueF(double blue) | |
void | setCmyk | (int c, int m, int y, int k, int a = 255) | Method void QColor::setCmyk(int c, int m, int y, int k, int a) | |
void | setCmykF | (double c, double m, double y, double k, double a = 1.0) | Method void QColor::setCmykF(double c, double m, double y, double k, double a) | |
void | setGreen | (int green) | Method void QColor::setGreen(int green) | |
void | setGreenF | (double green) | Method void QColor::setGreenF(double green) | |
void | setHsl | (int h, int s, int l, int a = 255) | Method void QColor::setHsl(int h, int s, int l, int a) | |
void | setHslF | (double h, double s, double l, double a = 1.0) | Method void QColor::setHslF(double h, double s, double l, double a) | |
void | setHsv | (int h, int s, int v, int a = 255) | Method void QColor::setHsv(int h, int s, int v, int a) | |
void | setHsvF | (double h, double s, double v, double a = 1.0) | Method void QColor::setHsvF(double h, double s, double v, double a) | |
void | setNamedColor | (string name) | Method void QColor::setNamedColor(const QString &name) | |
void | setRed | (int red) | Method void QColor::setRed(int red) | |
void | setRedF | (double red) | Method void QColor::setRedF(double red) | |
void | setRgb | (int r, int g, int b, int a = 255) | Method void QColor::setRgb(int r, int g, int b, int a) | |
void | setRgb | (unsigned int rgb) | Method void QColor::setRgb(unsigned int rgb) | |
void | setRgbF | (double r, double g, double b, double a = 1.0) | Method void QColor::setRgbF(double r, double g, double b, double a) | |
void | setRgba | (unsigned int rgba) | Method void QColor::setRgba(unsigned int rgba) | |
[const] | QColor_Spec | spec | Method QColor::Spec QColor::spec() | |
[const] | QColor | toCmyk | Method QColor QColor::toCmyk() | |
[const] | QColor | toHsl | Method QColor QColor::toHsl() | |
[const] | QColor | toHsv | Method QColor QColor::toHsv() | |
[const] | QColor | toRgb | Method QColor QColor::toRgb() | |
[const] | int | value | Method int QColor::value() | |
[const] | double | valueF | Method double QColor::valueF() | |
[const] | int | yellow | Method int QColor::yellow() | |
[const] | double | yellowF | Method double QColor::yellowF() |
[static,const] | QColor_Spec | Cmyk | Enum constant QColor::Cmyk | |
[static,const] | QColor_Spec | Hsl | Enum constant QColor::Hsl | |
[static,const] | QColor_Spec | Hsv | Enum constant QColor::Hsv | |
[static,const] | QColor_Spec | Invalid | Enum constant QColor::Invalid | |
[static,const] | QColor_Spec | Rgb | Enum constant QColor::Rgb | |
string[] | colorNames | Static method QStringList QColor::colorNames() | ||
QColor | fromCmyk | (int c, int m, int y, int k, int a = 255) | Static method QColor QColor::fromCmyk(int c, int m, int y, int k, int a) | |
QColor | fromCmykF | (double c, double m, double y, double k, double a = 1.0) | Static method QColor QColor::fromCmykF(double c, double m, double y, double k, double a) | |
QColor | fromHsl | (int h, int s, int l, int a = 255) | Static method QColor QColor::fromHsl(int h, int s, int l, int a) | |
QColor | fromHslF | (double h, double s, double l, double a = 1.0) | Static method QColor QColor::fromHslF(double h, double s, double l, double a) | |
QColor | fromHsv | (int h, int s, int v, int a = 255) | Static method QColor QColor::fromHsv(int h, int s, int v, int a) | |
QColor | fromHsvF | (double h, double s, double v, double a = 1.0) | Static method QColor QColor::fromHsvF(double h, double s, double v, double a) | |
QColor | fromRgb | (unsigned int rgb) | Static method QColor QColor::fromRgb(unsigned int rgb) | |
QColor | fromRgb | (int r, int g, int b, int a = 255) | Static method QColor QColor::fromRgb(int r, int g, int b, int a) | |
QColor | fromRgbF | (double r, double g, double b, double a = 1.0) | Static method QColor QColor::fromRgbF(double r, double g, double b, double a) | |
QColor | fromRgba | (unsigned int rgba) | Static method QColor QColor::fromRgba(unsigned int rgba) |
void | create | Use of this method is deprecated. Use _create instead | ||
void | destroy | Use of this method is deprecated. Use _destroy instead | ||
[const] | bool | destroyed? | Use of this method is deprecated. Use _destroyed? instead | |
[const] | bool | is_const_object? | Use of this method is deprecated. Use _is_const_object? instead |
!= | Signature: [const] bool != (const QColor c) Description: Method bool QColor::operator!=(const QColor &c) |
== | Signature: [const] bool == (const QColor c) Description: Method bool QColor::operator==(const QColor &c) |
Cmyk | Signature: [static,const] QColor_Spec Cmyk Description: Enum constant QColor::Cmyk Python specific notes: |
Hsl | Signature: [static,const] QColor_Spec Hsl Description: Enum constant QColor::Hsl Python specific notes: |
Hsv | Signature: [static,const] QColor_Spec Hsv Description: Enum constant QColor::Hsv Python specific notes: |
Invalid | Signature: [static,const] QColor_Spec Invalid Description: Enum constant QColor::Invalid Python specific notes: |
Rgb | Signature: [static,const] QColor_Spec Rgb Description: Enum constant QColor::Rgb Python specific notes: |
_assign | Signature: void _assign (const QColor other) Description: Assigns another object to self |
_const_cast | Signature: [const] QColor ptr _const_cast Description: Returns a non-const reference to self. Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects. This method has been introduced in version 0.29.6. |
_create | Signature: void _create Description: Ensures the C++ object is created Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. |
_destroy | Signature: void _destroy Description: Explicitly destroys the object Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing. |
_destroyed? | Signature: [const] bool _destroyed? Description: Returns a value indicating whether the object was already destroyed This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. |
_is_const_object? | Signature: [const] bool _is_const_object? Description: Returns a value indicating whether the reference is a const reference This method returns true, if self is a const reference. In that case, only const methods may be called on self. |
_manage | Signature: void _manage Description: Marks the object as managed by the script side. After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required. Usually it's not required to call this method. It has been introduced in version 0.24. |
_unmanage | Signature: void _unmanage Description: Marks the object as no longer owned by the script side. Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur. Usually it's not required to call this method. It has been introduced in version 0.24. |
alpha | Signature: [const] int alpha Description: Method int QColor::alpha() Python specific notes: |
alpha= | Signature: void alpha= (int alpha) Description: Method void QColor::setAlpha(int alpha) Python specific notes: |
alphaF | Signature: [const] double alphaF Description: Method double QColor::alphaF() Python specific notes: |
alphaF= | Signature: void alphaF= (double alpha) Description: Method void QColor::setAlphaF(double alpha) Python specific notes: |
assign | (1) Signature: QColor assign (const QColor arg1) Description: Method QColor &QColor::operator=(const QColor &) |
(2) Signature: QColor assign (const Qt_GlobalColor color) Description: Method QColor &QColor::operator=(Qt::GlobalColor color) | |
black | Signature: [const] int black Description: Method int QColor::black() |
blackF | Signature: [const] double blackF Description: Method double QColor::blackF() |
blue | Signature: [const] int blue Description: Method int QColor::blue() Python specific notes: |
blue= | Signature: void blue= (int blue) Description: Method void QColor::setBlue(int blue) Python specific notes: |
blueF | Signature: [const] double blueF Description: Method double QColor::blueF() Python specific notes: |
blueF= | Signature: void blueF= (double blue) Description: Method void QColor::setBlueF(double blue) Python specific notes: |
colorNames | Signature: [static] string[] colorNames Description: Static method QStringList QColor::colorNames() This method is static and can be called without an instance. |
convertTo | Signature: [const] QColor convertTo (const QColor_Spec colorSpec) Description: Method QColor QColor::convertTo(QColor::Spec colorSpec) |
create | Signature: void create Description: Ensures the C++ object is created Use of this method is deprecated. Use _create instead Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. |
cyan | Signature: [const] int cyan Description: Method int QColor::cyan() |
cyanF | Signature: [const] double cyanF Description: Method double QColor::cyanF() |
dark | Signature: [const] QColor dark (int f = 200) Description: Method QColor QColor::dark(int f) |
darker | Signature: [const] QColor darker (int f = 200) Description: Method QColor QColor::darker(int f) |
destroy | Signature: void destroy Description: Explicitly destroys the object Use of this method is deprecated. Use _destroy instead Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing. |
destroyed? | Signature: [const] bool destroyed? Description: Returns a value indicating whether the object was already destroyed Use of this method is deprecated. Use _destroyed? instead This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. |
dup | Signature: [const] new QColor ptr dup Description: Creates a copy of self Python specific notes: |
fromCmyk | Signature: [static] QColor fromCmyk (int c, int m, int y, int k, int a = 255) Description: Static method QColor QColor::fromCmyk(int c, int m, int y, int k, int a) This method is static and can be called without an instance. |
fromCmykF | Signature: [static] QColor fromCmykF (double c, double m, double y, double k, double a = 1.0) Description: Static method QColor QColor::fromCmykF(double c, double m, double y, double k, double a) This method is static and can be called without an instance. |
fromHsl | Signature: [static] QColor fromHsl (int h, int s, int l, int a = 255) Description: Static method QColor QColor::fromHsl(int h, int s, int l, int a) This method is static and can be called without an instance. |
fromHslF | Signature: [static] QColor fromHslF (double h, double s, double l, double a = 1.0) Description: Static method QColor QColor::fromHslF(double h, double s, double l, double a) This method is static and can be called without an instance. |
fromHsv | Signature: [static] QColor fromHsv (int h, int s, int v, int a = 255) Description: Static method QColor QColor::fromHsv(int h, int s, int v, int a) This method is static and can be called without an instance. |
fromHsvF | Signature: [static] QColor fromHsvF (double h, double s, double v, double a = 1.0) Description: Static method QColor QColor::fromHsvF(double h, double s, double v, double a) This method is static and can be called without an instance. |
fromRgb | (1) Signature: [static] QColor fromRgb (unsigned int rgb) Description: Static method QColor QColor::fromRgb(unsigned int rgb) This method is static and can be called without an instance. |
(2) Signature: [static] QColor fromRgb (int r, int g, int b, int a = 255) Description: Static method QColor QColor::fromRgb(int r, int g, int b, int a) This method is static and can be called without an instance. | |
fromRgbF | Signature: [static] QColor fromRgbF (double r, double g, double b, double a = 1.0) Description: Static method QColor QColor::fromRgbF(double r, double g, double b, double a) This method is static and can be called without an instance. |
fromRgba | Signature: [static] QColor fromRgba (unsigned int rgba) Description: Static method QColor QColor::fromRgba(unsigned int rgba) This method is static and can be called without an instance. |
getCmyk | Signature: void getCmyk (int ptr c, int ptr m, int ptr y, int ptr k, int ptr a = 0) Description: Method void QColor::getCmyk(int *c, int *m, int *y, int *k, int *a) |
getCmykF | Signature: void getCmykF (double ptr c, double ptr m, double ptr y, double ptr k, double ptr a = 0) Description: Method void QColor::getCmykF(double *c, double *m, double *y, double *k, double *a) |
getHsl | Signature: [const] void getHsl (int ptr h, int ptr s, int ptr l, int ptr a = 0) Description: Method void QColor::getHsl(int *h, int *s, int *l, int *a) |
getHslF | Signature: [const] void getHslF (double ptr h, double ptr s, double ptr l, double ptr a = 0) Description: Method void QColor::getHslF(double *h, double *s, double *l, double *a) |
getHsv | Signature: [const] void getHsv (int ptr h, int ptr s, int ptr v, int ptr a = 0) Description: Method void QColor::getHsv(int *h, int *s, int *v, int *a) |
getHsvF | Signature: [const] void getHsvF (double ptr h, double ptr s, double ptr v, double ptr a = 0) Description: Method void QColor::getHsvF(double *h, double *s, double *v, double *a) |
getRgb | Signature: [const] void getRgb (int ptr r, int ptr g, int ptr b, int ptr a = 0) Description: Method void QColor::getRgb(int *r, int *g, int *b, int *a) |
getRgbF | Signature: [const] void getRgbF (double ptr r, double ptr g, double ptr b, double ptr a = 0) Description: Method void QColor::getRgbF(double *r, double *g, double *b, double *a) |
green | Signature: [const] int green Description: Method int QColor::green() Python specific notes: |
green= | Signature: void green= (int green) Description: Method void QColor::setGreen(int green) Python specific notes: |
greenF | Signature: [const] double greenF Description: Method double QColor::greenF() Python specific notes: |
greenF= | Signature: void greenF= (double green) Description: Method void QColor::setGreenF(double green) Python specific notes: |
hslHue | Signature: [const] int hslHue Description: Method int QColor::hslHue() |
hslHueF | Signature: [const] double hslHueF Description: Method double QColor::hslHueF() |
hslSaturation | Signature: [const] int hslSaturation Description: Method int QColor::hslSaturation() |
hslSaturationF | Signature: [const] double hslSaturationF Description: Method double QColor::hslSaturationF() |
hsvHue | Signature: [const] int hsvHue Description: Method int QColor::hsvHue() |
hsvHueF | Signature: [const] double hsvHueF Description: Method double QColor::hsvHueF() |
hsvSaturation | Signature: [const] int hsvSaturation Description: Method int QColor::hsvSaturation() |
hsvSaturationF | Signature: [const] double hsvSaturationF Description: Method double QColor::hsvSaturationF() |
hue | Signature: [const] int hue Description: Method int QColor::hue() |
hueF | Signature: [const] double hueF Description: Method double QColor::hueF() |
isValid? | Signature: [const] bool isValid? Description: Method bool QColor::isValid() |
is_const_object? | Signature: [const] bool is_const_object? Description: Returns a value indicating whether the reference is a const reference Use of this method is deprecated. Use _is_const_object? instead This method returns true, if self is a const reference. In that case, only const methods may be called on self. |
light | Signature: [const] QColor light (int f = 150) Description: Method QColor QColor::light(int f) |
lighter | Signature: [const] QColor lighter (int f = 150) Description: Method QColor QColor::lighter(int f) |
lightness | Signature: [const] int lightness Description: Method int QColor::lightness() |
lightnessF | Signature: [const] double lightnessF Description: Method double QColor::lightnessF() |
magenta | Signature: [const] int magenta Description: Method int QColor::magenta() |
magentaF | Signature: [const] double magentaF Description: Method double QColor::magentaF() |
name | Signature: [const] string name Description: Method QString QColor::name() |
new | (1) Signature: [static] new QColor new Description: Constructor QColor::QColor() This method creates an object of class QColor. Python specific notes: |
(2) Signature: [static] new QColor new (const Qt_GlobalColor color) Description: Constructor QColor::QColor(Qt::GlobalColor color) This method creates an object of class QColor. Python specific notes: | |
(3) Signature: [static] new QColor new (int r, int g, int b, int a = 255) Description: Constructor QColor::QColor(int r, int g, int b, int a) This method creates an object of class QColor. Python specific notes: | |
(4) Signature: [static] new QColor new (unsigned int rgb) Description: Constructor QColor::QColor(unsigned int rgb) This method creates an object of class QColor. Python specific notes: | |
(5) Signature: [static] new QColor new (string name) Description: Constructor QColor::QColor(const char *name) This method creates an object of class QColor. Python specific notes: | |
(6) Signature: [static] new QColor new (const QColor color) Description: Constructor QColor::QColor(const QColor &color) This method creates an object of class QColor. Python specific notes: | |
(7) Signature: [static] new QColor new (const QColor_Spec spec) Description: Constructor QColor::QColor(QColor::Spec spec) This method creates an object of class QColor. Python specific notes: | |
red | Signature: [const] int red Description: Method int QColor::red() Python specific notes: |
red= | Signature: void red= (int red) Description: Method void QColor::setRed(int red) Python specific notes: |
redF | Signature: [const] double redF Description: Method double QColor::redF() Python specific notes: |
redF= | Signature: void redF= (double red) Description: Method void QColor::setRedF(double red) Python specific notes: |
rgb | Signature: [const] unsigned int rgb Description: Method unsigned int QColor::rgb() Python specific notes: |
rgb= | Signature: void rgb= (unsigned int rgb) Description: Method void QColor::setRgb(unsigned int rgb) Python specific notes: |
rgba | Signature: [const] unsigned int rgba Description: Method unsigned int QColor::rgba() Python specific notes: |
rgba= | Signature: void rgba= (unsigned int rgba) Description: Method void QColor::setRgba(unsigned int rgba) Python specific notes: |
saturation | Signature: [const] int saturation Description: Method int QColor::saturation() |
saturationF | Signature: [const] double saturationF Description: Method double QColor::saturationF() |
setAlpha | Signature: void setAlpha (int alpha) Description: Method void QColor::setAlpha(int alpha) Python specific notes: |
setAlphaF | Signature: void setAlphaF (double alpha) Description: Method void QColor::setAlphaF(double alpha) Python specific notes: |
setBlue | Signature: void setBlue (int blue) Description: Method void QColor::setBlue(int blue) Python specific notes: |
setBlueF | Signature: void setBlueF (double blue) Description: Method void QColor::setBlueF(double blue) Python specific notes: |
setCmyk | Signature: void setCmyk (int c, int m, int y, int k, int a = 255) Description: Method void QColor::setCmyk(int c, int m, int y, int k, int a) |
setCmykF | Signature: void setCmykF (double c, double m, double y, double k, double a = 1.0) Description: Method void QColor::setCmykF(double c, double m, double y, double k, double a) |
setGreen | Signature: void setGreen (int green) Description: Method void QColor::setGreen(int green) Python specific notes: |
setGreenF | Signature: void setGreenF (double green) Description: Method void QColor::setGreenF(double green) Python specific notes: |
setHsl | Signature: void setHsl (int h, int s, int l, int a = 255) Description: Method void QColor::setHsl(int h, int s, int l, int a) |
setHslF | Signature: void setHslF (double h, double s, double l, double a = 1.0) Description: Method void QColor::setHslF(double h, double s, double l, double a) |
setHsv | Signature: void setHsv (int h, int s, int v, int a = 255) Description: Method void QColor::setHsv(int h, int s, int v, int a) |
setHsvF | Signature: void setHsvF (double h, double s, double v, double a = 1.0) Description: Method void QColor::setHsvF(double h, double s, double v, double a) |
setNamedColor | Signature: void setNamedColor (string name) Description: Method void QColor::setNamedColor(const QString &name) |
setRed | Signature: void setRed (int red) Description: Method void QColor::setRed(int red) Python specific notes: |
setRedF | Signature: void setRedF (double red) Description: Method void QColor::setRedF(double red) Python specific notes: |
setRgb | (1) Signature: void setRgb (int r, int g, int b, int a = 255) Description: Method void QColor::setRgb(int r, int g, int b, int a) |
(2) Signature: void setRgb (unsigned int rgb) Description: Method void QColor::setRgb(unsigned int rgb) Python specific notes: | |
setRgbF | Signature: void setRgbF (double r, double g, double b, double a = 1.0) Description: Method void QColor::setRgbF(double r, double g, double b, double a) |
setRgba | Signature: void setRgba (unsigned int rgba) Description: Method void QColor::setRgba(unsigned int rgba) Python specific notes: |
spec | Signature: [const] QColor_Spec spec Description: Method QColor::Spec QColor::spec() |
toCmyk | Signature: [const] QColor toCmyk Description: Method QColor QColor::toCmyk() |
toHsl | Signature: [const] QColor toHsl Description: Method QColor QColor::toHsl() |
toHsv | Signature: [const] QColor toHsv Description: Method QColor QColor::toHsv() |
toRgb | Signature: [const] QColor toRgb Description: Method QColor QColor::toRgb() |
value | Signature: [const] int value Description: Method int QColor::value() |
valueF | Signature: [const] double valueF Description: Method double QColor::valueF() |
yellow | Signature: [const] int yellow Description: Method int QColor::yellow() |
yellowF | Signature: [const] double yellowF Description: Method double QColor::yellowF() |