25 #ifndef __TERRALIB_PLUGINEDIT_INTERNAL_EDITDELEGATE_H
26 #define __TERRALIB_PLUGINEDIT_INTERNAL_EDITDELEGATE_H
29 #include "../../../common/Decorator.h"
33 #include <QStyledItemDelegate>
44 EditDelegate(QStyledItemDelegate* decorated, QObject* parent = 0);
48 void paint(QPainter * painter,
const QStyleOptionViewItem & option,
const QModelIndex & index)
const;
69 #endif //__TERRALIB_PLUGINEDIT_INTERNAL_EDITDELEGATE_H
std::set< std::string > m_edited
std::set< std::string > m_stashed
void addEdited(const std::string &lName)
void addStashed(const std::string &lName)
EditDelegate(QStyledItemDelegate *decorated, QObject *parent=0)
void removeStashed(const std::string &lName)
bool isStached(const std::string &lName)
void removeEdited(const std::string &lName)
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const