Crossfire Server, Trunk
CREPlayerRepliesDelegate Class Reference

#include <CREPlayerRepliesDelegate.h>

+ Inheritance diagram for CREPlayerRepliesDelegate:
+ Collaboration diagram for CREPlayerRepliesDelegate:

Public Member Functions

virtual QWidget * createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const override
 
 CREPlayerRepliesDelegate (QObject *parent)
 
virtual void setEditorData (QWidget *editor, const QModelIndex &index) const override
 
virtual void setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const override
 
virtual void updateEditorGeometry (QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const override
 
virtual ~CREPlayerRepliesDelegate ()
 

Detailed Description

Delegate handling edition of player replies in message file.

Definition at line 21 of file CREPlayerRepliesDelegate.h.

Constructor & Destructor Documentation

◆ CREPlayerRepliesDelegate()

CREPlayerRepliesDelegate::CREPlayerRepliesDelegate ( QObject *  parent)

Definition at line 18 of file CREPlayerRepliesDelegate.cpp.

◆ ~CREPlayerRepliesDelegate()

CREPlayerRepliesDelegate::~CREPlayerRepliesDelegate ( )
virtual

Definition at line 22 of file CREPlayerRepliesDelegate.cpp.

Member Function Documentation

◆ createEditor()

QWidget * CREPlayerRepliesDelegate::createEditor ( QWidget *  parent,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
overridevirtual

Definition at line 26 of file CREPlayerRepliesDelegate.cpp.

◆ setEditorData()

void CREPlayerRepliesDelegate::setEditorData ( QWidget *  editor,
const QModelIndex &  index 
) const
overridevirtual

Definition at line 31 of file CREPlayerRepliesDelegate.cpp.

References npc_dialog::index, and CREPlayerRepliesPanel::setData().

+ Here is the call graph for this function:

◆ setModelData()

void CREPlayerRepliesDelegate::setModelData ( QWidget *  editor,
QAbstractItemModel *  model,
const QModelIndex &  index 
) const
overridevirtual

Definition at line 39 of file CREPlayerRepliesDelegate.cpp.

References CREPlayerRepliesPanel::data(), and npc_dialog::index.

+ Here is the call graph for this function:

◆ updateEditorGeometry()

void CREPlayerRepliesDelegate::updateEditorGeometry ( QWidget *  editor,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
overridevirtual

Definition at line 47 of file CREPlayerRepliesDelegate.cpp.

References ring_occidental_mages::r.


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