![]() |
Crossfire Resources Editor
|
#include <AllAssets.h>
Inheritance diagram for AllAssets:
Collaboration diagram for AllAssets:Public Member Functions | |
| AllAssets (ResourcesManager *resources, ScriptFileManager *scripts, MessageManager *messages) | |
| virtual AssetWrapper * | child (int index) |
| virtual int | childIndex (AssetWrapper *child) |
| virtual int | childrenCount () const |
| virtual QString | displayName () const |
| AssetWrapper * | randomMaps () |
| AssetWrapper * | regions () |
| SoundFiles * | sounds () const |
Public Member Functions inherited from AssetWrapper | |
| AssetWrapper (AssetWrapper *parent, const QString &panelName="empty") | |
| virtual bool | canDrag () const |
| virtual bool | canDrop (const QMimeData *, int) const |
| virtual bool | canExportAsCsv () const |
| virtual QIcon | displayIcon () const |
| virtual QString | displayPanelName () const |
| AssetWrapper * | displayParent () const |
| virtual void | drag (QMimeData *) const |
| virtual void | drop (const QMimeData *, int) |
| virtual void | exportAsCSV (const AssetWrapper *, QString &) const |
| virtual void | fillCsvHeader (QString &) const |
| virtual void | fillMenu (QMenu *) |
| 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 |
Protected Attributes | |
| QVector< AssetWrapper * > | myAssets |
| AssetWrapper * | myRandomMaps |
| AssetWrapper * | myRegions |
| SoundFiles * | mySounds |
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" |
Protected Member Functions inherited from AssetWrapper | |
| virtual void | wasModified (AssetWrapper *asset, ChangeType type, int extra) |
Properties inherited from AssetWrapper | |
| QString | displayName |
| AssetWrapper | self |
Definition at line 23 of file AllAssets.h.
| AllAssets::AllAssets | ( | ResourcesManager * | resources, |
| ScriptFileManager * | scripts, | ||
| MessageManager * | messages | ||
| ) |
Definition at line 39 of file AllAssets.cpp.
References ResourcesManager::getMapInformationManager(), myAssets, myRandomMaps, myRegions, and mySounds.
Here is the call graph for this function:
|
inlinevirtual |
Reimplemented from AssetWrapper.
Definition at line 31 of file AllAssets.h.
References myAssets.
Referenced by childIndex(), and CREMainWindow::createMenus().
Here is the caller graph for this function:
|
inlinevirtual |
Reimplemented from AssetWrapper.
Definition at line 32 of file AllAssets.h.
References child(), and myAssets.
Here is the call graph for this function:
|
inlinevirtual |
Reimplemented from AssetWrapper.
Definition at line 30 of file AllAssets.h.
References myAssets.
Referenced by CREMainWindow::createMenus().
Here is the caller graph for this function:
|
inlinevirtual |
Implements AssetWrapper.
Definition at line 28 of file AllAssets.h.
|
inline |
Definition at line 35 of file AllAssets.h.
References myRandomMaps.
Referenced by CREMainWindow::mapAdded().
Here is the caller graph for this function:
|
inline |
Definition at line 34 of file AllAssets.h.
References myRegions.
Referenced by CREMainWindow::mapAdded().
Here is the caller graph for this function:
|
inline |
Definition at line 36 of file AllAssets.h.
References mySounds.
|
protected |
Definition at line 39 of file AllAssets.h.
Referenced by AllAssets(), child(), childIndex(), and childrenCount().
|
protected |
Definition at line 41 of file AllAssets.h.
Referenced by AllAssets(), and randomMaps().
|
protected |
Definition at line 40 of file AllAssets.h.
Referenced by AllAssets(), and regions().
|
protected |
Definition at line 42 of file AllAssets.h.
Referenced by AllAssets(), and sounds().