Line | |
---|
1 | #ifndef GnssCenter_MAINWIN_H
|
---|
2 | #define GnssCenter_MAINWIN_H
|
---|
3 |
|
---|
4 | #include <QtGui>
|
---|
5 |
|
---|
6 | namespace GnssCenter {
|
---|
7 |
|
---|
8 | class t_mdiArea;
|
---|
9 |
|
---|
10 | class t_mainWin : public QMainWindow {
|
---|
11 | Q_OBJECT
|
---|
12 |
|
---|
13 | public:
|
---|
14 | t_mainWin(QWidget* parent = 0, Qt::WindowFlags flags = 0);
|
---|
15 | ~t_mainWin();
|
---|
16 |
|
---|
17 | private slots:
|
---|
18 | void slotFontSel();
|
---|
19 | void slotSaveOptions();
|
---|
20 | void slotEditInput();
|
---|
21 | void slotMap();
|
---|
22 | void slotHelp();
|
---|
23 | void slotAbout();
|
---|
24 |
|
---|
25 | protected:
|
---|
26 | virtual void closeEvent(QCloseEvent* event);
|
---|
27 |
|
---|
28 | private:
|
---|
29 | void createMenu();
|
---|
30 | void createToolBar();
|
---|
31 | void createStatusBar();
|
---|
32 |
|
---|
33 | t_mdiArea* _mdi;
|
---|
34 |
|
---|
35 | QMenu* _menuFile;
|
---|
36 | QMenu* _menuNew;
|
---|
37 | QMenu* _menuHlp;
|
---|
38 |
|
---|
39 | QAction* _actFontSel;
|
---|
40 | QAction* _actSaveOpt;
|
---|
41 | QAction* _actQuit;
|
---|
42 | QAction* _actEditInput;
|
---|
43 | QAction* _actMap;
|
---|
44 | QAction* _actHelp;
|
---|
45 | QAction* _actAbout;
|
---|
46 |
|
---|
47 | QToolBar* _fileToolBar;
|
---|
48 | QToolBar* _editToolBar;
|
---|
49 | };
|
---|
50 |
|
---|
51 | } // namespace GnssCenter
|
---|
52 |
|
---|
53 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.