Crossfire Server, Trunk
|
#include <AnimationPanel.h>
Public Member Functions | |
AnimationPanel (QWidget *parent, AssetModel *assets) | |
virtual void | updateItem () override |
Public Member Functions inherited from AssetTWrapperPanel< Animations > | |
AssetTWrapperPanel (QWidget *parent) | |
virtual void | setAsset (AssetWrapper *asset) override |
Public Member Functions inherited from AssetWrapperPanel | |
ArchetypeComboBox * | addArchetype (const QString &label, const char *property, bool readOnly=false, bool allowNone=true) |
AssetUseTree * | addAssetUseTree (const QString &label, AssetModel *assets, const char *property) |
void | addBottomFiller () |
QCheckBox * | addCheckBox (const QString &label, const char *property, bool readOnly=true) |
void | addFaceChoice (const QString &label, const char *property, bool readOnly=true, bool allowNone=true) |
QLabel * | addLabel (const QString &label, const char *property, bool wrapText=false) |
QLineEdit * | addLineEdit (const QString &label, const char *property, bool readOnly=true) |
void | addQuestChoice (const QString &label, const char *property, bool readOnly=true, bool allowNone=true) |
QSpinBox * | addSpinBox (const QString &label, const char *property, int min=0, int max=100, bool readOnly=true) |
void | addTab (const QString &title) |
QTextEdit * | addTextEdit (const QString &label, const char *property, bool readOnly=true) |
TreasureListComboBox * | addTreasureList (const QString &label, const char *property, bool readOnly=true, bool allowNone=true) |
AssetWrapperPanel (QWidget *parent) | |
virtual | ~AssetWrapperPanel () |
Protected Attributes | |
AnimationControl * | myDisplay |
QTreeWidget * | myFaces |
Protected Attributes inherited from AssetTWrapperPanel< Animations > | |
Animations * | myItem |
Protected Attributes inherited from AssetWrapperPanel | |
AssetWrapper * | myAsset |
QMetaObject::Connection | myChanged |
QMetaObject::Connection | myDelete |
bool | myInhibit |
QGridLayout * | myLayout |
QList< PropertyLink > | myLinks |
QTabWidget * | myTab |
Additional Inherited Members | |
Protected Slots inherited from AssetWrapperPanel | |
void | dataChanged () |
void | itemChanged () |
Protected Member Functions inherited from AssetWrapperPanel | |
template<class T > | |
T * | addWidget (const QString &label, T *widget, bool sideBySide, const char *property, const char *widgetProperty) |
Display details about an animation.
Definition at line 29 of file AnimationPanel.h.
AnimationPanel::AnimationPanel | ( | QWidget * | parent, |
AssetModel * | assets | ||
) |
Definition at line 31 of file AnimationPanel.cpp.
References AssetWrapperPanel::addAssetUseTree(), AssetWrapperPanel::addWidget(), myDisplay, and myFaces.
|
overridevirtual |
Called when myItem is updated.
Implements AssetTWrapperPanel< Animations >.
Definition at line 42 of file AnimationPanel.cpp.
References CREUtils::faceNode(), Animations::faces, myDisplay, myFaces, AssetTWrapperPanel< Animations >::myItem, Animations::num_animations, root, and AnimationControl::setAnimation().
|
protected |
Definition at line 38 of file AnimationPanel.h.
Referenced by AnimationPanel(), and updateItem().
|
protected |
Definition at line 37 of file AnimationPanel.h.
Referenced by AnimationPanel(), and updateItem().