![]() |
Crossfire Resources Editor
|
#include <TreasureWrapper.h>
Inheritance diagram for TreasureYesNo:
Collaboration diagram for TreasureYesNo:Public Member Functions | |
| virtual AssetWrapper * | child (int child) override |
| virtual int | childIndex (AssetWrapper *child) override |
| virtual int | childrenCount () const override |
| virtual QIcon | displayIcon () const override |
| virtual QString | displayName () const override |
| virtual void | fillMenu (QMenu *menu) override |
| virtual void | removeChild (AssetWrapper *) override |
| void | setIsYes (bool isYes) |
| TreasureYesNo (TreasureWrapper *parent, treasure *tr, ResourcesManager *resources, bool isYes) | |
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 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 |
| 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 | |
| bool | myIsYes |
| AssetWrapper * | myWrapped |
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 | |
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 93 of file TreasureWrapper.h.
| TreasureYesNo::TreasureYesNo | ( | TreasureWrapper * | parent, |
| treasure * | tr, | ||
| ResourcesManager * | resources, | ||
| bool | isYes | ||
| ) |
Definition at line 340 of file TreasureWrapper.cpp.
References myWrapped, and ResourcesManager::wrap().
Here is the call graph for this function:
|
inlineoverridevirtual |
Reimplemented from AssetWrapper.
Definition at line 102 of file TreasureWrapper.h.
References TreasureWrapper::child().
Here is the call graph for this function:
|
inlineoverridevirtual |
Reimplemented from AssetWrapper.
Definition at line 103 of file TreasureWrapper.h.
References TreasureWrapper::child().
Here is the call graph for this function:
|
inlineoverridevirtual |
Reimplemented from AssetWrapper.
Definition at line 101 of file TreasureWrapper.h.
|
inlineoverridevirtual |
Reimplemented from AssetWrapper.
Definition at line 99 of file TreasureWrapper.h.
References CREPixmap::getTreasureNoIcon(), and CREPixmap::getTreasureYesIcon().
Here is the call graph for this function:
|
inlineoverridevirtual |
Implements AssetWrapper.
Definition at line 98 of file TreasureWrapper.h.
|
overridevirtual |
Reimplemented from AssetWrapper.
Definition at line 345 of file TreasureWrapper.cpp.
References AssetWrapper::myParent, AssetWrapper::removeChild(), and TreasureWrapper::swapYesNo().
Here is the call graph for this function:
|
inlineoverridevirtual |
Reimplemented from AssetWrapper.
Definition at line 104 of file TreasureWrapper.h.
References AssetWrapper::myParent, and AssetWrapper::removeChild().
Here is the call graph for this function:
|
inline |
Definition at line 107 of file TreasureWrapper.h.
Referenced by TreasureWrapper::swapYesNo().
Here is the caller graph for this function:
|
protected |
Definition at line 110 of file TreasureWrapper.h.
|
protected |
Definition at line 111 of file TreasureWrapper.h.
Referenced by TreasureYesNo().