Go to the documentation of this file.
14 static QHash<QString, archetype*>
events;
27 events.insert(arch->name, arch);
34 QGridLayout*
layout =
new QGridLayout(
this);
35 myMaps =
new QTreeWidget(
this);
37 myMaps->setHeaderLabel(
"Maps using this script");
38 myMaps->setIconSize(QSize(32, 32));
39 myMaps->setRootIsDecorated(
true);
48 QHash<QString, QTreeWidgetItem*>
maps;
54 QTreeWidgetItem*
r =
new QTreeWidgetItem(
myMaps, QStringList(hook->
map()->
path()));
60 QTreeWidgetItem* child =
new QTreeWidgetItem(QStringList(QString(
"%1 (%2, %3), %4, %5").arg(hook->
itemName()).arg(hook->
x()).arg(hook->
y()).arg(hook->
eventName()).arg(hook->
pluginName())));
63 if (
arch != NULL &&
arch->clone.face != NULL)
static std::unordered_map< std::string, mapzone * > maps
CREScriptPanel(QWidget *parent)
arch
DIALOGCHECK MINARGS 1 MAXARGS 1
static QIcon getIcon(uint16_t faceNumber)
AssetsManager * getManager()
virtual void setItem(ScriptFile *script) override
void each(std::function< void(T *)> op)
Archetypes * archetypes()
static QHash< QString, archetype * > events
QList< HookInformation * > hooks() const