casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
casa::ColorComboDelegate Class Reference

#include <ColorComboDelegate.h>

Inheritance diagram for casa::ColorComboDelegate:

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)
virtual casa::ColorComboDelegate::~ColorComboDelegate ( )
virtual

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: