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

Last change on this file since 760 was 760, 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();
21 ~bnsWindow();
22
23 public slots:
24 void slotMessage(const QByteArray msg);
25 void slotError(const QByteArray msg);
26
27 private slots:
28 void slotHelp();
29 void slotAbout();
30 void slotFontSel();
31 void slotSaveOptions();
32 void slotWhatsThis();
33 void slotStart();
34 void slotStop();
35
36 protected:
37 virtual void closeEvent(QCloseEvent *);
38
39 private:
40 void CreateMenu();
41 void AddToolbar();
42 void deleteBns();
43
44 QMenu* _menuHlp;
45 QMenu* _menuFile;
46
47 QAction* _actHelp;
48 QAction* _actAbout;
49 QAction* _actFontSel;
50 QAction* _actSaveOpt;
51 QAction* _actQuit;
52 QAction* _actWhatsThis;
53 QAction* _actStart;
54 QAction* _actStop;
55
56 QWidget* _canvas;
57
58 QLineEdit* _ephHostLineEdit;
59 QLineEdit* _ephPortLineEdit;
60 QLineEdit* _proxyHostLineEdit;
61 QLineEdit* _proxyPortLineEdit;
62
63 QTextEdit* _log;
64
65 t_bns* _bns;
66};
67#endif
Note: See TracBrowser for help on using the repository browser.