OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
CSVWorld::ColorDelegate Class Reference

#include <colordelegate.hpp>

Inheritance diagram for CSVWorld::ColorDelegate:
Collaboration diagram for CSVWorld::ColorDelegate:

Public Member Functions

 ColorDelegate (CSMWorld::CommandDispatcher *dispatcher, CSMDoc::Document &document, QObject *parent)
 
virtual void paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
 
- Public Member Functions inherited from CSVWorld::CommandDelegate
 CommandDelegate (CSMWorld::CommandDispatcher *commandDispatcher, CSMDoc::Document &document, QObject *parent)
 
virtual void setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const
 
virtual QWidgetcreateEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const
 
virtual QWidgetcreateEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index, CSMWorld::ColumnBase::Display display) const
 
void setEditLock (bool locked)
 
bool isEditLocked () const
 
virtual void setEditorData (QWidget *editor, const QModelIndex &index) const
 
virtual void setEditorData (QWidget *editor, const QModelIndex &index, bool tryDisplay) const
 
virtual void settingChanged (const CSMPrefs::Setting *setting)
 

Additional Inherited Members

- Protected Member Functions inherited from CSVWorld::CommandDelegate
QUndoStack & getUndoStack () const
 
CSMDoc::DocumentgetDocument () const
 
CSMWorld::ColumnBase::Display getDisplayTypeFromIndex (const QModelIndex &index) const
 
virtual void setModelDataImp (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const
 

Constructor & Destructor Documentation

CSVWorld::ColorDelegate::ColorDelegate ( CSMWorld::CommandDispatcher dispatcher,
CSMDoc::Document document,
QObject parent 
)

Member Function Documentation

void CSVWorld::ColorDelegate::paint ( QPainter *  painter,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
virtual

The documentation for this class was generated from the following files: