Crossfire Server, Trunk
ScriptFilePanel.cpp
Go to the documentation of this file.
1 /*
2  * Crossfire -- cooperative multi-player graphical RPG and adventure game
3  *
4  * Copyright (c) 2022 the Crossfire Development Team
5  *
6  * Crossfire is free software and comes with ABSOLUTELY NO WARRANTY. You are
7  * welcome to redistribute it under certain conditions. For details, please
8  * see COPYING and LICENSE.
9  *
10  * The authors can be reached via e-mail at <crossfire@metalforge.org>.
11  */
12 
13 #include <QtWidgets>
14 #include "ScriptFilePanel.h"
15 #include "ScriptFile.h"
16 #include "ScriptFile.h"
17 #include "CREMapInformation.h"
18 #include "CREPixmap.h"
19 
20 #include "define.h"
21 #include "assets.h"
22 #include "AssetsManager.h"
23 
24 CREScriptPanel::CREScriptPanel(AssetModel *assets, QWidget* parent) : AssetWrapperPanel(parent)
25 {
26  addAssetUseTree(tr("Maps using this script"), assets, "self");
27 }
AssetWrapperPanel
Definition: AssetWrapperPanel.h:29
AssetsManager.h
CREMapInformation.h
AssetWrapperPanel::addAssetUseTree
AssetUseTree * addAssetUseTree(const QString &label, AssetModel *assets, const char *property)
Definition: AssetWrapperPanel.cpp:150
CREScriptPanel::CREScriptPanel
CREScriptPanel(AssetModel *assets, QWidget *parent)
Definition: ScriptFilePanel.cpp:24
ScriptFile.h
AssetModel
Definition: AssetModel.h:29
define.h
assets.h
ScriptFilePanel.h
CREPixmap.h