Crossfire Server, Trunk
CREMapPanel.h
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 #ifndef _CREMAPPANEL_H
14 #define _CREMAPPANEL_H
15 
16 #include <QObject>
17 #include <QtWidgets>
19 #include "CREMapInformation.h"
20 
21 class ScriptFileManager;
22 
26 class CREMapPanel : public AssetSWrapperPanel<CREMapInformation>
27 {
28  Q_OBJECT
29  public:
30  CREMapPanel(ScriptFileManager* manager, QWidget* parent);
31  virtual ~CREMapPanel();
32 
33  virtual void updateItem() override;
34 
35  protected:
37  QLabel* myName;
38  QTreeWidget* myExitsTo;
39  QTreeWidget* myExitsFrom;
40  QTreeWidget* myScripts;
42 };
43 
44 #endif /* _CREMAPPANEL_H */
ScriptFileManager
Definition: ScriptFileManager.h:26
CREMapPanel::myBackgroundMusic
QLabel * myBackgroundMusic
Definition: CREMapPanel.h:41
CREMapInformation.h
CREMapPanel::myName
QLabel * myName
Definition: CREMapPanel.h:37
CREMapPanel::CREMapPanel
CREMapPanel(ScriptFileManager *manager, QWidget *parent)
Definition: CREMapPanel.cpp:42
CREMapPanel::~CREMapPanel
virtual ~CREMapPanel()
Definition: CREMapPanel.cpp:71
CREMapPanel::myScripts
QTreeWidget * myScripts
Definition: CREMapPanel.h:40
CREMapPanel::myExitsTo
QTreeWidget * myExitsTo
Definition: CREMapPanel.h:38
AssetSWrapperPanel
Definition: AssetWrapperPanel.h:113
AssetWrapperPanel.h
CREMapPanel::myExitsFrom
QTreeWidget * myExitsFrom
Definition: CREMapPanel.h:39
CREMapPanel::myManager
ScriptFileManager * myManager
Definition: CREMapPanel.h:36
CREMapPanel
Definition: CREMapPanel.h:26
manager
static AssetsManager * manager
Definition: assets.cpp:60
CREMapPanel::updateItem
virtual void updateItem() override
Definition: CREMapPanel.cpp:75