Initial commit.
[emufront] / src / mainwindow.h
1 #ifndef MAINWINDOW_H
2 #define MAINWINDOW_H
3
4 #include <QMainWindow>
5
6 class QAction;
7 class PlatformDialog;
8 class QLabel;
9
10 class MainWindow : public QMainWindow
11 {
12         Q_OBJECT
13
14 public:
15         MainWindow();
16         //~MainWindow();
17
18 protected:
19         void closeEvent(QCloseEvent *event);
20
21 private slots:
22         void configurePlatforms();
23
24 private:
25         void createActions();
26         void createMenus();
27         void createStatusBar();
28         void readSettings();
29         void writeSettings();
30         bool okToContinue();
31         PlatformDialog *platformDialog;
32         QMenu *configMenu;
33         QMenu *fileMenu;
34         QAction *configPlatformAction;  
35         QAction *exitAction;
36         QLabel *messageLabel;
37
38         // todo ks. s. 46 jatkoa...
39 };
40
41 #endif