casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
casa::ColorComboDelegate Class Reference

#include <ColorComboDelegate.h>

List of all members.

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

Detailed Description

Definition at line 35 of file ColorComboDelegate.h.


Constructor & Destructor Documentation

casa::ColorComboDelegate::ColorComboDelegate ( QObject *  parent = NULL)

Member Function Documentation

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)

Member Data Documentation

QStringList casa::ColorComboDelegate::colorNames [private]

Definition at line 43 of file ColorComboDelegate.h.


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