18 QGridLayout* layout =
new QGridLayout(
this);
20 myUsing =
new QTreeWidget(
this);
22 myUsing->setHeaderLabel(tr(
"Used by"));
23 myUsing->setIconSize(QSize(32, 32));
24 layout->addWidget(
myUsing, 1, 1);
39 QTreeWidgetItem*
root = NULL;
51 root->setExpanded(
true);
64 for (art = list->
items; art; art = art->
next)
72 root->setExpanded(
true);
static QTreeWidgetItem * archetypeNode(QTreeWidgetItem *parent)
static QTreeWidgetItem * artifactNode(QTreeWidgetItem *parent)
const Animations * myAnimation
struct artifactstruct * items
void setAnimation(const Animations *animation)
CREAnimationControl * myDisplay
struct artifactliststruct * next
EXTERN artifactlist * first_artifactlist
void setAnimation(const Animations *animation)
EXTERN archetype * first_archetype
struct artifactstruct * next