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