Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QXcbColormap Class Reference

#include <qcolormap_x11_p.h>

Collaboration diagram for QXcbColormap:

Public Types

enum  Mode { Direct , Indexed , Gray }

Public Member Functions

 QXcbColormap (const QXcbColormap &colormap)
 ~QXcbColormap ()
QXcbColormapoperator= (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< QColorcolormap () const

Static Public Member Functions

static void initialize ()
static void cleanup ()
static QXcbColormap instance (int screen=-1)

Detailed Description

Definition at line 13 of file qcolormap_x11_p.h.

Member Enumeration Documentation

◆ Mode

Enumerator
Direct 
Indexed 
Gray 

Definition at line 16 of file qcolormap_x11_p.h.

Constructor & Destructor Documentation

◆ QXcbColormap()

QXcbColormap::QXcbColormap ( const QXcbColormap & colormap)

Definition at line 548 of file qcolormap_x11.cpp.

◆ ~QXcbColormap()

QXcbColormap::~QXcbColormap ( )

Member Function Documentation

◆ cleanup()

void QXcbColormap::cleanup ( )
static

Definition at line 521 of file qcolormap_x11.cpp.

References cmaps, and QXcbX11Data::display.

◆ colorAt()

◆ colormap()

const QList< QColor > QXcbColormap::colormap ( ) const

Definition at line 606 of file qcolormap_x11.cpp.

◆ depth()

int QXcbColormap::depth ( ) const

Definition at line 564 of file qcolormap_x11.cpp.

References QXcbColormapPrivate::depth.

◆ initialize()

◆ instance()

QXcbColormap QXcbColormap::instance ( int screen = -1)
static

Definition at line 534 of file qcolormap_x11.cpp.

References QXcbX11Info::appScreen(), and cmaps.

Here is the call graph for this function:

◆ mode()

QXcbColormap::Mode QXcbColormap::mode ( ) const

Definition at line 561 of file qcolormap_x11.cpp.

References QXcbColormapPrivate::mode.

◆ operator=()

QXcbColormap & QXcbColormap::operator= ( const QXcbColormap & colormap)

Definition at line 609 of file qcolormap_x11.cpp.

◆ pixel()

uint QXcbColormap::pixel ( const QColor & color) const

◆ size()

int QXcbColormap::size ( ) const

The documentation for this class was generated from the following files: