![]() |
Crossfire Resources Editor
|
#include <QuestWrapper.h>
Inheritance diagram for QuestWrapper:
Collaboration diagram for QuestWrapper:Public Member Functions | |
| virtual bool | canDrop (const QMimeData *, int) const override |
| bool | canRestart () const |
| virtual AssetWrapper * | child (int) override |
| virtual int | childIndex (AssetWrapper *) override |
| virtual int | childrenCount () const override |
| QString | code () const |
| QString | comment () const |
| QString | description () const |
| virtual QIcon | displayIcon () const override |
| virtual QString | displayName () const override |
| virtual void | drop (const QMimeData *, int) override |
| const Face * | face () const |
| virtual void | fillMenu (QMenu *menu) override |
| bool | isSystem () const |
| const quest_definition * | questParent () const |
| QuestWrapper (AssetWrapper *parent, quest_definition *quest, ResourcesManager *resources) | |
| void | setComment (const QString &comment) |
| void | setDescription (const QString &description) |
| void | setFace (const Face *face) |
| void | setQuestParent (const quest_definition *parent) |
| void | setRestart (bool restart) |
| void | setSystem (bool system) |
| void | setTitle (const QString &title) |
| QString | title () const |
| virtual PossibleUse | uses (const AssetWrapper *asset, std::string &) const override |
Public Member Functions inherited from AssetTWrapper< quest_definition > | |
| AssetTWrapper (AssetWrapper *parent, const QString &panelName, quest_definition *wrappedItem) | |
| quest_definition * | wrappedItem () const |
Public Member Functions inherited from AssetWrapper | |
| AssetWrapper (AssetWrapper *parent, const QString &panelName="empty") | |
| virtual bool | canDrag () const |
| virtual bool | canExportAsCsv () const |
| virtual QString | displayPanelName () const |
| AssetWrapper * | displayParent () const |
| virtual void | drag (QMimeData *) 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 | ~AssetWrapper () override |
Protected Member Functions | |
| void | addStep () |
| virtual void | removeChild (AssetWrapper *child) override |
| virtual void | wasModified (AssetWrapper *asset, ChangeType type, int extra) override |
Protected Attributes | |
| ResourcesManager * | myResources |
Protected Attributes inherited from AssetTWrapper< quest_definition > | |
| quest_definition * | myWrappedItem |
Protected Attributes inherited from AssetWrapper | |
| QString | myPanelName |
| AssetWrapper * | myParent |
Properties | |
| bool | canRestart |
| QString | code |
| QString | comment |
| QString | description |
| const Face | face |
| bool | isSystem |
| const quest_definition | questParent |
| QString | title |
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 | |
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" |
Definition at line 66 of file QuestWrapper.h.
|
inline |
Definition at line 79 of file QuestWrapper.h.
|
protected |
Definition at line 144 of file QuestWrapper.cpp.
References AssetWrapper::AfterChildAdd, AssetWrapper::BeforeChildAdd, AssetWrapper::markModified(), and AssetTWrapper< quest_definition >::myWrappedItem.
Referenced by fillMenu().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from AssetWrapper.
Definition at line 99 of file QuestWrapper.cpp.
References MimeUtils::QuestStep.
|
inline |
Definition at line 101 of file QuestWrapper.h.
References AssetTWrapper< quest_definition >::myWrappedItem.
|
overridevirtual |
Reimplemented from AssetWrapper.
Definition at line 78 of file QuestWrapper.cpp.
References myResources, AssetTWrapper< quest_definition >::myWrappedItem, and ResourcesManager::wrap().
Referenced by childIndex(), and removeChild().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from AssetWrapper.
Definition at line 85 of file QuestWrapper.cpp.
References child(), myResources, AssetTWrapper< quest_definition >::myWrappedItem, and ResourcesManager::wrap().
Referenced by QuestStepWrapper::drag(), and removeChild().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from AssetWrapper.
Definition at line 74 of file QuestWrapper.cpp.
References AssetTWrapper< quest_definition >::myWrappedItem.
|
inline |
Definition at line 95 of file QuestWrapper.h.
References AssetTWrapper< quest_definition >::myWrappedItem.
|
inline |
Definition at line 100 of file QuestWrapper.h.
References AssetTWrapper< quest_definition >::myWrappedItem.
|
inline |
Definition at line 99 of file QuestWrapper.h.
References AssetTWrapper< quest_definition >::myWrappedItem.
|
inlineoverridevirtual |
Reimplemented from AssetWrapper.
Definition at line 83 of file QuestWrapper.h.
References CREPixmap::getIcon(), and AssetTWrapper< quest_definition >::myWrappedItem.
Here is the call graph for this function:
|
inlineoverridevirtual |
Implements AssetWrapper.
Definition at line 82 of file QuestWrapper.h.
References AssetTWrapper< quest_definition >::myWrappedItem.
|
overridevirtual |
Reimplemented from AssetWrapper.
Definition at line 103 of file QuestWrapper.cpp.
References AssetWrapper::AfterChildAdd, AssetWrapper::AfterChildRemove, AssetWrapper::BeforeChildAdd, AssetWrapper::BeforeChildRemove, code, MimeUtils::extractQuestSteps(), AssetWrapper::markModified(), and AssetTWrapper< quest_definition >::myWrappedItem.
Here is the call graph for this function:
|
inline |
Definition at line 97 of file QuestWrapper.h.
References AssetTWrapper< quest_definition >::myWrappedItem.
|
overridevirtual |
Reimplemented from AssetWrapper.
Definition at line 137 of file QuestWrapper.cpp.
References addStep(), AssetWrapper::fillMenu(), and AssetWrapper::myParent.
Here is the call graph for this function:
|
inline |
Definition at line 102 of file QuestWrapper.h.
References AssetTWrapper< quest_definition >::myWrappedItem.
|
inline |
Definition at line 98 of file QuestWrapper.h.
References AssetTWrapper< quest_definition >::myWrappedItem.
|
overrideprotectedvirtual |
Reimplemented from AssetWrapper.
Definition at line 154 of file QuestWrapper.cpp.
References AssetWrapper::AfterChildRemove, AssetWrapper::BeforeChildRemove, child(), childIndex(), AssetWrapper::markModified(), and AssetTWrapper< quest_definition >::myWrappedItem.
Here is the call graph for this function:
|
inline |
Definition at line 142 of file QuestWrapper.h.
References AssetWrapper::AssetUpdated, comment, AssetWrapper::markModified(), and AssetTWrapper< quest_definition >::myWrappedItem.
Here is the call graph for this function:
|
inline |
Definition at line 135 of file QuestWrapper.h.
References AssetWrapper::AssetUpdated, description, AssetWrapper::markModified(), and AssetTWrapper< quest_definition >::myWrappedItem.
Here is the call graph for this function:
|
inline |
Definition at line 111 of file QuestWrapper.h.
References AssetWrapper::AssetUpdated, face, AssetWrapper::markModified(), and AssetTWrapper< quest_definition >::myWrappedItem.
Here is the call graph for this function:
|
inline |
Definition at line 117 of file QuestWrapper.h.
References AssetWrapper::AssetUpdated, AssetWrapper::markModified(), and AssetTWrapper< quest_definition >::myWrappedItem.
Here is the call graph for this function:
|
inline |
Definition at line 123 of file QuestWrapper.h.
References AssetWrapper::AssetUpdated, AssetWrapper::markModified(), and AssetTWrapper< quest_definition >::myWrappedItem.
Here is the call graph for this function:
|
inline |
Definition at line 129 of file QuestWrapper.h.
References AssetWrapper::AssetUpdated, AssetWrapper::markModified(), and AssetTWrapper< quest_definition >::myWrappedItem.
Here is the call graph for this function:
|
inline |
Definition at line 104 of file QuestWrapper.h.
References AssetWrapper::AssetUpdated, AssetWrapper::markModified(), AssetTWrapper< quest_definition >::myWrappedItem, and title.
Here is the call graph for this function:
|
inline |
Definition at line 96 of file QuestWrapper.h.
References AssetTWrapper< quest_definition >::myWrappedItem.
|
overridevirtual |
Reimplemented from AssetWrapper.
Definition at line 66 of file QuestWrapper.cpp.
References AssetWrapper::DoesntUse, face, AssetTWrapper< quest_definition >::myWrappedItem, and AssetWrapper::Uses.
|
overrideprotectedvirtual |
Reimplemented from AssetWrapper.
Definition at line 94 of file QuestWrapper.cpp.
References myResources, AssetTWrapper< quest_definition >::myWrappedItem, ResourcesManager::questModified(), and AssetWrapper::wasModified().
Here is the call graph for this function:
|
protected |
Definition at line 151 of file QuestWrapper.h.
Referenced by child(), childIndex(), and wasModified().
|
readwrite |
Definition at line 72 of file QuestWrapper.h.
|
read |
Definition at line 69 of file QuestWrapper.h.
Referenced by QuestStepWrapper::drag(), and drop().
|
readwrite |
Definition at line 76 of file QuestWrapper.h.
Referenced by setComment().
|
readwrite |
Definition at line 75 of file QuestWrapper.h.
Referenced by setDescription().
|
readwrite |
Definition at line 71 of file QuestWrapper.h.
|
readwrite |
Definition at line 74 of file QuestWrapper.h.
|
readwrite |
Definition at line 72 of file QuestWrapper.h.
|
readwrite |
Definition at line 70 of file QuestWrapper.h.
Referenced by setTitle().