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

Last change on this file since 1315 was 1258, checked in by weber, 16 years ago

* empty log message *

File size: 2.3 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 bnsFlowchartDlg : public QDialog {
17 Q_OBJECT
18
19 public:
20 bnsFlowchartDlg(QWidget* parent);
21 ~bnsFlowchartDlg();
22};
23
24class bnsWindow : public QMainWindow {
25Q_OBJECT
26
27 public:
28 bnsWindow();
29 ~bnsWindow();
30
31 public slots:
32 void slotMessage(const QByteArray msg);
33 void slotError(const QByteArray msg);
34
35 private slots:
36 void slotHelp();
37 void slotAbout();
38 void slotFlowchart();
39 void slotFontSel();
40 void slotSaveOptions();
41 void slotWhatsThis();
42 void slotStart();
43 void slotStop();
44 void slotEphBytes(int nBytes);
45 void slotClkBytes(int nBytes);
46 void slotOutBytes1(int nBytes);
47 void slotOutBytes2(int nBytes);
48
49 protected:
50 virtual void closeEvent(QCloseEvent *);
51
52 private:
53 void CreateMenu();
54 void AddToolbar();
55 void deleteBns();
56 void updateStatus(int ii, int nBytes);
57
58 QMenu* _menuHlp;
59 QMenu* _menuFile;
60
61 QAction* _actHelp;
62 QAction* _actAbout;
63 QAction* _actFlowchart;
64 QAction* _actFontSel;
65 QAction* _actSaveOpt;
66 QAction* _actQuit;
67 QAction* _actWhatsThis;
68 QAction* _actStart;
69 QAction* _actStop;
70
71 QWidget* _canvas;
72
73 QLineEdit* _proxyHostLineEdit;
74 QLineEdit* _proxyPortLineEdit;
75 QLineEdit* _inpEchoLineEdit;
76 QLineEdit* _ephHostLineEdit;
77 QLineEdit* _ephPortLineEdit;
78 QLineEdit* _ephEchoLineEdit;
79 QLineEdit* _clkPortLineEdit;
80 QLineEdit* _logFileLineEdit;
81 QLineEdit* _outHost_1_LineEdit;
82 QLineEdit* _outPort_1_LineEdit;
83 QLineEdit* _password_1_LineEdit;
84 QLineEdit* _outHost_2_LineEdit;
85 QLineEdit* _outPort_2_LineEdit;
86 QLineEdit* _password_2_LineEdit;
87 QLineEdit* _mountpoint_1_LineEdit;
88 QLineEdit* _mountpoint_2_LineEdit;
89 QLineEdit* _outFile_1_LineEdit;
90 QLineEdit* _outFile_2_LineEdit;
91 QComboBox* _refSys_1_ComboBox;
92 QComboBox* _refSys_2_ComboBox;
93 QLineEdit* _rnxPathLineEdit;
94 QLineEdit* _sp3PathLineEdit;
95 QComboBox* _rnxIntrComboBox;
96 QComboBox* _sp3IntrComboBox;
97 QSpinBox* _rnxSamplSpinBox;
98 QSpinBox* _sp3SamplSpinBox;
99 QCheckBox* _fileAppendCheckBox;
100
101 QTextEdit* _log;
102
103//QWidget* _status;
104 QGroupBox* _status;
105 QLabel* _statusLbl[8];
106 double _statusCnt[4];
107 QMutex _mutex;
108
109 t_bns* _bns;
110};
111#endif
Note: See TracBrowser for help on using the repository browser.