Go to the documentation of this file.
24 static QHash<QString, archetype*>
events;
37 events.insert(arch->name, arch);
47 myLayout->addWidget(
new QLabel(tr(
"Name:"),
this), 0, 0);
52 myExitsFrom->setHeaderLabel(tr(
"Exits from this map"));
56 myExitsTo->setHeaderLabel(tr(
"Exits leading to this map"));
60 myScripts->setHeaderLabel(tr(
"Scripts on this map"));
64 myLayout->addWidget(
new QLabel(tr(
"Background music:"),
this), 4, 0);
85 myExitsTo->addTopLevelItem(
new QTreeWidgetItem(QStringList(
path)));
94 QTreeWidgetItem* child =
new QTreeWidgetItem(QStringList(QString(
"%1 [%2, %3], %4, %5, %6").arg(hook->
itemName()).arg(hook->
x()).arg(hook->
y()).arg(hook->
eventName()).arg(hook->
pluginName()).arg(script->
path())));
97 if (
arch != NULL &&
arch->clone.face != NULL)
QLabel * myBackgroundMusic
arch
DIALOGCHECK MINARGS 1 MAXARGS 1
static QIcon getIcon(uint16_t faceNumber)
CREMapInformation * myItem
AssetsManager * getManager()
CREMapPanel(ScriptFileManager *manager, QWidget *parent)
const QString & path() const
QList< ScriptFile * > scriptsForMap(CREMapInformation *map)
static QHash< QString, archetype * > events
void each(std::function< void(T *)> op)
Archetypes * archetypes()
QTreeWidget * myExitsFrom
ScriptFileManager * myManager
QList< HookInformation * > hooks() const
static AssetsManager * manager
virtual void updateItem() override