Crossfire Server, Trunk
MonsterResistances.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 MONSTERR_ESISTANCES_H
14 #define MONSTERR_ESISTANCES_H
15 
16 #include <QDialog>
17 #include <map>
18 class QGraphicsView;
19 class QGraphicsScene;
20 
24 class MonsterResistances : public QDialog {
25 public:
26  MonsterResistances(QWidget *parent);
27 
28 private:
29  void buildGraph();
30 
31  QGraphicsView *myDisplay;
32  QGraphicsScene *myScene;
33  std::map<int, QColor> myResistances;
34 };
35 
36 #endif /* MONSTER_RESISTANCES_H */
MonsterResistances
Definition: MonsterResistances.h:24
MonsterResistances::myResistances
std::map< int, QColor > myResistances
Definition: MonsterResistances.h:33
MonsterResistances::buildGraph
void buildGraph()
Definition: MonsterResistances.cpp:57
MonsterResistances::myScene
QGraphicsScene * myScene
Definition: MonsterResistances.h:32
MonsterResistances::myDisplay
QGraphicsView * myDisplay
Definition: MonsterResistances.h:31
MonsterResistances::MonsterResistances
MonsterResistances(QWidget *parent)
Definition: MonsterResistances.cpp:37