source: ntrip/trunk/BNC/bncwindow.h@ 3735

Last change on this file since 3735 was 3735, checked in by mervart, 13 years ago
File size: 7.1 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 slotGetData();
79 void slotStartPostProcessing();
80 void slotFinishedPostProcessing();
81 void slotFinishedTeqcProcessing();
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
94 protected:
95 virtual void closeEvent(QCloseEvent *);
96
97 private:
98 void populateMountPointsTable();
99 void populateCmbTable();
100 void populateUploadTable();
101 void enableWidget(bool enable, QWidget* widget);
102 void startPostProcessingPPP();
103 void startPostProcessingTeqc();
104 void enablePostProcessing();
105
106 QMenu* _menuHlp;
107 QMenu* _menuFile;
108
109 QAction* _actHelp;
110 QAction* _actAbout;
111 QAction* _actFlowchart;
112 QAction* _actFontSel;
113 QAction* _actSaveOpt;
114 QAction* _actQuit;
115 QAction* _actGetData;
116 QAction* _actPostProcessing;
117 QAction* _actStop;
118 QAction* _actAddMountPoints;
119 QAction* _actDeleteMountPoints;
120 QAction* _actwhatsthis;
121 QAction* _actwhatsthismenu;
122
123 QLineEdit* _proxyHostLineEdit;
124 QLineEdit* _proxyPortLineEdit;
125 QLineEdit* _sslCaCertPathLineEdit;
126 QCheckBox* _ignoreSslErrorsCheckBox;
127 QLineEdit* _outFileLineEdit;
128 QLineEdit* _outPortLineEdit;
129 QLineEdit* _outUPortLineEdit;
130 QLineEdit* _outEphPortLineEdit;
131 QLineEdit* _corrPortLineEdit;
132 QLineEdit* _rnxPathLineEdit;
133 QLineEdit* _ephPathLineEdit;
134 QLineEdit* _corrPathLineEdit;
135 QLineEdit* _miscMountLineEdit;
136 QLineEdit* _pppMountLineEdit;
137 QLineEdit* _pppCorrMountLineEdit;
138 QLineEdit* _pppNMEALineEdit;
139 QLineEdit* _pppNMEAPortLineEdit;
140 QLineEdit* _pppSigCLineEdit;
141 QLineEdit* _pppSigPLineEdit;
142 QLineEdit* _pppSigCrd0;
143 QLineEdit* _pppSigCrdP;
144 QLineEdit* _pppSigTrp0;
145 QLineEdit* _pppSigTrpP;
146 QLineEdit* _pppSync;
147 QLineEdit* _pppAverageLineEdit;
148 QLineEdit* _pppQuickStartLineEdit;
149 QLineEdit* _pppMaxSolGapLineEdit;
150 QLineEdit* _pppRefCrdXLineEdit;
151 QLineEdit* _pppRefCrdYLineEdit;
152 QLineEdit* _pppRefCrdZLineEdit;
153 QLineEdit* _pppRefdNLineEdit;
154 QLineEdit* _pppRefdELineEdit;
155 QLineEdit* _pppRefdULineEdit;
156 QCheckBox* _pppPlotCoordinates;
157 QCheckBox* _pppUsePhaseCheckBox;
158 QCheckBox* _pppEstTropoCheckBox;
159 QCheckBox* _pppGLONASSCheckBox;
160 QCheckBox* _pppGalileoCheckBox;
161 QLineEdit* _pppAntennaLineEdit;
162 qtFileChooser* _pppAntexFileChooser;
163 QCheckBox* _pppApplySatAntCheckBox;
164
165 qtFileChooser* _postObsFileChooser;
166 qtFileChooser* _postNavFileChooser;
167 qtFileChooser* _postCorrFileChooser;
168 QLineEdit* _postOutLineEdit;
169
170 qtFileChooser* _teqcObsFileChooser;
171 qtFileChooser* _teqcNavFileChooser;
172 qtFileChooser* _teqcCorrFileChooser;
173 QLineEdit* _teqcOutLineEdit;
174
175 QCheckBox* _rnxV3CheckBox;
176 QCheckBox* _ephV3CheckBox;
177 QLineEdit* _rnxSkelLineEdit;
178 QLineEdit* _rnxScrpLineEdit;
179 QLineEdit* _logFileLineEdit;
180 QLineEdit* _rawOutFileLineEdit;
181 QComboBox* _pppSPPComboBox;
182 QComboBox* _teqcActionComboBox;
183 QComboBox* _rnxIntrComboBox;
184 QComboBox* _ephIntrComboBox;
185 QComboBox* _corrIntrComboBox;
186 QSpinBox* _rnxSamplSpinBox;
187 QSpinBox* _binSamplSpinBox;
188 QCheckBox* _rnxAppendCheckBox;
189 QCheckBox* _autoStartCheckBox;
190 QCheckBox* _scanRTCMCheckBox;
191 QSpinBox* _waitTimeSpinBox;
192 QSpinBox* _corrTimeSpinBox;
193 QComboBox* _obsRateComboBox;
194 QSpinBox* _adviseFailSpinBox;
195 QSpinBox* _adviseRecoSpinBox;
196 QLineEdit* _adviseScriptLineEdit;
197 QComboBox* _perfIntrComboBox;
198 QTableWidget* _mountPointsTable;
199
200 QLineEdit* _serialPortNameLineEdit;
201 QLineEdit* _serialMountPointLineEdit;
202 QComboBox* _serialBaudRateComboBox;
203 QComboBox* _serialParityComboBox;
204 QComboBox* _serialDataBitsComboBox;
205 QComboBox* _serialStopBitsComboBox;
206 QComboBox* _serialFlowControlComboBox;
207 QLineEdit* _serialHeightNMEALineEdit;
208 QLineEdit* _serialFileNMEALineEdit;
209 QComboBox* _serialAutoNMEAComboBox;
210
211 QLineEdit* _LatLineEdit;
212 QLineEdit* _LonLineEdit;
213
214 QComboBox* _onTheFlyComboBox;
215
216 QTextEdit* _log;
217
218 QWidget* _canvas;
219 QTabWidget* _aogroup;
220
221 QTabWidget* _loggroup;
222 bncFigure* _bncFigure;
223 bncFigureLate* _bncFigureLate;
224 bncFigurePPP* _bncFigurePPP;
225
226 QTableWidget* _cmbTable;
227 QLineEdit* _cmbMaxresLineEdit;
228 QComboBox* _cmbMethodComboBox;
229
230 QTableWidget* _uploadTable;
231 QComboBox* _uploadIntrComboBox;
232 QSpinBox* _uploadSamplSpinBox;
233 QSpinBox* _uploadSamplOrbSpinBox;
234
235 QLineEdit* _uploadEphHostLineEdit;
236 QLineEdit* _uploadEphPortLineEdit;
237 QLineEdit* _uploadEphPasswordLineEdit;
238 QLineEdit* _uploadEphMountpointLineEdit;
239 QSpinBox* _uploadEphSampleSpinBox;
240 bncBytesCounter* _uploadEphBytesCounter;
241
242 bncCaster* _caster;
243
244 bncEphUploadCaster* _casterEph;
245
246 int _tabIndexPPP1;
247 int _tabIndexPPP2;
248 int _tabIndexTeqc;
249 bool _postProcessingRunning;
250};
251#endif
Note: See TracBrowser for help on using the repository browser.