Go to the documentation of this file.
18 QGridLayout*
layout =
new QGridLayout(
this);
20 layout->addWidget(
new QLabel(tr(
"Title:"),
this), 1, 1);
25 layout->addWidget(
new QLabel(tr(
"Skill:"),
this), 2, 1);
29 layout->addWidget(
new QLabel(tr(
"Cauldron:"),
this), 3, 1);
33 layout->addWidget(
new QLabel(tr(
"Yield:"),
this), 4, 1);
37 layout->addWidget(
new QLabel(tr(
"Chance:"),
this), 5, 1);
41 layout->addWidget(
new QLabel(tr(
"Experience:"),
this), 6, 1);
45 layout->addWidget(
new QLabel(tr(
"Difficulty:"),
this), 7, 1);
53 mySkill->addItem(tr(
"(none)"), 0);
65 layout->addWidget(
new QLabel(tr(
"Index:"),
this), 9, 1);
76 layout->addWidget(
new QLabel(tr(
"Ingredients:"),
this), 11, 1, 1, 2);
80 QHBoxLayout* buttons =
new QHBoxLayout;
83 myReset =
new QPushButton(tr(
"&Reset"));
85 layout->addLayout(buttons, 13, 1, 1, 2);
153 list.append(ing->name);
173 if (
mySkill->currentIndex() != 0)
183 const Archetype*
arch;
184 ManagedReference ref;
187 ref =
myArchetypes->topLevelItem(
a)->data(0, Qt::UserRole).toInt();
188 arch = DM_ARCHS->get(ref);
189 arches.append(
arch->name);
190 DM_ARCHS->release(ref);
#define QUERY_FLAG(xyz, p)
arch
DIALOGCHECK MINARGS 1 MAXARGS 1
static QTreeWidgetItem * archetypeNode(QTreeWidgetItem *parent)
struct artifactstruct * items
AssetsManager * getManager()
const artifactlist * find_artifactlist(int type)
struct artifactstruct * next
struct linked_char * next
void each(std::function< void(T *)> op)
Archetypes * archetypes()
archetype * find_archetype(const char *name)
struct recipestruct recipe