![]() |
Qt 6.x
The Qt SDK
|
#include <qcolormap.h>
Collaboration diagram for QColormap:Public Types | |
| enum | Mode { Direct , Indexed , Gray } |
Public Member Functions | |
| QColormap (const QColormap &colormap) | |
| ~QColormap () | |
| QColormap & | operator= (const QColormap &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 QColormap | instance (int screen=-1) |
Definition at line 19 of file qcolormap.h.
| enum QColormap::Mode |
| Enumerator | |
|---|---|
| Direct | |
| Indexed | |
| Gray | |
Definition at line 22 of file qcolormap.h.
| QColormap::QColormap | ( | const QColormap & | colormap | ) |
Definition at line 62 of file qcolormap.cpp.
References QColormap(), QBasicAtomicInteger< T >::ref(), and QColormapPrivate::ref.
Referenced by QColormap().
Here is the call graph for this function:
Here is the caller graph for this function:| QColormap::~QColormap | ( | ) |
Definition at line 66 of file qcolormap.cpp.
References QBasicAtomicInteger< T >::deref(), and QColormapPrivate::ref.
Here is the call graph for this function:
|
static |
Definition at line 47 of file qcolormap.cpp.
References screenMap.
Referenced by qt_cleanup().
Here is the caller graph for this function:Definition at line 152 of file qcolormap.cpp.
References QColormapPrivate::depth, Direct, QColormapPrivate::mode, pixel(), Q_ASSERT_X, and qt_conv16ToRgb().
Here is the call graph for this function:Definition at line 174 of file qcolormap.cpp.
Referenced by operator=().
Here is the caller graph for this function:| int QColormap::depth | ( | ) | const |
Definition at line 76 of file qcolormap.cpp.
References QColormapPrivate::depth.
Referenced by QApplication::isEffectEnabled().
Here is the caller graph for this function:
|
static |
Definition at line 28 of file qcolormap.cpp.
References QScreen::depth, QColormapPrivate::depth, Direct, Indexed, QColormapPrivate::mode, QColormapPrivate::numcolors, QGuiApplication::primaryScreen, Q_UNLIKELY, qWarning, and screenMap.
Referenced by QApplicationPrivate::init().
Here is the caller graph for this function:
|
static |
Definition at line 53 of file qcolormap.cpp.
Referenced by QApplication::isEffectEnabled().
Here is the caller graph for this function:| QColormap::Mode QColormap::mode | ( | ) | const |
Definition at line 72 of file qcolormap.cpp.
References QColormapPrivate::mode.
Definition at line 179 of file qcolormap.cpp.
References colormap(), and qAtomicAssign().
Here is the call graph for this function:Definition at line 123 of file qcolormap.cpp.
References QColormapPrivate::depth, Direct, QColormapPrivate::mode, qBlue(), qGreen(), qRed(), QRgb, qt_convRgbTo16(), rgb, and tr.
Referenced by colorAt().
Here is the call graph for this function:
Here is the caller graph for this function:| int QColormap::size | ( | ) | const |
Definition at line 80 of file qcolormap.cpp.
References QColormapPrivate::numcolors.