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