![]() |
Crossfire Resources Editor
|
#include <SoundFiles.h>
Inheritance diagram for SoundFiles:
Collaboration diagram for SoundFiles:Public Member Functions | |
| virtual AssetWrapper * | child (int index) override |
| virtual int | childIndex (AssetWrapper *child) override |
| virtual int | childrenCount () const override |
| virtual QString | displayName () const override |
| QString | licenseInformation () const |
| void | refreshSounds () |
| SoundFiles (AssetWrapper *parent) | |
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 | |
| std::vector< SoundFile * > | mySounds |
Protected Attributes inherited from AssetWrapper | |
| QString | myPanelName |
| AssetWrapper * | myParent |
Properties | |
| QString | licenseInformation |
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) |
Definition at line 20 of file SoundFiles.h.
| SoundFiles::SoundFiles | ( | AssetWrapper * | parent | ) |
Definition at line 22 of file SoundFiles.cpp.
References refreshSounds(), and AssetWrapper::tipProperty.
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from AssetWrapper.
Definition at line 93 of file SoundFiles.cpp.
References mySounds.
Referenced by childIndex().
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from AssetWrapper.
Definition at line 97 of file SoundFiles.cpp.
References child(), and mySounds.
Here is the call graph for this function:
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements AssetWrapper.
Definition at line 27 of file SoundFiles.h.
| QString SoundFiles::licenseInformation | ( | ) | const |
| void SoundFiles::refreshSounds | ( | ) |
Definition at line 27 of file SoundFiles.cpp.
References AssetWrapper::AfterLayoutChange, AssetWrapper::BeforeLayoutChange, events, AssetWrapper::markModified(), mySounds, LicenseManager::parseLicenseFile(), and CRESettings::soundsDirectory().
Referenced by SoundFiles().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 38 of file SoundFiles.h.
Referenced by child(), childIndex(), childrenCount(), and refreshSounds().
|
read |
Definition at line 23 of file SoundFiles.h.