StarDelegate Class Reference

TerraLib include files. More...

#include <StarDelegate.h>

Inheritance diagram for StarDelegate:
HLDelegateDecorator

Public Member Functions

void paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
 
void setHighlightColor (const QColor &value)
 
 StarDelegate (const size_t nClass=0)
 
 StarDelegate (te::qt::widgets::HighlightDelegate *decorated)
 

Protected Member Functions

void init ()
 

Protected Attributes

QImage m_img
 

Detailed Description

TerraLib include files.

Qt include files

Definition at line 11 of file StarDelegate.h.

Constructor & Destructor Documentation

StarDelegate::StarDelegate ( const size_t  nClass = 0)

Definition at line 59 of file StarDelegate.cpp.

References init().

StarDelegate::StarDelegate ( te::qt::widgets::HighlightDelegate decorated)

Definition at line 65 of file StarDelegate.cpp.

References init().

Member Function Documentation

void StarDelegate::init ( )
protected

Definition at line 100 of file StarDelegate.cpp.

References getStarImage(), and m_img.

Referenced by StarDelegate().

void StarDelegate::paint ( QPainter *  painter,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const

Definition at line 71 of file StarDelegate.cpp.

References getStarImage(), m_img, and paint().

void StarDelegate::setHighlightColor ( const QColor &  value)

Definition at line 94 of file StarDelegate.cpp.

References getStarImage(), and m_img.

Referenced by initDialog().

Member Data Documentation

QImage StarDelegate::m_img
mutableprotected

Definition at line 27 of file StarDelegate.h.

Referenced by init(), paint(), and setHighlightColor().


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