casa
$Rev:20696$
|
#include <ColorComboDelegate.h>
Public Member Functions | |
ColorComboDelegate (QObject *parent=NULL) | |
void | setSupportedColors (QStringList colorNames) |
QString | getNamedColor (int index) const |
void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
virtual | ~ColorComboDelegate () |
Private Attributes | |
QStringList | colorNames |
Definition at line 35 of file ColorComboDelegate.h.
casa::ColorComboDelegate::ColorComboDelegate | ( | QObject * | parent = NULL | ) |
virtual casa::ColorComboDelegate::~ColorComboDelegate | ( | ) | [virtual] |
QString casa::ColorComboDelegate::getNamedColor | ( | int | index | ) | const |
void casa::ColorComboDelegate::paint | ( | QPainter * | painter, |
const QStyleOptionViewItem & | option, | ||
const QModelIndex & | index | ||
) | const |
void casa::ColorComboDelegate::setSupportedColors | ( | QStringList | colorNames | ) |
QStringList casa::ColorComboDelegate::colorNames [private] |
Definition at line 43 of file ColorComboDelegate.h.