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