#include "kcolorcombo.h"#include <QtGui/QAbstractItemDelegate>#include <QtGui/QApplication>#include <QtGui/QStylePainter>#include <klocale.h>#include "kcolordialog.h"#include "kcolorcombo.moc"
Include dependency graph for kcolorcombo.cpp:

Go to the source code of this file.
Defines | |
| #define | STANDARD_PALETTE_SIZE (int(sizeof(standardPalette) / sizeof(*standardPalette))) |
Functions | |
| static QBrush | k_colorcombodelegate_brush (const QModelIndex &index, int role) |
| static QColor | standardColor (int i) |
Variables | |
| static const uchar | standardPalette [][4] |
Define Documentation
| #define STANDARD_PALETTE_SIZE (int(sizeof(standardPalette) / sizeof(*standardPalette))) |
Definition at line 168 of file kcolorcombo.cpp.
Function Documentation
| static QBrush k_colorcombodelegate_brush | ( | const QModelIndex & | index, |
| int | role | ||
| ) | [static] |
Definition at line 50 of file kcolorcombo.cpp.
| static QColor standardColor | ( | int | i | ) | [inline, static] |
Definition at line 170 of file kcolorcombo.cpp.
Variable Documentation
const uchar standardPalette[][4] [static] |
Initial value:
{
{ 255, 255, 255 },
{ 192, 192, 192 },
{ 160, 160, 160 },
{ 128, 128, 128 },
{ 0, 0, 0 },
{ 255, 128, 128 },
{ 255, 192, 128 },
{ 255, 255, 128 },
{ 128, 255, 128 },
{ 128, 255, 255 },
{ 128, 128, 255 },
{ 255, 128, 255 },
{ 255, 0, 0 },
{ 255, 128, 0 },
{ 255, 255, 0 },
{ 0, 255, 0 },
{ 0, 255, 255 },
{ 0, 0, 255 },
{ 255, 0, 255 },
{ 128, 0, 0 },
{ 128, 64, 0 },
{ 128, 128, 0 },
{ 0, 128, 0 },
{ 0, 128, 128 },
{ 0, 0, 128 },
{ 128, 0, 128 }
}
Definition at line 138 of file kcolorcombo.cpp.
KDE 4.6 API Reference