![]() |
Crossfire Resources Editor
|
Allow edition of a pre- or post- list in the message table. More...
#include <CREPrePostConditionDelegate.h>
Inheritance diagram for CREPrePostConditionDelegate:
Collaboration diagram for CREPrePostConditionDelegate: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) | |
| Standard constructor. More... | |
| 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 |
| Available message scripts. More... | |
| PrePostWidget::Mode | myMode |
| List mode we're working in. More... | |
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 CREPrePostList::setData().
Here is the call graph for this function:
|
overridevirtual |
Definition at line 90 of file CREPrePostConditionDelegate.cpp.
References CREPrePostList::data().
Here is the call graph for this function:
|
overridevirtual |
Definition at line 101 of file CREPrePostConditionDelegate.cpp.
|
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().