Crossfire Server, Trunk
RandomMapPanel.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 RANDOM_MAP_PANEL_H
14 #define RANDOM_MAP_PANEL_H
15 
17 
18 class RandomMap;
19 class QTextEdit;
20 class QLabel;
21 
25 class CRERandomMapPanel : public AssetSWrapperPanel<const RandomMap>
26 {
27 public:
28  CRERandomMapPanel(QWidget* parent);
29  virtual void updateItem() override;
30 private:
31  QLabel* mySource;
32  QTextEdit* myInformation;
33 };
34 
35 #endif /* RANDOM_MAP_PANEL_H */
RandomMap
Definition: RandomMap.h:24
CRERandomMapPanel
Definition: RandomMapPanel.h:25
CRERandomMapPanel::mySource
QLabel * mySource
Definition: RandomMapPanel.h:31
CRERandomMapPanel::CRERandomMapPanel
CRERandomMapPanel(QWidget *parent)
Definition: RandomMapPanel.cpp:19
AssetSWrapperPanel
Definition: AssetWrapperPanel.h:112
AssetWrapperPanel.h
CRERandomMapPanel::updateItem
virtual void updateItem() override
Definition: RandomMapPanel.cpp:28
CRERandomMapPanel::myInformation
QTextEdit * myInformation
Definition: RandomMapPanel.h:32