equal
deleted
inserted
replaced
1 #ifndef MAINWINDOW_H |
|
2 #define MAINWINDOW_H |
|
3 |
|
4 #include <QSignalMapper> |
|
5 |
|
6 #include <QtGui/QMainWindow> |
|
7 #include <QtGui/QWorkspace> |
|
8 |
|
9 #include "Document.h" |
|
10 |
|
11 namespace Ui |
|
12 { |
|
13 class MainWindow; |
|
14 } |
|
15 |
|
16 class MainWindow : public QMainWindow |
|
17 { |
|
18 Q_OBJECT |
|
19 |
|
20 public: |
|
21 MainWindow(QWidget *parent = 0); |
|
22 ~MainWindow(); |
|
23 |
|
24 public slots: |
|
25 void notYetImplemented(); |
|
26 void openLog(); |
|
27 void showStatus(); |
|
28 void enableActions(); |
|
29 void closeEvent(QCloseEvent *event); |
|
30 |
|
31 private: |
|
32 Document *activeDocument(); |
|
33 void createActions(); |
|
34 void updateWindowList(); |
|
35 |
|
36 |
|
37 Ui::MainWindow *ui; |
|
38 QWorkspace *workspace; |
|
39 QSignalMapper *mapper; |
|
40 }; |
|
41 |
|
42 #endif // MAINWINDOW_H |
|