22 #include "../../../common/Decorator.h" 26 #include <QStyledItemDelegate> 46 STItemDelegate(QStyledItemDelegate* decorated, QObject* parent = 0);
50 void paint(QPainter * painter,
const QStyleOptionViewItem & option,
const QModelIndex & index)
const;
This is the base class for layers.
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
QIcon getIcon(const te::map::AbstractLayer *l) const
STItemDelegate(QStyledItemDelegate *decorated, QObject *parent=0)