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 |
|
---|
34 | class bncAboutDlg : public QDialog {
|
---|
35 | Q_OBJECT
|
---|
36 | public:
|
---|
37 | bncAboutDlg(QWidget* parent);
|
---|
38 | ~bncAboutDlg();
|
---|
39 | };
|
---|
40 |
|
---|
41 | class bncFlowchartDlg : public QDialog {
|
---|
42 | Q_OBJECT
|
---|
43 |
|
---|
44 | public:
|
---|
45 | bncFlowchartDlg(QWidget* parent);
|
---|
46 | ~bncFlowchartDlg();
|
---|
47 | };
|
---|
48 |
|
---|
49 | class bncFigure;
|
---|
50 | class bncFigureLate;
|
---|
51 | class bncFigurePPP;
|
---|
52 | class bncBytesCounter;
|
---|
53 | class bncEphUploadCaster;
|
---|
54 | class qtFileChooser;
|
---|
55 |
|
---|
56 | class 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 slotGetData();
|
---|
79 | void slotStartPostProcessing();
|
---|
80 | void slotFinishedPostProcessingPPP();
|
---|
81 | void slotFinishedPostProcessingTeqc();
|
---|
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 slotEnablePostProcessing();
|
---|
94 | void slotTeqcEditOption();
|
---|
95 |
|
---|
96 | protected:
|
---|
97 | virtual void closeEvent(QCloseEvent *);
|
---|
98 |
|
---|
99 | private:
|
---|
100 | void populateMountPointsTable();
|
---|
101 | void populateCmbTable();
|
---|
102 | void populateUploadTable();
|
---|
103 | void enableWidget(bool enable, QWidget* widget);
|
---|
104 | void startPostProcessingPPP();
|
---|
105 | void startPostProcessingTeqc();
|
---|
106 |
|
---|
107 | QMenu* _menuHlp;
|
---|
108 | QMenu* _menuFile;
|
---|
109 |
|
---|
110 | QAction* _actHelp;
|
---|
111 | QAction* _actAbout;
|
---|
112 | QAction* _actFlowchart;
|
---|
113 | QAction* _actFontSel;
|
---|
114 | QAction* _actSaveOpt;
|
---|
115 | QAction* _actQuit;
|
---|
116 | QAction* _actGetData;
|
---|
117 | QAction* _actPostProcessing;
|
---|
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* _pppRefCrdXLineEdit;
|
---|
152 | QLineEdit* _pppRefCrdYLineEdit;
|
---|
153 | QLineEdit* _pppRefCrdZLineEdit;
|
---|
154 | QLineEdit* _pppRefdNLineEdit;
|
---|
155 | QLineEdit* _pppRefdELineEdit;
|
---|
156 | QLineEdit* _pppRefdULineEdit;
|
---|
157 | QCheckBox* _pppPlotCoordinates;
|
---|
158 | QCheckBox* _pppUsePhaseCheckBox;
|
---|
159 | QCheckBox* _pppEstTropoCheckBox;
|
---|
160 | QCheckBox* _pppGLONASSCheckBox;
|
---|
161 | QCheckBox* _pppGalileoCheckBox;
|
---|
162 | QLineEdit* _pppAntennaLineEdit;
|
---|
163 | qtFileChooser* _pppAntexFileChooser;
|
---|
164 | QCheckBox* _pppApplySatAntCheckBox;
|
---|
165 |
|
---|
166 | qtFileChooser* _postObsFileChooser;
|
---|
167 | qtFileChooser* _postNavFileChooser;
|
---|
168 | qtFileChooser* _postCorrFileChooser;
|
---|
169 | QLineEdit* _postOutLineEdit;
|
---|
170 |
|
---|
171 | QComboBox* _teqcActionComboBox;
|
---|
172 | QPushButton* _teqcEditOptionButton;
|
---|
173 | qtFileChooser* _teqcObsFileChooser;
|
---|
174 | qtFileChooser* _teqcNavFileChooser;
|
---|
175 | QLineEdit* _teqcOutLineEdit;
|
---|
176 |
|
---|
177 | QCheckBox* _rnxV3CheckBox;
|
---|
178 | QCheckBox* _ephV3CheckBox;
|
---|
179 | QLineEdit* _rnxSkelLineEdit;
|
---|
180 | QLineEdit* _rnxScrpLineEdit;
|
---|
181 | QLineEdit* _logFileLineEdit;
|
---|
182 | QLineEdit* _rawOutFileLineEdit;
|
---|
183 | QComboBox* _pppSPPComboBox;
|
---|
184 | QComboBox* _rnxIntrComboBox;
|
---|
185 | QComboBox* _ephIntrComboBox;
|
---|
186 | QComboBox* _corrIntrComboBox;
|
---|
187 | QSpinBox* _rnxSamplSpinBox;
|
---|
188 | QSpinBox* _binSamplSpinBox;
|
---|
189 | QCheckBox* _rnxAppendCheckBox;
|
---|
190 | QCheckBox* _autoStartCheckBox;
|
---|
191 | QCheckBox* _scanRTCMCheckBox;
|
---|
192 | QSpinBox* _waitTimeSpinBox;
|
---|
193 | QSpinBox* _corrTimeSpinBox;
|
---|
194 | QComboBox* _obsRateComboBox;
|
---|
195 | QSpinBox* _adviseFailSpinBox;
|
---|
196 | QSpinBox* _adviseRecoSpinBox;
|
---|
197 | QLineEdit* _adviseScriptLineEdit;
|
---|
198 | QComboBox* _perfIntrComboBox;
|
---|
199 | QTableWidget* _mountPointsTable;
|
---|
200 |
|
---|
201 | QLineEdit* _serialPortNameLineEdit;
|
---|
202 | QLineEdit* _serialMountPointLineEdit;
|
---|
203 | QComboBox* _serialBaudRateComboBox;
|
---|
204 | QComboBox* _serialParityComboBox;
|
---|
205 | QComboBox* _serialDataBitsComboBox;
|
---|
206 | QComboBox* _serialStopBitsComboBox;
|
---|
207 | QComboBox* _serialFlowControlComboBox;
|
---|
208 | QLineEdit* _serialHeightNMEALineEdit;
|
---|
209 | QLineEdit* _serialFileNMEALineEdit;
|
---|
210 | QComboBox* _serialAutoNMEAComboBox;
|
---|
211 |
|
---|
212 | QLineEdit* _LatLineEdit;
|
---|
213 | QLineEdit* _LonLineEdit;
|
---|
214 |
|
---|
215 | QComboBox* _onTheFlyComboBox;
|
---|
216 |
|
---|
217 | QTextEdit* _log;
|
---|
218 |
|
---|
219 | QWidget* _canvas;
|
---|
220 | QTabWidget* _aogroup;
|
---|
221 |
|
---|
222 | QTabWidget* _loggroup;
|
---|
223 | bncFigure* _bncFigure;
|
---|
224 | bncFigureLate* _bncFigureLate;
|
---|
225 | bncFigurePPP* _bncFigurePPP;
|
---|
226 |
|
---|
227 | QTableWidget* _cmbTable;
|
---|
228 | QLineEdit* _cmbMaxresLineEdit;
|
---|
229 | QComboBox* _cmbMethodComboBox;
|
---|
230 |
|
---|
231 | QTableWidget* _uploadTable;
|
---|
232 | QComboBox* _uploadIntrComboBox;
|
---|
233 | QSpinBox* _uploadSamplSpinBox;
|
---|
234 | QSpinBox* _uploadSamplOrbSpinBox;
|
---|
235 |
|
---|
236 | QLineEdit* _uploadEphHostLineEdit;
|
---|
237 | QLineEdit* _uploadEphPortLineEdit;
|
---|
238 | QLineEdit* _uploadEphPasswordLineEdit;
|
---|
239 | QLineEdit* _uploadEphMountpointLineEdit;
|
---|
240 | QSpinBox* _uploadEphSampleSpinBox;
|
---|
241 | bncBytesCounter* _uploadEphBytesCounter;
|
---|
242 |
|
---|
243 | bncCaster* _caster;
|
---|
244 |
|
---|
245 | bncEphUploadCaster* _casterEph;
|
---|
246 |
|
---|
247 | int _tabIndexPPP1;
|
---|
248 | int _tabIndexPPP2;
|
---|
249 | int _tabIndexTeqc;
|
---|
250 | bool _postProcessingRunningPPP;
|
---|
251 | bool _postProcessingRunningTeqc;
|
---|
252 | };
|
---|
253 | #endif
|
---|