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>
18
#include "
assets/AssetWrapperPanel.h
"
19
20
class
CREMapInformation
;
21
class
ScriptFileManager
;
22
23
class
CREMapPanel
:
public
AssetSWrapperPanel
<CREMapInformation>
24
{
25
public
:
26
CREMapPanel
(
ScriptFileManager
*
manager
, QWidget* parent);
27
virtual
~CREMapPanel
();
28
29
virtual
void
updateItem
()
override
;
30
31
protected
:
32
ScriptFileManager
*
myManager
;
33
QLabel*
myName
;
34
QTreeWidget*
myExitsTo
;
35
QTreeWidget*
myExitsFrom
;
36
QTreeWidget*
myScripts
;
37
QLabel*
myBackgroundMusic
;
38
};
39
40
#endif
/* _CREMAPPANEL_H */
ScriptFileManager
Definition:
ScriptFileManager.h:24
CREMapPanel::myBackgroundMusic
QLabel * myBackgroundMusic
Definition:
CREMapPanel.h:37
CREMapPanel::myName
QLabel * myName
Definition:
CREMapPanel.h:33
CREMapInformation
Definition:
CREMapInformation.h:27
CREMapPanel::CREMapPanel
CREMapPanel(ScriptFileManager *manager, QWidget *parent)
Definition:
CREMapPanel.cpp:44
CREMapPanel::~CREMapPanel
virtual ~CREMapPanel()
Definition:
CREMapPanel.cpp:73
CREMapPanel::myScripts
QTreeWidget * myScripts
Definition:
CREMapPanel.h:36
CREMapPanel::myExitsTo
QTreeWidget * myExitsTo
Definition:
CREMapPanel.h:34
AssetSWrapperPanel
Definition:
AssetWrapperPanel.h:111
AssetWrapperPanel.h
CREMapPanel::myExitsFrom
QTreeWidget * myExitsFrom
Definition:
CREMapPanel.h:35
CREMapPanel::myManager
ScriptFileManager * myManager
Definition:
CREMapPanel.h:32
CREMapPanel
Definition:
CREMapPanel.h:23
manager
static AssetsManager * manager
Definition:
assets.cpp:64
CREMapPanel::updateItem
virtual void updateItem() override
Definition:
CREMapPanel.cpp:77
crossfire-crossfire-server
utils
cre
CREMapPanel.h
Generated by
1.8.17