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

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

* empty log message *

File size: 1.6 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* _proxyHostLineEdit;
59 QLineEdit* _proxyPortLineEdit;
60 QLineEdit* _ephHostLineEdit;
61 QLineEdit* _ephPortLineEdit;
62 QLineEdit* _clkPortLineEdit;
63 QLineEdit* _clkFileLineEdit;
64 QLineEdit* _logFileLineEdit;
65 QLineEdit* _outHostLineEdit;
66 QLineEdit* _outPortLineEdit;
67 QLineEdit* _mountpointLineEdit;
68 QLineEdit* _passwordLineEdit;
69 QLineEdit* _outFileLineEdit;
70 QLineEdit* _rnxPathLineEdit;
71 QLineEdit* _sp3PathLineEdit;
72 QComboBox* _rnxIntrComboBox;
73 QComboBox* _sp3IntrComboBox;
74 QComboBox* _refSysComboBox;
75 QSpinBox* _rnxSamplSpinBox;
76 QSpinBox* _sp3SamplSpinBox;
77 QCheckBox* _fileAppendCheckBox;
78
79 QTextEdit* _log;
80
81 t_bns* _bns;
82};
83#endif
Note: See TracBrowser for help on using the repository browser.