![]() |
Crossfire Resources Editor
|
#include <QuestWrapper.h>
Inheritance diagram for QuestStepWrapper:
Collaboration diagram for QuestStepWrapper:Public Member Functions | |
| virtual bool | canDrag () const override |
| virtual bool | canDrop (const QMimeData *, int) const override |
| QList< QStringList > | conditions () const |
| QString | description () const |
| virtual QString | displayName () const override |
| virtual void | drag (QMimeData *) const override |
| virtual void | drop (const QMimeData *, int) override |
| virtual void | fillMenu (QMenu *menu) override |
| bool | isEnd () const |
| QuestStepWrapper (AssetWrapper *parent, quest_step_definition *step, ResourcesManager *) | |
| void | setConditions (const QList< QStringList > &conditions) |
| void | setDescription (QString description) |
| void | setEnd (bool end) |
| void | setStep (int step) |
| int | step () const |
Public Member Functions inherited from AssetTWrapper< quest_step_definition > | |
| AssetTWrapper (AssetWrapper *parent, const QString &panelName, quest_step_definition *wrappedItem) | |
| quest_step_definition * | wrappedItem () const |
Public Member Functions inherited from AssetWrapper | |
| AssetWrapper (AssetWrapper *parent, const QString &panelName="empty") | |
| virtual bool | canExportAsCsv () const |
| virtual AssetWrapper * | child (int) |
| virtual int | childIndex (AssetWrapper *) |
| virtual int | childrenCount () const |
| virtual QIcon | displayIcon () const |
| virtual QString | displayPanelName () const |
| AssetWrapper * | displayParent () const |
| virtual void | exportAsCSV (const AssetWrapper *, QString &) const |
| virtual void | fillCsvHeader (QString &) const |
| void | markModified (ChangeType change, int extra=0) |
| AssetWrapper * | self () |
| void | setDisplayParent (AssetWrapper *parent) |
| virtual QString | tooltip () const |
| virtual PossibleUse | uses (const AssetWrapper *, std::string &) const |
| virtual | ~AssetWrapper () override |
Properties | |
| QList< QStringList > | conditions |
| QString | description |
| bool | isEnd |
| int | step |
Properties inherited from AssetWrapper | |
| QString | displayName |
| AssetWrapper | self |
Additional Inherited Members | |
Public Types inherited from AssetWrapper | |
| enum | ChangeType { AssetUpdated, BeforeChildAdd, AfterChildAdd, BeforeChildRemove, AfterChildRemove, BeforeLayoutChange, AfterLayoutChange } |
| enum | PossibleUse { Uses, ChildrenMayUse, DoesntUse } |
Public Slots inherited from AssetWrapper | |
| virtual void | removeChild (AssetWrapper *) |
Signals inherited from AssetWrapper | |
| void | dataModified (AssetWrapper *asset, AssetWrapper::ChangeType type, int extra) |
| void | modified () |
Static Public Member Functions inherited from AssetWrapper | |
| static bool | compareByDisplayName (const AssetWrapper *left, const AssetWrapper *right) |
Static Public Attributes inherited from AssetWrapper | |
| static const char * | tipProperty = "_cre_internal" |
Protected Member Functions inherited from AssetWrapper | |
| virtual void | wasModified (AssetWrapper *asset, ChangeType type, int extra) |
Protected Attributes inherited from AssetTWrapper< quest_step_definition > | |
| quest_step_definition * | myWrappedItem |
Protected Attributes inherited from AssetWrapper | |
| QString | myPanelName |
| AssetWrapper * | myParent |
Definition at line 25 of file QuestWrapper.h.
|
inline |
Definition at line 34 of file QuestWrapper.h.
|
inlineoverridevirtual |
Reimplemented from AssetWrapper.
Definition at line 42 of file QuestWrapper.h.
|
overridevirtual |
Reimplemented from AssetWrapper.
Definition at line 30 of file QuestWrapper.cpp.
References MimeUtils::QuestStep.
| QList<QStringList> QuestStepWrapper::conditions | ( | ) | const |
|
inline |
Definition at line 48 of file QuestWrapper.h.
References AssetTWrapper< quest_step_definition >::myWrappedItem.
|
inlineoverridevirtual |
Implements AssetWrapper.
Definition at line 38 of file QuestWrapper.h.
References AssetTWrapper< quest_step_definition >::myWrappedItem.
|
overridevirtual |
Reimplemented from AssetWrapper.
Definition at line 23 of file QuestWrapper.cpp.
References MimeUtils::addQuestStep(), QuestWrapper::childIndex(), QuestWrapper::code, and AssetWrapper::myParent.
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from AssetWrapper.
Definition at line 34 of file QuestWrapper.cpp.
References AssetWrapper::childIndex(), AssetWrapper::drop(), and AssetWrapper::myParent.
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from AssetWrapper.
Definition at line 19 of file QuestWrapper.cpp.
References AssetWrapper::myParent, and AssetWrapper::removeChild().
Here is the call graph for this function:
|
inline |
Definition at line 49 of file QuestWrapper.h.
References AssetTWrapper< quest_step_definition >::myWrappedItem.
| void QuestStepWrapper::setConditions | ( | const QList< QStringList > & | conditions | ) |
Definition at line 49 of file QuestWrapper.cpp.
References AssetWrapper::AssetUpdated, conditions, AssetWrapper::markModified(), and AssetTWrapper< quest_step_definition >::myWrappedItem.
Here is the call graph for this function:
|
inline |
Definition at line 52 of file QuestWrapper.h.
References AssetWrapper::AssetUpdated, description, AssetWrapper::markModified(), and AssetTWrapper< quest_step_definition >::myWrappedItem.
Here is the call graph for this function:
|
inline |
Definition at line 57 of file QuestWrapper.h.
References AssetWrapper::AssetUpdated, AssetWrapper::markModified(), and AssetTWrapper< quest_step_definition >::myWrappedItem.
Here is the call graph for this function:
|
inline |
Definition at line 51 of file QuestWrapper.h.
References AssetWrapper::AssetUpdated, AssetWrapper::markModified(), AssetTWrapper< quest_step_definition >::myWrappedItem, and step.
Here is the call graph for this function:
|
inline |
Definition at line 47 of file QuestWrapper.h.
References AssetTWrapper< quest_step_definition >::myWrappedItem.
|
readwrite |
Definition at line 31 of file QuestWrapper.h.
Referenced by setConditions().
|
readwrite |
Definition at line 29 of file QuestWrapper.h.
Referenced by setDescription().
|
readwrite |
Definition at line 30 of file QuestWrapper.h.
|
readwrite |
Definition at line 28 of file QuestWrapper.h.
Referenced by setStep().