 |
Crossfire Resources Editor
|
Go to the documentation of this file.
25 #include "AssetsManager.h"
26 #include "Archetypes.h"
36 myFaces->setHeaderLabel(tr(
"Faces"));
37 myFaces->setIconSize(QSize(32, 32));
48 root->setExpanded(
true);
50 for (
int face = 0; face <
myItem->num_animations; face++)
AnimationPanel(QWidget *parent, AssetModel *assets)
static QTreeWidgetItem * faceNode(QTreeWidgetItem *parent)
AssetUseTree * addAssetUseTree(const QString &label, AssetModel *assets, const char *property)
Panel displaying information about a AssetTWrapper.
Qt model representing all items in CRE, with the exception of experience.
virtual void updateItem() override
Called when myItem is updated.
Animations * myItem
Item to display.
AnimationControl * myDisplay
T * addWidget(const QString &label, T *widget, bool sideBySide, const char *property, const char *widgetProperty)
Widget displaying all directions of an animation.
void setAnimation(const Animations *animation, int facings=-1)
Define the animation to display.