source: ntrip/trunk/BNC/src/bncwindow.h@ 4806

Last change on this file since 4806 was 4790, checked in by mervart, 12 years ago
File size: 8.2 KB
Line 
1// Part of BNC, a utility for retrieving decoding and
2// converting GNSS data streams from NTRIP broadcasters.
3//
4// Copyright (C) 2007
5// German Federal Agency for Cartography and Geodesy (BKG)
6// http://www.bkg.bund.de
7// Czech Technical University Prague, Department of Geodesy
8// http://www.fsv.cvut.cz
9//
10// Email: euref-ip@bkg.bund.de
11//
12// This program is free software; you can redistribute it and/or
13// modify it under the terms of the GNU General Public License
14// as published by the Free Software Foundation, version 2.
15//
16// This program is distributed in the hope that it will be useful,
17// but WITHOUT ANY WARRANTY; without even the implied warranty of
18// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19// GNU General Public License for more details.
20//
21// You should have received a copy of the GNU General Public License
22// along with this program; if not, write to the Free Software
23// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
24
25#ifndef BNCWINDOW_H
26#define BNCWINDOW_H
27
28#include <QtGui>
29#include <QWhatsThis>
30
31#include "bncgetthread.h"
32#include "bnccaster.h"
33
34class bncAboutDlg : public QDialog {
35 Q_OBJECT
36 public:
37 bncAboutDlg(QWidget* parent);
38 ~bncAboutDlg();
39};
40
41class bncFlowchartDlg : public QDialog {
42 Q_OBJECT
43
44 public:
45 bncFlowchartDlg(QWidget* parent);
46 ~bncFlowchartDlg();
47};
48
49class bncFigure;
50class bncFigureLate;
51class bncFigurePPP;
52class bncBytesCounter;
53class bncEphUploadCaster;
54class qtFileChooser;
55
56class bncWindow : public QMainWindow {
57 Q_OBJECT
58
59 public:
60 bncWindow();
61 ~bncWindow();
62 void CreateMenu();
63 void AddToolbar();
64
65 public slots:
66 void slotMountPointsRead(QList<bncGetThread*>);
67 void slotBncTextChanged();
68 void slotPostProgress(int);
69
70 private slots:
71 void slotWindowMessage(const QByteArray msg, bool showOnScreen);
72 void slotHelp();
73 void slotAbout();
74 void slotFlowchart();
75 void slotFontSel();
76 void slotSaveOptions();
77 void slotAddMountPoints();
78 void slotMap();
79 void slotStart();
80 void slotFinishedPostProcessingPPP();
81 void slotFinishedPostProcessingReqc();
82 void slotStop();
83 void slotNewMountPoints(QStringList* mountPoints);
84 void slotDeleteMountPoints();
85 void slotGetThreadsFinished();
86 void slotSelectionChanged();
87 void slotWhatsThis();
88 void slotAddCmbRow();
89 void slotDelCmbRow();
90 void slotAddUploadRow();
91 void slotDelUploadRow();
92 void slotSetUploadTrafo();
93 void slotReqcEditOption();
94
95 protected:
96 virtual void closeEvent(QCloseEvent *);
97
98 private:
99 void saveOptions();
100 void populateMountPointsTable();
101 void populateCmbTable();
102 void populateUploadTable();
103 void enableWidget(bool enable, QWidget* widget);
104 void startRealTime();
105 void startPostProcessingPPP();
106 void startPostProcessingReqc();
107 void enableStartStop();
108
109 QMenu* _menuHlp;
110 QMenu* _menuFile;
111
112 QAction* _actHelp;
113 QAction* _actAbout;
114 QAction* _actFlowchart;
115 QAction* _actFontSel;
116 QAction* _actSaveOpt;
117 QAction* _actQuit;
118 QAction* _actMap;
119 QAction* _actStart;
120 QAction* _actStop;
121 QAction* _actAddMountPoints;
122 QAction* _actDeleteMountPoints;
123 QAction* _actwhatsthis;
124 QAction* _actwhatsthismenu;
125
126 QLineEdit* _proxyHostLineEdit;
127 QLineEdit* _proxyPortLineEdit;
128 QLineEdit* _sslCaCertPathLineEdit;
129 QCheckBox* _ignoreSslErrorsCheckBox;
130 QLineEdit* _outFileLineEdit;
131 QLineEdit* _outPortLineEdit;
132 QLineEdit* _outUPortLineEdit;
133 QLineEdit* _outEphPortLineEdit;
134 QLineEdit* _corrPortLineEdit;
135 QLineEdit* _rnxPathLineEdit;
136 QLineEdit* _ephPathLineEdit;
137 QLineEdit* _corrPathLineEdit;
138 QLineEdit* _miscMountLineEdit;
139 QLineEdit* _pppMountLineEdit;
140 QLineEdit* _pppCorrMountLineEdit;
141 QLineEdit* _pppNMEALineEdit;
142 QLineEdit* _pppNMEAPortLineEdit;
143 QLineEdit* _pppSigCLineEdit;
144 QLineEdit* _pppSigPLineEdit;
145 QLineEdit* _pppSigCrd0;
146 QLineEdit* _pppSigCrdP;
147 QLineEdit* _pppSigTrp0;
148 QLineEdit* _pppSigTrpP;
149 QLineEdit* _pppSync;
150 QLineEdit* _pppAverageLineEdit;
151 QLineEdit* _pppQuickStartLineEdit;
152 QLineEdit* _pppMaxSolGapLineEdit;
153 QLineEdit* _pppAudioResponseLineEdit;
154 QLineEdit* _pppRefCrdXLineEdit;
155 QLineEdit* _pppRefCrdYLineEdit;
156 QLineEdit* _pppRefCrdZLineEdit;
157 QLineEdit* _pppRefdNLineEdit;
158 QLineEdit* _pppRefdELineEdit;
159 QLineEdit* _pppRefdULineEdit;
160 QCheckBox* _pppPlotCoordinates;
161 QCheckBox* _pppUsePhaseCheckBox;
162 QCheckBox* _pppEstTropoCheckBox;
163 QCheckBox* _pppGLONASSCheckBox;
164 QCheckBox* _pppGalileoCheckBox;
165 QLineEdit* _pppAntennaLineEdit;
166 qtFileChooser* _pppAntexFileChooser;
167
168 qtFileChooser* _postObsFileChooser;
169 qtFileChooser* _postNavFileChooser;
170 qtFileChooser* _postCorrFileChooser;
171 QLineEdit* _postOutLineEdit;
172
173 QComboBox* _reqcActionComboBox;
174 QPushButton* _reqcEditOptionButton;
175 qtFileChooser* _reqcObsFileChooser;
176 qtFileChooser* _reqcNavFileChooser;
177 QLineEdit* _reqcOutObsLineEdit;
178 QLineEdit* _reqcOutNavLineEdit;
179 QLineEdit* _reqcOutLogLineEdit;
180 QLineEdit* _reqcPlotDirLineEdit;
181
182 QCheckBox* _rnxV3CheckBox;
183 QCheckBox* _ephV3CheckBox;
184 QLineEdit* _rnxSkelLineEdit;
185 QLineEdit* _rnxScrpLineEdit;
186 QLineEdit* _logFileLineEdit;
187 QLineEdit* _rawOutFileLineEdit;
188 QComboBox* _pppSPPComboBox;
189 QComboBox* _rnxIntrComboBox;
190 QComboBox* _ephIntrComboBox;
191 QComboBox* _corrIntrComboBox;
192 QSpinBox* _rnxSamplSpinBox;
193 QSpinBox* _binSamplSpinBox;
194 QCheckBox* _rnxAppendCheckBox;
195 QCheckBox* _autoStartCheckBox;
196 QCheckBox* _scanRTCMCheckBox;
197 QSpinBox* _waitTimeSpinBox;
198 QSpinBox* _corrTimeSpinBox;
199 QComboBox* _obsRateComboBox;
200 QSpinBox* _adviseFailSpinBox;
201 QSpinBox* _adviseRecoSpinBox;
202 QLineEdit* _adviseScriptLineEdit;
203 QComboBox* _perfIntrComboBox;
204 QTableWidget* _mountPointsTable;
205
206 QLineEdit* _serialPortNameLineEdit;
207 QLineEdit* _serialMountPointLineEdit;
208 QComboBox* _serialBaudRateComboBox;
209 QComboBox* _serialParityComboBox;
210 QComboBox* _serialDataBitsComboBox;
211 QComboBox* _serialStopBitsComboBox;
212 QComboBox* _serialFlowControlComboBox;
213 QLineEdit* _serialHeightNMEALineEdit;
214 QLineEdit* _serialFileNMEALineEdit;
215 QComboBox* _serialAutoNMEAComboBox;
216
217 QLineEdit* _LatLineEdit;
218 QLineEdit* _LonLineEdit;
219
220 QComboBox* _onTheFlyComboBox;
221
222 QTextEdit* _log;
223
224 QWidget* _canvas;
225 QTabWidget* _aogroup;
226
227 QTabWidget* _loggroup;
228 bncFigure* _bncFigure;
229 bncFigureLate* _bncFigureLate;
230 bncFigurePPP* _bncFigurePPP;
231
232 QTableWidget* _cmbTable;
233 QLineEdit* _cmbMaxresLineEdit;
234 QComboBox* _cmbMethodComboBox;
235 QSpinBox* _cmbSamplSpinBox;
236
237 QTableWidget* _uploadTable;
238 QComboBox* _uploadIntrComboBox;
239 QSpinBox* _uploadSamplRtcmEphCorrSpinBox;
240 QSpinBox* _uploadSamplSp3SpinBox;
241 QSpinBox* _uploadSamplClkRnxSpinBox;
242
243 QLineEdit* _uploadEphHostLineEdit;
244 QLineEdit* _uploadEphPortLineEdit;
245 QLineEdit* _uploadEphPasswordLineEdit;
246 QLineEdit* _uploadEphMountpointLineEdit;
247 QSpinBox* _uploadEphSampleSpinBox;
248 bncBytesCounter* _uploadEphBytesCounter;
249
250 bncCaster* _caster;
251
252 bncEphUploadCaster* _casterEph;
253
254 bool _realTimeRunning;
255 bool _runningRealTime;
256 bool _runningPostProcessingPPP;
257 bool _runningPostProcessingReqc;
258
259#ifdef RTROVER_INTERFACE
260 QComboBox* _rtroverModeComboBox;
261 QLineEdit* _rtroverRoverMountLineEdit;
262 QLineEdit* _rtroverCorrMountLineEdit;
263 QLineEdit* _rtroverBaseMountLineEdit;
264 QLineEdit* _rtroverRoverRefCrdXLineEdit;
265 QLineEdit* _rtroverRoverRefCrdYLineEdit;
266 QLineEdit* _rtroverRoverRefCrdZLineEdit;
267 QLineEdit* _rtroverBaseRefCrdXLineEdit;
268 QLineEdit* _rtroverBaseRefCrdYLineEdit;
269 QLineEdit* _rtroverBaseCrdZLineEdit;
270 QLineEdit* _rtroverRoverDNLineEdit;
271 QLineEdit* _rtroverRoverDELineEdit;
272 QLineEdit* _rtroverRoverDULineEdit;
273 QLineEdit* _rtroverBaseDNLineEdit;
274 QLineEdit* _rtroverBaseDELineEdit;
275 QLineEdit* _rtroverBaseDULineEdit;
276 QLineEdit* _rtroverRoverAntennaLineEdit;
277 QLineEdit* _rtroverBaseAntennaLineEdit;
278 qtFileChooser* _rtroverAntexFileChooser;
279 QLineEdit* _rtroverOutputLineEdit;
280#endif
281};
282#endif
Note: See TracBrowser for help on using the repository browser.