#include <ArtifactWrapper.h>
|
| QStringList | allowed () const |
| |
| | ArtifactWrapper (AssetWrapper *parent, artifact *art, ResourcesManager *resourcesManager) |
| |
| int | chance () const |
| |
| int | difficulty () const |
| |
| virtual QIcon | displayIcon () const override |
| |
| virtual QString | displayName () const override |
| |
| QObject * | item () |
| |
| QString | name () const |
| |
| void | setChance (int chance) |
| |
| void | setSpecificItem (const object *item) |
| |
| virtual PossibleUse | uses (const AssetWrapper *asset, std::string &) const override |
| |
| | AssetTWrapper (AssetWrapper *parent, const QString &panelName, artifact *wrappedItem) |
| |
| artifact * | wrappedItem () const |
| |
| | AssetWrapper (AssetWrapper *parent, const QString &panelName="empty") |
| |
| virtual bool | canDrag () const |
| |
| virtual bool | canDrop (const QMimeData *, int) const |
| |
| virtual bool | canExportAsCsv () const |
| |
| virtual AssetWrapper * | child (int) |
| |
| virtual int | childIndex (AssetWrapper *) |
| |
| virtual int | childrenCount () 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 | ~AssetWrapper () override |
| |
|
| enum | ChangeType {
AssetUpdated,
BeforeChildAdd,
AfterChildAdd,
BeforeChildRemove,
AfterChildRemove,
BeforeLayoutChange,
AfterLayoutChange
} |
| |
| enum | PossibleUse { Uses,
ChildrenMayUse,
DoesntUse
} |
| |
| virtual void | removeChild (AssetWrapper *) |
| |
| void | dataModified (AssetWrapper *asset, AssetWrapper::ChangeType type, int extra) |
| |
| void | modified () |
| |
| static bool | compareByDisplayName (const AssetWrapper *left, const AssetWrapper *right) |
| |
| static const char * | tipProperty = "_cre_internal" |
| |
| virtual void | wasModified (AssetWrapper *asset, ChangeType type, int extra) |
| |
Definition at line 24 of file ArtifactWrapper.h.
◆ ArtifactWrapper()
◆ allowed()
| QStringList ArtifactWrapper::allowed |
( |
| ) |
const |
◆ chance()
| int ArtifactWrapper::chance |
( |
| ) |
const |
◆ difficulty()
| int ArtifactWrapper::difficulty |
( |
| ) |
const |
◆ displayIcon()
| QIcon ArtifactWrapper::displayIcon |
( |
| ) |
const |
|
overridevirtual |
◆ displayName()
| QString ArtifactWrapper::displayName |
( |
| ) |
const |
|
overridevirtual |
◆ item()
| QObject* ArtifactWrapper::item |
( |
| ) |
|
◆ name()
| QString ArtifactWrapper::name |
( |
| ) |
const |
◆ setChance()
| void ArtifactWrapper::setChance |
( |
int |
chance | ) |
|
◆ setSpecificItem()
| void ArtifactWrapper::setSpecificItem |
( |
const object * |
item | ) |
|
|
inline |
◆ uses()
◆ myResourcesManager
◆ mySpecificItem
| const object* ArtifactWrapper::mySpecificItem |
|
protected |
◆ allowed
| QStringList ArtifactWrapper::allowed |
|
read |
◆ chance
| int ArtifactWrapper::chance |
|
readwrite |
◆ difficulty
| int ArtifactWrapper::difficulty |
|
read |
◆ item
| QObject * ArtifactWrapper::item |
|
read |
◆ name
| QString ArtifactWrapper::name |
|
read |
The documentation for this class was generated from the following files: