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

Enables the Id completion for a column. More...

#include <idcompletiondelegate.hpp>

Inheritance diagram for CSVWorld::IdCompletionDelegate:
Collaboration diagram for CSVWorld::IdCompletionDelegate:

Public Member Functions

 IdCompletionDelegate (CSMWorld::CommandDispatcher *dispatcher, CSMDoc::Document &document, QObject *parent)
 
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
 
- 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
 
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
 

Detailed Description

Enables the Id completion for a column.

Constructor & Destructor Documentation

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

Member Function Documentation

QWidget * CSVWorld::IdCompletionDelegate::createEditor ( QWidget parent,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
virtual

Reimplemented from CSVWorld::CommandDelegate.

QWidget * CSVWorld::IdCompletionDelegate::createEditor ( QWidget parent,
const QStyleOptionViewItem &  option,
const QModelIndex &  index,
CSMWorld::ColumnBase::Display  display 
) const
virtual

Reimplemented from CSVWorld::CommandDelegate.

Here is the call graph for this function:


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