-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainGameWindow.h
51 lines (41 loc) · 945 Bytes
/
MainGameWindow.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*
* File: MainGameWindow.h
* Author: brandon
*
* Created on June 27, 2011, 10:45 PM
*/
#ifndef MAINGAMEWINDOW_H
#define MAINGAMEWINDOW_H
#include <QtGui/QMainWindow>
class QSplitter;
class GameDockWidget;
class GLFrame;
class StatisticsWindow;
class NetworkManager;
class SettingsWidget;
class MainGameWindow : public QMainWindow {
Q_OBJECT
public:
MainGameWindow();
virtual ~MainGameWindow();
bool client_start();
void startGame();
protected slots:
void openStatistics();
void startConnect();
private:
QMenuBar* menuBar;
QStatusBar* statusBar;
QMenu* menuFile;
QAction* actionQuit;
QMenu* menuWindow;
QAction* actionStatistics;
QMenu* menuHelp;
QSplitter* splitterWidget;
GameDockWidget* dockContent;
GLFrame* gameFrame;
StatisticsWindow* stat;
SettingsWidget* settingsWidget;
NetworkManager* networker;
};
#endif /* MAINGAMEWINDOW_H */