-
Notifications
You must be signed in to change notification settings - Fork 1
/
mainwindow.h
33 lines (28 loc) · 1.14 KB
/
mainwindow.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
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include "monitorwidget.h"
#include "statuswidget.h"
#include "game.h"
#include "widgets.h"
#include <QMainWindow>
#include <QMdiArea>
#include <QTimer>
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow(QWidget *parent = 0);
~MainWindow();
QMdiArea *workspace; /**< The workspace to add widgets to it */
CMonitorWidget *monitorWidget; /**< The monitor widget instance */
CStatusPrinter *printer; /**< The pointer to status bar printer which will be sent to knowledge constructor */
CStatusWidget *statusWidget; /**< Status bar */
CTabDockWidget *tabWidget; /**< The tab widget which you can add regular widgets to it and will make them Doc Tab widget*/
CLoadPlayersWidget *loadWidget; /**< Player loading widget */
CLoadMapWidget *mapWidget; /**< Map generation widget */
CGameWidget *gameWidget; /**< Just have a simple play button FOR NOW! */
CInfoWidget *info; /**< Game information widget */
QTimer* statusUpdateTimer; /**< a timer to update the status bar texts */
CGame* game; /**< Game driver class instance */
};
#endif // MAINWINDOW_H