TerraLib include files. More...
#include <StarDelegate.h>
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 |
| 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().
|
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().
|
mutableprotected |
Definition at line 27 of file StarDelegate.h.
Referenced by init(), paint(), and setHighlightColor().