source: ntrip/trunk/BNS/bnswindow.h@ 757

Last change on this file since 757 was 757, checked in by mervart, 16 years ago

* empty log message *

File size: 1.1 KB
Line 
1#ifndef BNSWINDOW_H
2#define BNSWINDOW_H
3
4#include <QtGui>
5#include <QWhatsThis>
6
7#include "bns.h"
8
9class bnsAboutDlg : public QDialog {
10 Q_OBJECT
11 public:
12 bnsAboutDlg(QWidget* parent);
13 ~bnsAboutDlg();
14};
15
16class bnsWindow : public QMainWindow {
17Q_OBJECT
18
19 public:
20 bnsWindow(t_bns* bns);
21 ~bnsWindow();
22
23 public slots:
24 void slotMessage(const QByteArray msg);
25
26 private slots:
27 void slotHelp();
28 void slotAbout();
29 void slotFontSel();
30 void slotSaveOptions();
31 void slotWhatsThis();
32 void slotStart();
33 void slotStop();
34
35 protected:
36 virtual void closeEvent(QCloseEvent *);
37
38 private:
39 void CreateMenu();
40 void AddToolbar();
41
42 QMenu* _menuHlp;
43 QMenu* _menuFile;
44
45 QAction* _actHelp;
46 QAction* _actAbout;
47 QAction* _actFontSel;
48 QAction* _actSaveOpt;
49 QAction* _actQuit;
50 QAction* _actWhatsThis;
51 QAction* _actStart;
52 QAction* _actStop;
53
54 QWidget* _canvas;
55
56 QLineEdit* _ephHostLineEdit;
57 QLineEdit* _ephPortLineEdit;
58 QLineEdit* _proxyHostLineEdit;
59 QLineEdit* _proxyPortLineEdit;
60
61 QTextEdit* _log;
62
63 t_bns* _bns;
64};
65#endif
Note: See TracBrowser for help on using the repository browser.