![]() |
Qt 4.8
|
#include <qcolormap.h>
Public Types | |
| enum | Mode { Direct, Indexed, Gray } |
Public Functions | |
| const QColor | colorAt (uint pixel) const |
| const QVector< QColor > | colormap () const |
| int | depth () const |
| Mode | mode () const |
| QColormap & | operator= (const QColormap &colormap) |
| uint | pixel (const QColor &color) const |
| QColormap (const QColormap &colormap) | |
| int | size () const |
| ~QColormap () | |
Static Public Functions | |
| static void | cleanup () |
| static HPALETTE | hPal () |
| static void | initialize () |
| static QColormap | instance (int screen=-1) |
Private Functions | |
| QColormap () | |
| Constructs a new colormap. More... | |
Properties | |
| QColormapPrivate * | d |
Definition at line 59 of file qcolormap.h.
| enum QColormap::Mode |
| Enumerator | |
|---|---|
| Direct | |
| Indexed | |
| Gray | |
Definition at line 62 of file qcolormap.h.
| QColormap::QColormap | ( | const QColormap & | colormap | ) |
Definition at line 77 of file qcolormap_mac.cpp.
| QColormap::~QColormap | ( | ) |
Definition at line 80 of file qcolormap_mac.cpp.
|
private |
Constructs a new colormap.
Definition at line 74 of file qcolormap_mac.cpp.
|
static |
Definition at line 102 of file qcolormap_mac.cpp.
Referenced by qt_conv16ToRgb(), and QApplicationPrivate::setSystemPalette().
| int QColormap::depth | ( | ) | const |
Definition at line 89 of file qcolormap_mac.cpp.
Referenced by QPixmap::defaultDepth().
|
static |
Definition at line 190 of file qcolormap_win.cpp.
Referenced by QGLContext::choosePixelFormat(), OLEColorToQColor(), QPixmapToIPicture(), and QtWndProc().
|
static |
|
static |
Definition at line 69 of file qcolormap_mac.cpp.
Referenced by QGLContext::choosePixelFormat(), QEgl::createSurface(), QPixmap::defaultDepth(), QX11PaintEngine::drawPixmap(), QX11PixmapData::fill(), QX11PixmapData::fromImage(), QColor::invalidate(), QApplication::isEffectEnabled(), QWidgetPrivate::mapFromGlobal(), QGLOverlayWidget::paintGL(), qt_transparent_pixel(), QApplicationPrivate::setSystemPalette(), QNativeImage::systemFormat(), QX11PixmapData::toImage(), QETWidget::translateCloseEvent(), QX11PaintEngine::updateBrush(), QX11PaintEngine::updatePen(), and QETWidget::updateRegion().
| QColormap::Mode QColormap::mode | ( | ) | const |
Definition at line 86 of file qcolormap_mac.cpp.
Definition at line 108 of file qcolormap_mac.cpp.
Referenced by hPal(), and qt_conv16ToRgb().
Definition at line 99 of file qcolormap_mac.cpp.
Referenced by QGLContext::choosePixelFormat(), QEgl::createSurface(), QX11PaintEngine::drawPixmap(), QX11PixmapData::fromImage(), QColor::invalidate(), QGLOverlayWidget::paintGL(), qt_conv16ToRgb(), qt_transparent_pixel(), QApplicationPrivate::setSystemPalette(), QX11PaintEngine::updateBrush(), and QX11PaintEngine::updatePen().
| int QColormap::size | ( | ) | const |
Definition at line 94 of file qcolormap_mac.cpp.
|
private |
Definition at line 90 of file qcolormap.h.
Referenced by hPal(), operator=(), QColormap(), qt_conv16ToRgb(), and ~QColormap().