![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qcolormap_x11_p.h>
Public Types | |
enum | Mode { Direct , Indexed , Gray } |
Public Member Functions | |
QXcbColormap (const QXcbColormap &colormap) | |
~QXcbColormap () | |
QXcbColormap & | operator= (const QXcbColormap &colormap) |
Mode | mode () const |
int | depth () const |
int | size () const |
uint | pixel (const QColor &color) const |
const QColor | colorAt (uint pixel) const |
const QList< QColor > | colormap () const |
Static Public Member Functions | |
static void | initialize () |
static void | cleanup () |
static QXcbColormap | instance (int screen=-1) |
Definition at line 13 of file qcolormap_x11_p.h.
enum QXcbColormap::Mode |
Enumerator | |
---|---|
Direct | |
Indexed | |
Gray |
Definition at line 16 of file qcolormap_x11_p.h.
QXcbColormap::QXcbColormap | ( | const QXcbColormap & | colormap | ) |
Definition at line 548 of file qcolormap_x11.cpp.
QXcbColormap::~QXcbColormap | ( | ) |
Definition at line 552 of file qcolormap_x11.cpp.
References QXcbColormapPrivate::colormap, QXcbColormapPrivate::defaultColormap, and QXcbX11Data::display.
|
static |
Definition at line 521 of file qcolormap_x11.cpp.
References cmaps, and QXcbX11Data::display.
Definition at line 593 of file qcolormap_x11.cpp.
References QXcbColormapPrivate::b_max, Direct, QXcbColormapPrivate::g_max, QXcbColormapPrivate::mode, QXcbColormapPrivate::r_max, and QXcbColormapPrivate::visual.
Definition at line 606 of file qcolormap_x11.cpp.
int QXcbColormap::depth | ( | ) | const |
Definition at line 564 of file qcolormap_x11.cpp.
References QXcbColormapPrivate::depth.
|
static |
Definition at line 290 of file qcolormap_x11.cpp.
References QXcbX11Data::argbColormaps, QXcbX11Data::argbVisuals, QXcbColormapPrivate::b_max, QX11InfoData::cells, cmaps, QXcbX11Data::color_count, QX11InfoData::colormap, QXcbColormapPrivate::colormap, QXcbX11Data::colormap, cube_root(), QXcbX11Data::custom_cmap, QX11InfoData::defaultColormap, QXcbColormapPrivate::defaultColormap, QX11InfoData::defaultVisual, QXcbColormapPrivate::defaultVisual, QX11InfoData::depth, QXcbColormapPrivate::depth, Direct, QXcbX11Data::display, find_visual(), QXcbColormapPrivate::g_max, Gray, Indexed, init_direct(), init_gray(), init_indexed(), QXcbColormapPrivate::mode, QXcbColormapPrivate::r_max, QXcbX11Data::screens, QX11InfoData::visual, QXcbColormapPrivate::visual, QXcbX11Data::visual, QXcbX11Data::visual_class, and QXcbX11Data::visual_id.
Referenced by qt_xcb_native_x11_info_init().
|
static |
Definition at line 534 of file qcolormap_x11.cpp.
References QXcbX11Info::appScreen(), and cmaps.
QXcbColormap::Mode QXcbColormap::mode | ( | ) | const |
Definition at line 561 of file qcolormap_x11.cpp.
References QXcbColormapPrivate::mode.
QXcbColormap & QXcbColormap::operator= | ( | const QXcbColormap & | colormap | ) |
Definition at line 609 of file qcolormap_x11.cpp.
Definition at line 576 of file qcolormap_x11.cpp.
References QXcbColormapPrivate::b_max, Direct, QXcbColormapPrivate::g_max, Gray, QXcbColormapPrivate::mode, and QXcbColormapPrivate::r_max.
int QXcbColormap::size | ( | ) | const |
Definition at line 567 of file qcolormap_x11.cpp.
References QXcbColormapPrivate::b_max, QXcbColormapPrivate::g_max, Gray, Indexed, QXcbColormapPrivate::mode, and QXcbColormapPrivate::r_max.