Crossfire Server, Trunk
|
#include <FaceWrapper.h>
Public Member Functions | |
virtual QIcon | displayIcon () const override |
virtual QString | displayName () const override |
FaceWrapper (AssetWrapper *parent, Face *face, ResourcesManager *resourcesManager) | |
QString | name () const |
virtual PossibleUse | uses (const AssetWrapper *asset, std::string &) const override |
Public Member Functions inherited from AssetTWrapper< Face > | |
AssetTWrapper (AssetWrapper *parent, const QString &panelName, Face *wrappedItem) | |
Face * | wrappedItem () 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 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 | fillMenu (QMenu *) |
void | markModified (ChangeType change, int extra=0) |
AssetWrapper * | self () |
void | setDisplayParent (AssetWrapper *parent) |
virtual | ~AssetWrapper () override |
Protected Attributes | |
ResourcesManager * | myResourcesManager |
Protected Attributes inherited from AssetTWrapper< Face > | |
Face * | myWrappedItem |
Protected Attributes inherited from AssetWrapper | |
QString | myPanelName |
AssetWrapper * | myParent |
Properties | |
QString | name |
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 24 of file FaceWrapper.h.
FaceWrapper::FaceWrapper | ( | AssetWrapper * | parent, |
Face * | face, | ||
ResourcesManager * | resourcesManager | ||
) |
Definition at line 17 of file FaceWrapper.cpp.
|
inlineoverridevirtual |
Reimplemented from AssetWrapper.
Definition at line 33 of file FaceWrapper.h.
References CREPixmap::getIcon(), and AssetTWrapper< Face >::myWrappedItem.
|
inlineoverridevirtual |
Implements AssetWrapper.
Definition at line 32 of file FaceWrapper.h.
References AssetTWrapper< Face >::myWrappedItem, and Face::name.
|
inline |
Definition at line 37 of file FaceWrapper.h.
References AssetTWrapper< Face >::myWrappedItem, and Face::name.
|
overridevirtual |
Reimplemented from AssetWrapper.
Definition at line 21 of file FaceWrapper.cpp.
References AssetWrapper::DoesntUse, AssetTWrapper< Face >::myWrappedItem, Face::smoothface, and AssetWrapper::Uses.
|
protected |
Definition at line 40 of file FaceWrapper.h.
|
read |
Definition at line 27 of file FaceWrapper.h.