source: ntrip/trunk/GnssCenter/main/mainwin.h@ 5700

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