API reference - Class QColorNotation used in Ruby API documentation Description: Binding of QColor Public constructors
Public methods
Public static methods and constants
Detailed description[const] bool !=(const QColor c)Description: Method bool QColor::operator!=(const QColor &c) [const] bool ==(const QColor c)Description: Method bool QColor::operator==(const QColor &c) [static] QColor_Spec CmykDescription: Enum constant QColor::Cmyk [static] QColor_Spec HslDescription: Enum constant QColor::Hsl [static] QColor_Spec HsvDescription: Enum constant QColor::Hsv [static] QColor_Spec InvalidDescription: Enum constant QColor::Invalid [static] QColor_Spec RgbDescription: Enum constant QColor::Rgb [const] int alphaDescription: Method int QColor::alpha() void alpha=(int alpha)Description: Method void QColor::setAlpha(int alpha) [const] double alphaFDescription: Method double QColor::alphaF() void alphaF=(double alpha)Description: Method void QColor::setAlphaF(double alpha) QColor assign(const QColor arg1)Description: Method QColor &QColor::operator=(const QColor &) QColor assign(const Qt_GlobalColor color)Description: Method QColor &QColor::operator=(Qt::GlobalColor color) [const] void assign(const QColor other)Description: Assign the contents of another object to self This method assigns the contents of another object to self. This is a deep copy that does not only copy the reference but the actual content. [const] int blackDescription: Method int QColor::black() [const] double blackFDescription: Method double QColor::blackF() [const] int blueDescription: Method int QColor::blue() void blue=(int blue)Description: Method void QColor::setBlue(int blue) [const] double blueFDescription: Method double QColor::blueF() void blueF=(double blue)Description: Method void QColor::setBlueF(double blue) [static] string[] colorNamesDescription: Static method QStringList QColor::colorNames() This method is static and can be called without an instance. [const] QColor convertTo(const QColor_Spec colorSpec)Description: Method QColor QColor::convertTo(QColor::Spec colorSpec) void createDescription: 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. [const] int cyanDescription: Method int QColor::cyan() [const] double cyanFDescription: Method double QColor::cyanF() [const] QColor dark(int f = 200)Description: Method QColor QColor::dark(int f) [const] QColor darker(int f = 200)Description: Method QColor QColor::darker(int f) void destroyDescription: Explicitly destroy the object Explicitly destroy the object on C++ side if it was owned by the Ruby interpreter. Subsequent access to this object will throw an exception. If the object is not owned by Ruby, this method will do nothing. [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. [const] QColor dupDescription: Creates a copy of self [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. 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) 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) [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) [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) [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) [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) [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) [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) [const] int greenDescription: Method int QColor::green() void green=(int green)Description: Method void QColor::setGreen(int green) [const] double greenFDescription: Method double QColor::greenF() void greenF=(double green)Description: Method void QColor::setGreenF(double green) [const] int hslHueDescription: Method int QColor::hslHue() [const] double hslHueFDescription: Method double QColor::hslHueF() [const] int hslSaturationDescription: Method int QColor::hslSaturation() [const] double hslSaturationFDescription: Method double QColor::hslSaturationF() [const] int hsvHueDescription: Method int QColor::hsvHue() [const] double hsvHueFDescription: Method double QColor::hsvHueF() [const] int hsvSaturationDescription: Method int QColor::hsvSaturation() [const] double hsvSaturationFDescription: Method double QColor::hsvSaturationF() [const] int hueDescription: Method int QColor::hue() [const] double hueFDescription: Method double QColor::hueF() [const] bool isValidDescription: Method bool QColor::isValid() [const] bool isValid?Description: Method bool QColor::isValid() [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. [const] QColor light(int f = 150)Description: Method QColor QColor::light(int f) [const] QColor lighter(int f = 150)Description: Method QColor QColor::lighter(int f) [const] int lightnessDescription: Method int QColor::lightness() [const] double lightnessFDescription: Method double QColor::lightnessF() [const] int magentaDescription: Method int QColor::magenta() [const] double magentaFDescription: Method double QColor::magentaF() [const] string nameDescription: Method QString QColor::name() [static] new QColor newDescription: Constructor QColor::QColor() This method creates an object of class QColor. [static] new QColor new(const Qt_GlobalColor color)Description: Constructor QColor::QColor(Qt::GlobalColor color) This method creates an object of class QColor. [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. [static] new QColor new(unsigned int rgb)Description: Constructor QColor::QColor(unsigned int rgb) This method creates an object of class QColor. [static] new QColor new(string name)Description: Constructor QColor::QColor(const char *name) This method creates an object of class QColor. [static] new QColor new(const QColor color)Description: Constructor QColor::QColor(const QColor &color) This method creates an object of class QColor. [static] new QColor new(const QColor_Spec spec)Description: Constructor QColor::QColor(QColor::Spec spec) This method creates an object of class QColor. [const] int redDescription: Method int QColor::red() void red=(int red)Description: Method void QColor::setRed(int red) [const] double redFDescription: Method double QColor::redF() void redF=(double red)Description: Method void QColor::setRedF(double red) [const] unsigned int rgbDescription: Method unsigned int QColor::rgb() void rgb=(unsigned int rgb)Description: Method void QColor::setRgb(unsigned int rgb) [const] unsigned int rgbaDescription: Method unsigned int QColor::rgba() void rgba=(unsigned int rgba)Description: Method void QColor::setRgba(unsigned int rgba) [const] int saturationDescription: Method int QColor::saturation() [const] double saturationFDescription: Method double QColor::saturationF() void setAlpha(int alpha)Description: Method void QColor::setAlpha(int alpha) void setAlphaF(double alpha)Description: Method void QColor::setAlphaF(double alpha) void setBlue(int blue)Description: Method void QColor::setBlue(int blue) void setBlueF(double blue)Description: Method void QColor::setBlueF(double blue) 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) 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) void setGreen(int green)Description: Method void QColor::setGreen(int green) void setGreenF(double green)Description: Method void QColor::setGreenF(double green) void setHsl(int h,int s,int l,int a = 255)Description: Method void QColor::setHsl(int h, int s, int l, int a) 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) void setHsv(int h,int s,int v,int a = 255)Description: Method void QColor::setHsv(int h, int s, int v, int a) 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) void setNamedColor(string name)Description: Method void QColor::setNamedColor(const QString &name) void setRed(int red)Description: Method void QColor::setRed(int red) void setRedF(double red)Description: Method void QColor::setRedF(double red) void setRgb(int r,int g,int b,int a = 255)Description: Method void QColor::setRgb(int r, int g, int b, int a) void setRgb(unsigned int rgb)Description: Method void QColor::setRgb(unsigned int rgb) 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) void setRgba(unsigned int rgba)Description: Method void QColor::setRgba(unsigned int rgba) [const] QColor_Spec specDescription: Method QColor::Spec QColor::spec() [const] QColor toCmykDescription: Method QColor QColor::toCmyk() [const] QColor toHslDescription: Method QColor QColor::toHsl() [const] QColor toHsvDescription: Method QColor QColor::toHsv() [const] QColor toRgbDescription: Method QColor QColor::toRgb() [const] int valueDescription: Method int QColor::value() [const] double valueFDescription: Method double QColor::valueF() [const] int yellowDescription: Method int QColor::yellow() [const] double yellowFDescription: Method double QColor::yellowF() |