Crossfire Server, Branches 1.12  R18729
CREMainWindow.h
Go to the documentation of this file.
1 #include <Qt>
2 
3 #include <QMainWindow>
4 
5 class QMdiArea;
6 class QAction;
7 class QMenu;
8 class CREArtifactWindow;
9 class CREArchetypeWindow;
10 class CRETreasureWindow;
11 class CREAnimationWindow;
12 class CREFormulaeWindow;
13 class CREResourcesWindow;
14 
15 class CREMainWindow : public QMainWindow
16 {
17  Q_OBJECT
18 
19  public:
20  CREMainWindow();
21 
22  private:
23  QMdiArea* myArea;
24 
25  void createActions();
26  void createMenus();
27 
28  QMenu* myOpenMenu;
29  QMenu* mySaveMenu;
30 
31  QAction* myOpenArtifacts;
32  QAction* myOpenArchetypes;
33  QAction* myOpenTreasures;
34  QAction* myOpenAnimations;
35  QAction* myOpenFormulae;
36  QAction* myOpenFaces;
37  QAction* myOpenResources;
38  QAction* mySaveFormulae;
39 
40  private slots:
41  void onOpenArtifacts();
42  void onOpenArchetypes();
43  void onOpenTreasures();
44  void onOpenAnimations();
45  void onOpenFormulae();
46  void onOpenFaces();
47  void onOpenResources();
48  void onSaveFormulae();
49 };
void onOpenArchetypes()
QMdiArea * myArea
Definition: CREMainWindow.h:23
QAction * myOpenAnimations
Definition: CREMainWindow.h:34
void onOpenFormulae()
QMenu * myOpenMenu
Definition: CREMainWindow.h:28
QAction * myOpenFormulae
Definition: CREMainWindow.h:35
void onOpenTreasures()
QAction * myOpenTreasures
Definition: CREMainWindow.h:33
void onOpenArtifacts()
void onOpenAnimations()
QAction * myOpenArtifacts
Definition: CREMainWindow.h:31
QAction * myOpenResources
Definition: CREMainWindow.h:37
QAction * myOpenArchetypes
Definition: CREMainWindow.h:32
QMenu * mySaveMenu
Definition: CREMainWindow.h:29
QAction * myOpenFaces
Definition: CREMainWindow.h:36
void onOpenResources()
QAction * mySaveFormulae
Definition: CREMainWindow.h:38
void createActions()