![]() |
Crossfire Resources Editor
|
#include <ArchetypesWrapper.h>
Inheritance diagram for ArchetypesWrapper:
Collaboration diagram for ArchetypesWrapper:Public Member Functions | |
| ArchetypesWrapper (AssetWrapper *parent, ResourcesManager *resources) | |
| virtual bool | canExportAsCsv () const override |
| virtual void | exportAsCSV (const AssetWrapper *item, QString &contents) const override |
| virtual void | fillCsvHeader (QString &contents) const |
| virtual void | fillMenu (QMenu *menu) override |
| virtual PossibleUse | uses (const AssetWrapper *, std::string &) const override |
Public Member Functions inherited from AssetsCollectionWrapper< archetype > | |
| AssetsCollectionWrapper (AssetWrapper *parent, const QString &name, AssetsCollection< archetype > *collection, ResourcesManager *resources, const QString &tip) | |
| virtual bool | canDrop (const QMimeData *, int) const override |
| virtual AssetWrapper * | child (int index) override |
| virtual int | childIndex (AssetWrapper *child) override |
| virtual int | childrenCount () const override |
| virtual QString | displayName () const |
Public Member Functions inherited from AssetWrapper | |
| AssetWrapper (AssetWrapper *parent, const QString &panelName="empty") | |
| virtual bool | canDrag () const |
| virtual int | childrenCount () const |
| virtual QIcon | displayIcon () const |
| virtual QString | displayName () const =0 |
| virtual QString | displayPanelName () const |
| AssetWrapper * | displayParent () const |
| virtual void | drag (QMimeData *) const |
| virtual void | drop (const QMimeData *, int) |
| void | markModified (ChangeType change, int extra=0) |
| AssetWrapper * | self () |
| void | setDisplayParent (AssetWrapper *parent) |
| virtual QString | tooltip () const |
| virtual | ~AssetWrapper () override |
Protected Member Functions | |
| void | addArchetype () |
Protected Member Functions inherited from AssetWrapper | |
| virtual void | wasModified (AssetWrapper *asset, ChangeType type, int extra) |
Protected Attributes | |
| ResourcesManager * | myResources |
Protected Attributes inherited from AssetsCollectionWrapper< archetype > | |
| QVector< AssetWrapper * > | myAssets |
| QString | myName |
Protected Attributes inherited from AssetWrapper | |
| QString | myPanelName |
| AssetWrapper * | myParent |
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" |
Properties inherited from AssetWrapper | |
| QString | displayName |
| AssetWrapper | self |
Definition at line 25 of file ArchetypesWrapper.h.
|
inline |
Definition at line 29 of file ArchetypesWrapper.h.
References myResources.
|
protected |
Definition at line 46 of file ArchetypesWrapper.cpp.
References AssetWrapper::AfterChildAdd, AssetOriginAndCreationDialog::Archetype, ResourcesManager::archetypeFiles(), ResourcesManager::archetypeModified(), ResourcesManager::assetDefined(), AssetWrapper::BeforeChildAdd, AssetOriginAndCreationDialog::code(), AssetOriginAndCreationDialog::CreateAsset, AssetOriginAndCreationDialog::file(), AssetWrapper::markModified(), AssetsCollectionWrapper< archetype >::myAssets, myResources, and ResourcesManager::wrap().
Referenced by fillMenu().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineoverridevirtual |
Reimplemented from AssetWrapper.
Definition at line 39 of file ArchetypesWrapper.h.
|
overridevirtual |
Reimplemented from AssetWrapper.
Definition at line 76 of file ArchetypesWrapper.cpp.
References csvFieldCount, and csvFields.
|
virtual |
Reimplemented from AssetWrapper.
Definition at line 67 of file ArchetypesWrapper.cpp.
References csvFieldCount, and csvFields.
|
overridevirtual |
Reimplemented from AssetWrapper.
Definition at line 42 of file ArchetypesWrapper.cpp.
References addArchetype().
Here is the call graph for this function:
|
inlineoverridevirtual |
Reimplemented from AssetWrapper.
Definition at line 33 of file ArchetypesWrapper.h.
References AssetWrapper::ChildrenMayUse.
|
protected |
Definition at line 46 of file ArchetypesWrapper.h.
Referenced by addArchetype(), and ArchetypesWrapper().