Crossfire Server, Trunk
|
#include <CREPrePostConditionDelegate.h>
Public Member Functions | |
virtual QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const override |
CREPrePostConditionDelegate (QObject *parent, PrePostWidget::Mode mode, const MessageManager *manager) | |
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 | ~CREPrePostConditionDelegate () |
Private Attributes | |
const MessageManager * | myMessages |
PrePostWidget::Mode | myMode |
Allow edition of a pre- or post- list in the message table.
Definition at line 47 of file CREPrePostConditionDelegate.h.
CREPrePostConditionDelegate::CREPrePostConditionDelegate | ( | QObject * | parent, |
PrePostWidget::Mode | mode, | ||
const MessageManager * | manager | ||
) |
Standard constructor.
parent | parent of this item. |
mode | list mode to use. |
manager | messages manager. |
Definition at line 61 of file CREPrePostConditionDelegate.cpp.
|
virtual |
Definition at line 66 of file CREPrePostConditionDelegate.cpp.
|
overridevirtual |
Definition at line 70 of file CREPrePostConditionDelegate.cpp.
References myMessages, and myMode.
|
overridevirtual |
Definition at line 75 of file CREPrePostConditionDelegate.cpp.
References navar-midane_time::data, npc_dialog::index, and guildoracle::list.
|
overridevirtual |
Definition at line 90 of file CREPrePostConditionDelegate.cpp.
References npc_dialog::index, and guildoracle::list.
|
overridevirtual |
Definition at line 101 of file CREPrePostConditionDelegate.cpp.
References ring_occidental_mages::r.
|
private |
Available message scripts.
Definition at line 66 of file CREPrePostConditionDelegate.h.
Referenced by createEditor().
|
private |
List mode we're working in.
Definition at line 65 of file CREPrePostConditionDelegate.h.
Referenced by createEditor().