Go to the documentation of this file.
14 #include "../ResourcesManager.h"
19 connect(menu->addAction(tr(
"Add archetype")), &QAction::triggered, [
this] () {
addArchetype(); });
27 if (aqd.exec() != QDialog::Accepted) {
virtual void fillMenu(QMenu *menu) override
arch
DIALOGCHECK MINARGS 1 MAXARGS 1
archetype * get_archetype_struct(void)
ArchetypeWrapper * wrap(archetype *arch, AssetWrapper *parent)
virtual void assetDefined(const archetype *arch, const std::string &filename) override
AssetsManager * getManager()
std::vector< Key > keys() const
std::vector< std::string > archetypeFiles() const
T * define(const Key &name, T *asset)
sstring add_string(const char *str)
Archetypes * archetypes()
void archetypeModified(archetype *arch)
#define CLEAR_FLAG(xyz, p)
void markModified(ChangeType change, int extra=0)
QVector< AssetWrapper * > myAssets
ResourcesManager * myResources