Qt 4.8
|
Go to the source code of this file.
Classes | |
struct | RGBData |
Macros | |
#define | rgb(r, g, b) (0xff000000 | (r << 16) | (g << 8) | b) |
Functions | |
static bool | get_named_rgb (const char *name_no_space, QRgb *rgb) |
static int | h2i (char hex) |
static int | hex2int (const char *s) |
static int | hex2int (char s) |
bool | operator< (const char *name, const RGBData &data) |
bool | operator< (const RGBData &data, const char *name) |
QStringList | qt_get_colornames () |
bool | qt_get_hex_rgb (const char *name, QRgb *rgb) |
bool | qt_get_hex_rgb (const QChar *str, int len, QRgb *rgb) |
bool | qt_get_named_rgb (const char *name, QRgb *rgb) |
bool | qt_get_named_rgb (const QChar *name, int len, QRgb *rgb) |
uint | qt_get_rgb_val (const char *name) |
Variables | |
static const struct RGBData | rgbTbl [] |
static const int | rgbTblSize = sizeof(rgbTbl) / sizeof(RGBData) |
#define rgb | ( | r, | |
g, | |||
b | |||
) | (0xff000000 | (r << 16) | (g << 8) | b) |
Definition at line 130 of file qcolor_p.cpp.
Referenced by QPdfEnginePrivate::addImage(), QVistaHelper::basicWindowFrameColor(), buttonChange(), QtopiaPrintEngine::clearPage(), compressHelper(), convert_RGB_to_Indexed8(), QVNCServer::convertPixels(), QColorShower::currentQColor(), QGIFFormat::decode(), QBitmap::fromData(), QMacPixmapData::fromImage(), QX11PixmapData::fromImage(), QColorDialogPrivate::init(), init_gray(), init_indexed(), QAxServerBase::OnAmbientPropertyChange(), qargb8565::operator quint32(), qargb8555::operator quint32(), qargb8565::operator+(), qargb8555::operator+(), parseColorValue(), QPdf::patternForBrush(), qBrushDark(), qBrushLight(), qBrushSetAlphaF(), qt_conv16ToRgb(), qt_write_dib(), query_colormap(), read_dib_body(), ICOReader::readColorTable(), resolveColor(), QImage::rgbSwapped(), QColorShower::setRgb(), QColor::spec(), QX11PaintEngine::updateBrush(), QX11PaintEngine::updatePen(), write_jpeg_image(), and write_pbm_image().
|
static |
Definition at line 295 of file qcolor_p.cpp.
Referenced by qt_get_named_rgb().
|
inlinestatic |
Definition at line 54 of file qcolor_p.cpp.
Referenced by hex2int().
|
inlinestatic |
|
inlinestatic |
Definition at line 70 of file qcolor_p.cpp.
|
inline |
Definition at line 290 of file qcolor_p.cpp.
|
inline |
Definition at line 292 of file qcolor_p.cpp.
QStringList qt_get_colornames | ( | ) |
Definition at line 344 of file qcolor_p.cpp.
Referenced by QColor::colorNames(), and qt_get_colornames().
bool qt_get_hex_rgb | ( | const char * | name, |
QRgb * | rgb | ||
) |
Definition at line 76 of file qcolor_p.cpp.
Referenced by qt_get_hex_rgb(), read_xpm_body(), and QColor::setColorFromString().
Definition at line 110 of file qcolor_p.cpp.
bool qt_get_named_rgb | ( | const char * | name, |
QRgb * | rgb | ||
) |
Definition at line 306 of file qcolor_p.cpp.
Referenced by qt_get_colornames(), qt_get_rgb_val(), and QColor::setColorFromString().
Definition at line 322 of file qcolor_p.cpp.
uint qt_get_rgb_val | ( | const char * | name | ) |
|
static |
Referenced by get_named_rgb(), and qt_get_colornames().
Definition at line 286 of file qcolor_p.cpp.
Referenced by get_named_rgb(), and qt_get_colornames().