- enum ColorFormat
- enum Spec
- QColor ()
- QColor ( int r, int g, int b, int a = 255 )
- QColor ( uint color, ColorFormat format = RgbFormat )
- QColor ( const QString & name )
- QColor ( const char * name )
- QColor ( const QColor & color )
- QColor ( Qt::GlobalColor color )
- int alpha () const
- float alphaF () const
- int black () const
- float blackF () const
- int blue () const
- float blueF () const
- QStringList colorNames ()
- QColor convertTo ( Spec colorSpec ) const
- int cyan () const
- float cyanF () const
- QColor dark ( int factor = 200 ) const
- QColor fromCmyk ( int c, int m, int y, int k, int a = 255 )
- QColor fromCmyk ( float c, float m, float y, float k, float a = 1.0 )
- QColor fromHsv ( int h, int s, int v, int a = 255 )
- QColor fromHsv ( float h, float s, float v, float a = 1.0 )
- QColor fromRgb ( int r, int g, int b, int a = 255 )
- QColor fromRgb ( float r, float g, float b, float a = 1.0 )
- void getCmyk ( int * c, int * m, int * y, int * k, int * a = 0 )
- void getCmyk ( float * c, float * m, float * y, float * k, float * a = 0 )
- void getHsv ( int * h, int * s, int * v, int * a = 0 ) const
- void getHsv ( float * h, float * s, float * v, float * a = 0 ) const
- void getRgb ( int * r, int * g, int * b, int * a = 0 ) const
- void getRgb ( float * r, float * g, float * b, float * a = 0 ) const
- int green () const
|
- float greenF () const
- int hue () const
- float hueF () const
- bool isValid () const
- QColor light ( int factor = 150 ) const
- int magenta () const
- float magentaF () const
- QString name () const
- int red () const
- float redF () const
- QRgb rgb () const
- int saturation () const
- float saturationF () const
- void setCmyk ( int c, int m, int y, int k, int a = 255 )
- void setCmyk ( float c, float m, float y, float k, float a = 1.0 )
- void setHsv ( int h, int s, int v, int a = 255 )
- void setHsv ( float h, float s, float v, float a = 1.0 )
- void setNamedColor ( const QString & name )
- void setRgb ( int r, int g, int b, int a = 255 )
- void setRgb ( float r, float g, float b, float a = 1.0 )
- void setRgb ( QRgb rgb )
- Spec spec () const
- QColor toCmyk () const
- QColor toHsv () const
- QColor toRgb () const
- int value () const
- float valueF () const
- int yellow () const
- float yellowF () const
- bool operator!= ( const QColor & color ) const
- QColor & operator= ( const QColor & color )
- QColor & operator= ( Qt::GlobalColor color )
- bool operator== ( const QColor & color ) const
|