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

Last change on this file since 3913 was 2349, checked in by weber, 15 years ago

* empty log message *

File size: 4.7 KB
RevLine 
[748]1#ifndef BNSWINDOW_H
2#define BNSWINDOW_H
3
4#include <QtGui>
[749]5#include <QWhatsThis>
[1771]6#include <QMessageBox>
[748]7
[757]8#include "bns.h"
9
[749]10class bnsAboutDlg : public QDialog {
11 Q_OBJECT
12 public:
13 bnsAboutDlg(QWidget* parent);
14 ~bnsAboutDlg();
15};
16
[998]17class bnsFlowchartDlg : public QDialog {
18 Q_OBJECT
19
20 public:
21 bnsFlowchartDlg(QWidget* parent);
22 ~bnsFlowchartDlg();
23};
24
[748]25class bnsWindow : public QMainWindow {
26Q_OBJECT
27
28 public:
[758]29 bnsWindow();
[748]30 ~bnsWindow();
31
32 public slots:
[750]33 void slotMessage(const QByteArray msg);
[760]34 void slotError(const QByteArray msg);
[2138]35 void slotBnsTextChanged();
[1771]36 void customTrafo(const QString &text);
[748]37
38 private slots:
[749]39 void slotHelp();
40 void slotAbout();
[998]41 void slotFlowchart();
[749]42 void slotFontSel();
43 void slotSaveOptions();
44 void slotWhatsThis();
[754]45 void slotStart();
46 void slotStop();
[1058]47 void slotEphBytes(int nBytes);
48 void slotClkBytes(int nBytes);
[1258]49 void slotOutBytes1(int nBytes);
50 void slotOutBytes2(int nBytes);
[1728]51 void slotOutBytes3(int nBytes);
[2332]52 void slotOutBytes4(int nBytes);
53 void slotOutBytes5(int nBytes);
54 void slotOutBytes6(int nBytes);
[1803]55 void slotOutEphBytes(int nBytes);
[748]56
57 protected:
[749]58 virtual void closeEvent(QCloseEvent *);
[748]59
60 private:
[749]61 void CreateMenu();
62 void AddToolbar();
[760]63 void deleteBns();
[1058]64 void updateStatus(int ii, int nBytes);
[748]65
[749]66 QMenu* _menuHlp;
67 QMenu* _menuFile;
68
69 QAction* _actHelp;
70 QAction* _actAbout;
[998]71 QAction* _actFlowchart;
[749]72 QAction* _actFontSel;
73 QAction* _actSaveOpt;
74 QAction* _actQuit;
[754]75 QAction* _actWhatsThis;
76 QAction* _actStart;
77 QAction* _actStop;
[749]78
79 QWidget* _canvas;
[750]80
[958]81 QLineEdit* _proxyHostLineEdit;
82 QLineEdit* _proxyPortLineEdit;
[1728]83
84 QLineEdit* _logFileLineEdit;
85 QCheckBox* _fileAppendCheckBox;
86 QCheckBox* _autoStartCheckBox;
87
[958]88 QLineEdit* _ephHostLineEdit;
[752]89 QLineEdit* _ephPortLineEdit;
[1089]90 QLineEdit* _ephEchoLineEdit;
[1728]91
[787]92 QLineEdit* _clkPortLineEdit;
[1728]93 QLineEdit* _inpEchoLineEdit;
94
[1249]95 QLineEdit* _outHost_1_LineEdit;
96 QLineEdit* _outPort_1_LineEdit;
[1728]97 QLineEdit* _mountpoint_1_LineEdit;
[1249]98 QLineEdit* _password_1_LineEdit;
[1728]99 QComboBox* _refSys_1_ComboBox;
100 QLineEdit* _outFile_1_LineEdit;
[2046]101 QCheckBox* _CoM_1_CheckBox;
[1728]102
[1249]103 QLineEdit* _outHost_2_LineEdit;
104 QLineEdit* _outPort_2_LineEdit;
[1728]105 QLineEdit* _mountpoint_2_LineEdit;
[1249]106 QLineEdit* _password_2_LineEdit;
[1728]107 QComboBox* _refSys_2_ComboBox;
[1068]108 QLineEdit* _outFile_2_LineEdit;
[2046]109 QCheckBox* _CoM_2_CheckBox;
[1728]110
111 QLineEdit* _outHost_3_LineEdit;
112 QLineEdit* _outPort_3_LineEdit;
113 QLineEdit* _mountpoint_3_LineEdit;
114 QLineEdit* _password_3_LineEdit;
115 QComboBox* _refSys_3_ComboBox;
116 QLineEdit* _outFile_3_LineEdit;
[2046]117 QCheckBox* _CoM_3_CheckBox;
[1728]118
[2327]119 QLineEdit* _outHost_4_LineEdit;
120 QLineEdit* _outPort_4_LineEdit;
121 QLineEdit* _mountpoint_4_LineEdit;
122 QLineEdit* _password_4_LineEdit;
123 QComboBox* _refSys_4_ComboBox;
124 QLineEdit* _outFile_4_LineEdit;
125 QCheckBox* _CoM_4_CheckBox;
126
127 QLineEdit* _outHost_5_LineEdit;
128 QLineEdit* _outPort_5_LineEdit;
129 QLineEdit* _mountpoint_5_LineEdit;
130 QLineEdit* _password_5_LineEdit;
131 QComboBox* _refSys_5_ComboBox;
132 QLineEdit* _outFile_5_LineEdit;
133 QCheckBox* _CoM_5_CheckBox;
134
135 QLineEdit* _outHost_6_LineEdit;
136 QLineEdit* _outPort_6_LineEdit;
137 QLineEdit* _mountpoint_6_LineEdit;
138 QLineEdit* _password_6_LineEdit;
139 QComboBox* _refSys_6_ComboBox;
140 QLineEdit* _outFile_6_LineEdit;
141 QCheckBox* _CoM_6_CheckBox;
142
[2349]143 QLineEdit* _outHost_7_LineEdit;
144 QLineEdit* _outPort_7_LineEdit;
145 QLineEdit* _mountpoint_7_LineEdit;
146 QLineEdit* _password_7_LineEdit;
147 QComboBox* _refSys_7_ComboBox;
148 QLineEdit* _outFile_7_LineEdit;
149 QCheckBox* _CoM_7_CheckBox;
150
151 QLineEdit* _outHost_8_LineEdit;
152 QLineEdit* _outPort_8_LineEdit;
153 QLineEdit* _mountpoint_8_LineEdit;
154 QLineEdit* _password_8_LineEdit;
155 QComboBox* _refSys_8_ComboBox;
156 QLineEdit* _outFile_8_LineEdit;
157 QCheckBox* _CoM_8_CheckBox;
158
159 QLineEdit* _outHost_9_LineEdit;
160 QLineEdit* _outPort_9_LineEdit;
161 QLineEdit* _mountpoint_9_LineEdit;
162 QLineEdit* _password_9_LineEdit;
163 QComboBox* _refSys_9_ComboBox;
164 QLineEdit* _outFile_9_LineEdit;
165 QCheckBox* _CoM_9_CheckBox;
166
167 QLineEdit* _outHost_10_LineEdit;
168 QLineEdit* _outPort_10_LineEdit;
169 QLineEdit* _mountpoint_10_LineEdit;
170 QLineEdit* _password_10_LineEdit;
171 QComboBox* _refSys_10_ComboBox;
172 QLineEdit* _outFile_10_LineEdit;
173 QCheckBox* _CoM_10_CheckBox;
174
[1795]175 QLineEdit* _outHost_Eph_LineEdit;
176 QLineEdit* _outPort_Eph_LineEdit;
177 QLineEdit* _mountpoint_Eph_LineEdit;
178 QLineEdit* _password_Eph_LineEdit;
[1805]179 QSpinBox* _samplEphSpinBox;
[1795]180
[845]181 QLineEdit* _rnxPathLineEdit;
[1728]182 QComboBox* _rnxIntrComboBox;
183 QSpinBox* _rnxSamplSpinBox;
184
[845]185 QLineEdit* _sp3PathLineEdit;
186 QComboBox* _sp3IntrComboBox;
187 QSpinBox* _sp3SamplSpinBox;
[750]188
189 QTextEdit* _log;
[757]190
[1668]191 QTabWidget* tabs;
[1083]192//QWidget* _status;
193 QGroupBox* _status;
[2349]194 QLabel* _statusLbl[26];
195 double _statusCnt[13];
[1058]196 QMutex _mutex;
197
[757]198 t_bns* _bns;
[748]199};
200#endif
Note: See TracBrowser for help on using the repository browser.