1 #ifndef CSV_WORLD_COLORDELEGATE_HPP
2 #define CSV_WORLD_COLORDELEGATE_HPP
10 class ColorEditButton;
22 virtual void paint(QPainter *painter,
23 const QStyleOptionViewItem &option,
24 const QModelIndex &index)
const;
virtual CommandDelegate * makeDelegate(CSMWorld::CommandDispatcher *dispatcher, CSMDoc::Document &document, QObject *parent) const
The ownership of the returned CommandDelegate is transferred to the caller.
Definition: colordelegate.cpp:29
Definition: colordelegate.hpp:27
Definition: commanddispatcher.hpp:20
Definition: colordelegate.hpp:15
Definition: document.hpp:57
ColorDelegate(CSMWorld::CommandDispatcher *dispatcher, CSMDoc::Document &document, QObject *parent)
Definition: colordelegate.cpp:8
virtual void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
Definition: colordelegate.cpp:14