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

Last change on this file since 4546 was 4546, checked in by weber, 12 years ago

Audio response added to PPP option

File size: 7.3 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 slotStart();
79 void slotFinishedPostProcessingPPP();
80 void slotFinishedPostProcessingReqc();
81 void slotStop();
82 void slotNewMountPoints(QStringList* mountPoints);
83 void slotDeleteMountPoints();
84 void slotGetThreadsFinished();
85 void slotSelectionChanged();
86 void slotWhatsThis();
87 void slotAddCmbRow();
88 void slotDelCmbRow();
89 void slotAddUploadRow();
90 void slotDelUploadRow();
91 void slotSetUploadTrafo();
92 void slotReqcEditOption();
93
94 protected:
95 virtual void closeEvent(QCloseEvent *);
96
97 private:
98 void saveOptions();
99 void populateMountPointsTable();
100 void populateCmbTable();
101 void populateUploadTable();
102 void enableWidget(bool enable, QWidget* widget);
103 void startRealTime();
104 void startPostProcessingPPP();
105 void startPostProcessingReqc();
106 void enableStartStop();
107
108 QMenu* _menuHlp;
109 QMenu* _menuFile;
110
111 QAction* _actHelp;
112 QAction* _actAbout;
113 QAction* _actFlowchart;
114 QAction* _actFontSel;
115 QAction* _actSaveOpt;
116 QAction* _actQuit;
117 QAction* _actStart;
118 QAction* _actStop;
119 QAction* _actAddMountPoints;
120 QAction* _actDeleteMountPoints;
121 QAction* _actwhatsthis;
122 QAction* _actwhatsthismenu;
123
124 QLineEdit* _proxyHostLineEdit;
125 QLineEdit* _proxyPortLineEdit;
126 QLineEdit* _sslCaCertPathLineEdit;
127 QCheckBox* _ignoreSslErrorsCheckBox;
128 QLineEdit* _outFileLineEdit;
129 QLineEdit* _outPortLineEdit;
130 QLineEdit* _outUPortLineEdit;
131 QLineEdit* _outEphPortLineEdit;
132 QLineEdit* _corrPortLineEdit;
133 QLineEdit* _rnxPathLineEdit;
134 QLineEdit* _ephPathLineEdit;
135 QLineEdit* _corrPathLineEdit;
136 QLineEdit* _miscMountLineEdit;
137 QLineEdit* _pppMountLineEdit;
138 QLineEdit* _pppCorrMountLineEdit;
139 QLineEdit* _pppNMEALineEdit;
140 QLineEdit* _pppNMEAPortLineEdit;
141 QLineEdit* _pppSigCLineEdit;
142 QLineEdit* _pppSigPLineEdit;
143 QLineEdit* _pppSigCrd0;
144 QLineEdit* _pppSigCrdP;
145 QLineEdit* _pppSigTrp0;
146 QLineEdit* _pppSigTrpP;
147 QLineEdit* _pppSync;
148 QLineEdit* _pppAverageLineEdit;
149 QLineEdit* _pppQuickStartLineEdit;
150 QLineEdit* _pppMaxSolGapLineEdit;
151 QLineEdit* _pppAudioResponseLineEdit;
152 QLineEdit* _pppRefCrdXLineEdit;
153 QLineEdit* _pppRefCrdYLineEdit;
154 QLineEdit* _pppRefCrdZLineEdit;
155 QLineEdit* _pppRefdNLineEdit;
156 QLineEdit* _pppRefdELineEdit;
157 QLineEdit* _pppRefdULineEdit;
158 QCheckBox* _pppPlotCoordinates;
159 QCheckBox* _pppUsePhaseCheckBox;
160 QCheckBox* _pppEstTropoCheckBox;
161 QCheckBox* _pppGLONASSCheckBox;
162 QCheckBox* _pppGalileoCheckBox;
163 QLineEdit* _pppAntennaLineEdit;
164 qtFileChooser* _pppAntexFileChooser;
165
166 qtFileChooser* _postObsFileChooser;
167 qtFileChooser* _postNavFileChooser;
168 qtFileChooser* _postCorrFileChooser;
169 QLineEdit* _postOutLineEdit;
170
171 QComboBox* _reqcActionComboBox;
172 QPushButton* _reqcEditOptionButton;
173 qtFileChooser* _reqcObsFileChooser;
174 qtFileChooser* _reqcNavFileChooser;
175 QLineEdit* _reqcOutObsLineEdit;
176 QLineEdit* _reqcOutNavLineEdit;
177 QLineEdit* _reqcOutLogLineEdit;
178 QLineEdit* _reqcPlotDirLineEdit;
179
180 QCheckBox* _rnxV3CheckBox;
181 QCheckBox* _ephV3CheckBox;
182 QLineEdit* _rnxSkelLineEdit;
183 QLineEdit* _rnxScrpLineEdit;
184 QLineEdit* _logFileLineEdit;
185 QLineEdit* _rawOutFileLineEdit;
186 QComboBox* _pppSPPComboBox;
187 QComboBox* _rnxIntrComboBox;
188 QComboBox* _ephIntrComboBox;
189 QComboBox* _corrIntrComboBox;
190 QSpinBox* _rnxSamplSpinBox;
191 QSpinBox* _binSamplSpinBox;
192 QCheckBox* _rnxAppendCheckBox;
193 QCheckBox* _autoStartCheckBox;
194 QCheckBox* _scanRTCMCheckBox;
195 QSpinBox* _waitTimeSpinBox;
196 QSpinBox* _corrTimeSpinBox;
197 QComboBox* _obsRateComboBox;
198 QSpinBox* _adviseFailSpinBox;
199 QSpinBox* _adviseRecoSpinBox;
200 QLineEdit* _adviseScriptLineEdit;
201 QComboBox* _perfIntrComboBox;
202 QTableWidget* _mountPointsTable;
203
204 QLineEdit* _serialPortNameLineEdit;
205 QLineEdit* _serialMountPointLineEdit;
206 QComboBox* _serialBaudRateComboBox;
207 QComboBox* _serialParityComboBox;
208 QComboBox* _serialDataBitsComboBox;
209 QComboBox* _serialStopBitsComboBox;
210 QComboBox* _serialFlowControlComboBox;
211 QLineEdit* _serialHeightNMEALineEdit;
212 QLineEdit* _serialFileNMEALineEdit;
213 QComboBox* _serialAutoNMEAComboBox;
214
215 QLineEdit* _LatLineEdit;
216 QLineEdit* _LonLineEdit;
217
218 QComboBox* _onTheFlyComboBox;
219
220 QTextEdit* _log;
221
222 QWidget* _canvas;
223 QTabWidget* _aogroup;
224
225 QTabWidget* _loggroup;
226 bncFigure* _bncFigure;
227 bncFigureLate* _bncFigureLate;
228 bncFigurePPP* _bncFigurePPP;
229
230 QTableWidget* _cmbTable;
231 QLineEdit* _cmbMaxresLineEdit;
232 QComboBox* _cmbMethodComboBox;
233 QSpinBox* _cmbSamplSpinBox;
234
235 QTableWidget* _uploadTable;
236 QComboBox* _uploadIntrComboBox;
237 QSpinBox* _uploadSamplRtcmEphCorrSpinBox;
238 QSpinBox* _uploadSamplSp3SpinBox;
239 QSpinBox* _uploadSamplClkRnxSpinBox;
240
241 QLineEdit* _uploadEphHostLineEdit;
242 QLineEdit* _uploadEphPortLineEdit;
243 QLineEdit* _uploadEphPasswordLineEdit;
244 QLineEdit* _uploadEphMountpointLineEdit;
245 QSpinBox* _uploadEphSampleSpinBox;
246 bncBytesCounter* _uploadEphBytesCounter;
247
248 bncCaster* _caster;
249
250 bncEphUploadCaster* _casterEph;
251
252 bool _realTimeRunning;
253 bool _runningRealTime;
254 bool _runningPostProcessingPPP;
255 bool _runningPostProcessingReqc;
256};
257#endif
Note: See TracBrowser for help on using the repository browser.