![]() |
Crossfire Resources Editor
|
Allow edition a single pre- or post condition. More...
#include <CREPrePostConditionDelegate.h>
Inheritance diagram for CREPrePostSingleConditionDelegate:
Collaboration diagram for CREPrePostSingleConditionDelegate:Public Member Functions | |
| virtual QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const override |
| CREPrePostSingleConditionDelegate (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 |
Private Attributes | |
| const MessageManager * | myMessages |
| PrePostWidget::Mode | myMode |
Allow edition a single pre- or post condition.
Definition at line 23 of file CREPrePostConditionDelegate.h.
| CREPrePostSingleConditionDelegate::CREPrePostSingleConditionDelegate | ( | 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 18 of file CREPrePostConditionDelegate.cpp.
|
overridevirtual |
Definition at line 23 of file CREPrePostConditionDelegate.cpp.
References myMessages, myMode, MessageManager::postConditions(), PrePostWidget::PreConditions, and MessageManager::preConditions().
Here is the call graph for this function:
|
overridevirtual |
Definition at line 28 of file CREPrePostConditionDelegate.cpp.
References CREPrePostPanel::setData().
Here is the call graph for this function:
|
overridevirtual |
Definition at line 36 of file CREPrePostConditionDelegate.cpp.
References CREPrePostPanel::getData(), myMode, and PrePostWidget::SetWhen.
Here is the call graph for this function:
|
overridevirtual |
Definition at line 48 of file CREPrePostConditionDelegate.cpp.
|
private |
Definition at line 41 of file CREPrePostConditionDelegate.h.
Referenced by createEditor().
|
private |
Definition at line 40 of file CREPrePostConditionDelegate.h.
Referenced by createEditor(), and setModelData().