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

Last change on this file since 5295 was 5295, checked in by weber, 11 years ago

Trace map funktion modified

File size: 9.0 KB
RevLine 
[280]1// Part of BNC, a utility for retrieving decoding and
[464]2// converting GNSS data streams from NTRIP broadcasters.
[280]3//
[464]4// Copyright (C) 2007
[280]5// German Federal Agency for Cartography and Geodesy (BKG)
6// http://www.bkg.bund.de
[464]7// Czech Technical University Prague, Department of Geodesy
[280]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.
[35]24
25#ifndef BNCWINDOW_H
26#define BNCWINDOW_H
27
28#include <QtGui>
[399]29#include <QWhatsThis>
[35]30
31#include "bncgetthread.h"
[463]32#include "bnccaster.h"
[35]33
[1925]34class bncAboutDlg : public QDialog {
[35]35 Q_OBJECT
36 public:
[679]37 bncAboutDlg(QWidget* parent);
38 ~bncAboutDlg();
39};
40
[1932]41class bncFlowchartDlg : public QDialog {
[989]42 Q_OBJECT
43
44 public:
45 bncFlowchartDlg(QWidget* parent);
46 ~bncFlowchartDlg();
47};
48
[1932]49class bncFigure;
[1972]50class bncFigureLate;
[2141]51class bncFigurePPP;
[3245]52class bncBytesCounter;
[3249]53class bncEphUploadCaster;
[3602]54class qtFileChooser;
[5179]55class bncMapWin;
[5214]56class t_postProcessing;
[1932]57
58class bncWindow : public QMainWindow {
[679]59 Q_OBJECT
60
61 public:
[35]62 bncWindow();
[83]63 ~bncWindow();
[679]64 void CreateMenu();
65 void AddToolbar();
[1912]66
[83]67 public slots:
[1179]68 void slotMountPointsRead(QList<bncGetThread*>);
[2128]69 void slotBncTextChanged();
[3685]70 void slotPostProgress(int);
[35]71
72 private slots:
[1299]73 void slotWindowMessage(const QByteArray msg, bool showOnScreen);
[108]74 void slotHelp();
75 void slotAbout();
[989]76 void slotFlowchart();
[111]77 void slotFontSel();
[35]78 void slotSaveOptions();
79 void slotAddMountPoints();
[5162]80 void slotMapMountPoints();
81 void slotMapPPP();
[5235]82 void slotMapPPPClosed();
[3782]83 void slotStart();
[3736]84 void slotFinishedPostProcessingPPP();
[3892]85 void slotFinishedPostProcessingReqc();
[182]86 void slotStop();
[35]87 void slotNewMountPoints(QStringList* mountPoints);
88 void slotDeleteMountPoints();
[1556]89 void slotGetThreadsFinished();
[83]90 void slotSelectionChanged();
[399]91 void slotWhatsThis();
[2869]92 void slotAddCmbRow();
93 void slotDelCmbRow();
[3164]94 void slotAddUploadRow();
95 void slotDelUploadRow();
96 void slotSetUploadTrafo();
[3892]97 void slotReqcEditOption();
[35]98
[83]99 protected:
100 virtual void closeEvent(QCloseEvent *);
101
[35]102 private:
[4076]103 void saveOptions();
[1178]104 void populateMountPointsTable();
[2870]105 void populateCmbTable();
[3164]106 void populateUploadTable();
[3605]107 void enableWidget(bool enable, QWidget* widget);
[3782]108 void startRealTime();
[3735]109 void startPostProcessingPPP();
[3892]110 void startPostProcessingReqc();
[3787]111 void enableStartStop();
[1178]112
[35]113 QMenu* _menuHlp;
114 QMenu* _menuFile;
115
[108]116 QAction* _actHelp;
[35]117 QAction* _actAbout;
[989]118 QAction* _actFlowchart;
[111]119 QAction* _actFontSel;
[35]120 QAction* _actSaveOpt;
121 QAction* _actQuit;
[5162]122 QAction* _actMapMountPoints;
[3782]123 QAction* _actStart;
[182]124 QAction* _actStop;
[35]125 QAction* _actAddMountPoints;
126 QAction* _actDeleteMountPoints;
[399]127 QAction* _actwhatsthis;
128 QAction* _actwhatsthismenu;
[35]129
130 QLineEdit* _proxyHostLineEdit;
131 QLineEdit* _proxyPortLineEdit;
[5295]132 QLineEdit* _mapWinDotSizeLineEdit;
[3356]133 QLineEdit* _sslCaCertPathLineEdit;
134 QCheckBox* _ignoreSslErrorsCheckBox;
[35]135 QLineEdit* _outFileLineEdit;
136 QLineEdit* _outPortLineEdit;
[1222]137 QLineEdit* _outUPortLineEdit;
[588]138 QLineEdit* _outEphPortLineEdit;
[934]139 QLineEdit* _corrPortLineEdit;
[83]140 QLineEdit* _rnxPathLineEdit;
[533]141 QLineEdit* _ephPathLineEdit;
[934]142 QLineEdit* _corrPathLineEdit;
[1307]143 QLineEdit* _miscMountLineEdit;
[2003]144 QLineEdit* _pppMountLineEdit;
[2967]145 QLineEdit* _pppCorrMountLineEdit;
[2126]146 QLineEdit* _pppNMEALineEdit;
[2185]147 QLineEdit* _pppNMEAPortLineEdit;
[2473]148 QLineEdit* _pppSigCLineEdit;
149 QLineEdit* _pppSigPLineEdit;
[2718]150 QLineEdit* _pppSigCrd0;
151 QLineEdit* _pppSigCrdP;
152 QLineEdit* _pppSigTrp0;
153 QLineEdit* _pppSigTrpP;
[2811]154 QLineEdit* _pppSync;
[2597]155 QLineEdit* _pppAverageLineEdit;
[2719]156 QLineEdit* _pppQuickStartLineEdit;
[3111]157 QLineEdit* _pppMaxSolGapLineEdit;
[4546]158 QLineEdit* _pppAudioResponseLineEdit;
[2165]159 QLineEdit* _pppRefCrdXLineEdit;
160 QLineEdit* _pppRefCrdYLineEdit;
161 QLineEdit* _pppRefCrdZLineEdit;
[3284]162 QLineEdit* _pppRefdNLineEdit;
163 QLineEdit* _pppRefdELineEdit;
164 QLineEdit* _pppRefdULineEdit;
[2718]165 QCheckBox* _pppPlotCoordinates;
[2083]166 QCheckBox* _pppUsePhaseCheckBox;
[2086]167 QCheckBox* _pppEstTropoCheckBox;
[2137]168 QCheckBox* _pppGLONASSCheckBox;
[2794]169 QCheckBox* _pppGalileoCheckBox;
[2876]170 QLineEdit* _pppAntennaLineEdit;
[3620]171 qtFileChooser* _pppAntexFileChooser;
[3602]172
173 qtFileChooser* _postObsFileChooser;
174 qtFileChooser* _postNavFileChooser;
175 qtFileChooser* _postCorrFileChooser;
[3618]176 QLineEdit* _postOutLineEdit;
[3602]177
[3892]178 QComboBox* _reqcActionComboBox;
179 QPushButton* _reqcEditOptionButton;
180 qtFileChooser* _reqcObsFileChooser;
181 qtFileChooser* _reqcNavFileChooser;
182 QLineEdit* _reqcOutObsLineEdit;
183 QLineEdit* _reqcOutNavLineEdit;
184 QLineEdit* _reqcOutLogLineEdit;
[4449]185 QLineEdit* _reqcPlotDirLineEdit;
[5144]186 QComboBox* _reqcSkyPlotSystems;
[3731]187
[533]188 QCheckBox* _rnxV3CheckBox;
189 QCheckBox* _ephV3CheckBox;
[83]190 QLineEdit* _rnxSkelLineEdit;
[106]191 QLineEdit* _rnxScrpLineEdit;
[143]192 QLineEdit* _logFileLineEdit;
[2386]193 QLineEdit* _rawOutFileLineEdit;
[2341]194 QComboBox* _pppSPPComboBox;
[106]195 QComboBox* _rnxIntrComboBox;
[560]196 QComboBox* _ephIntrComboBox;
[934]197 QComboBox* _corrIntrComboBox;
[106]198 QSpinBox* _rnxSamplSpinBox;
[740]199 QSpinBox* _binSamplSpinBox;
[259]200 QCheckBox* _rnxAppendCheckBox;
[1333]201 QCheckBox* _autoStartCheckBox;
[1307]202 QCheckBox* _scanRTCMCheckBox;
[135]203 QSpinBox* _waitTimeSpinBox;
[967]204 QSpinBox* _corrTimeSpinBox;
[686]205 QComboBox* _obsRateComboBox;
[668]206 QSpinBox* _adviseFailSpinBox;
207 QSpinBox* _adviseRecoSpinBox;
208 QLineEdit* _adviseScriptLineEdit;
[728]209 QComboBox* _perfIntrComboBox;
[83]210 QTableWidget* _mountPointsTable;
[1329]211
[1327]212 QLineEdit* _serialPortNameLineEdit;
213 QLineEdit* _serialMountPointLineEdit;
[1329]214 QComboBox* _serialBaudRateComboBox;
215 QComboBox* _serialParityComboBox;
216 QComboBox* _serialDataBitsComboBox;
217 QComboBox* _serialStopBitsComboBox;
[1636]218 QComboBox* _serialFlowControlComboBox;
[1595]219 QLineEdit* _serialHeightNMEALineEdit;
[1601]220 QLineEdit* _serialFileNMEALineEdit;
[1595]221 QComboBox* _serialAutoNMEAComboBox;
[35]222
[356]223 QLineEdit* _LatLineEdit;
224 QLineEdit* _LonLineEdit;
225
[1170]226 QComboBox* _onTheFlyComboBox;
227
[83]228 QTextEdit* _log;
229
[1912]230 QWidget* _canvas;
[1925]231 QTabWidget* _aogroup;
[463]232
[1925]233 QTabWidget* _loggroup;
[1932]234 bncFigure* _bncFigure;
[1972]235 bncFigureLate* _bncFigureLate;
[2141]236 bncFigurePPP* _bncFigurePPP;
[1912]237
[2868]238 QTableWidget* _cmbTable;
[3328]239 QLineEdit* _cmbMaxresLineEdit;
[3469]240 QComboBox* _cmbMethodComboBox;
[4179]241 QSpinBox* _cmbSamplSpinBox;
[2868]242
[3164]243 QTableWidget* _uploadTable;
[3197]244 QComboBox* _uploadIntrComboBox;
[4172]245 QSpinBox* _uploadSamplRtcmEphCorrSpinBox;
246 QSpinBox* _uploadSamplSp3SpinBox;
247 QSpinBox* _uploadSamplClkRnxSpinBox;
[3152]248
[3245]249 QLineEdit* _uploadEphHostLineEdit;
250 QLineEdit* _uploadEphPortLineEdit;
251 QLineEdit* _uploadEphPasswordLineEdit;
252 QLineEdit* _uploadEphMountpointLineEdit;
253 QSpinBox* _uploadEphSampleSpinBox;
254 bncBytesCounter* _uploadEphBytesCounter;
[3240]255
[463]256 bncCaster* _caster;
[3249]257
258 bncEphUploadCaster* _casterEph;
[3735]259
[3782]260 bool _realTimeRunning;
261 bool _runningRealTime;
262 bool _runningPostProcessingPPP;
[3892]263 bool _runningPostProcessingReqc;
[5214]264 t_postProcessing* _postProcessing;
[4766]265
[5217]266 QPushButton* _mapWinButton;
[5220]267 QRadioButton* _gmRadioButton;
268 QRadioButton* _osmRadioButton;
269 QCheckBox* _mapWinTraceCheckBox;
[5225]270 QSlider* _mapSpeedSlider;
[5187]271 bncMapWin* _mapWin;
272 QList<bncGetThread*> _threads;
[5179]273
[4766]274#ifdef RTROVER_INTERFACE
275 QComboBox* _rtroverModeComboBox;
276 QLineEdit* _rtroverRoverMountLineEdit;
277 QLineEdit* _rtroverCorrMountLineEdit;
278 QLineEdit* _rtroverBaseMountLineEdit;
279 QLineEdit* _rtroverRoverRefCrdXLineEdit;
280 QLineEdit* _rtroverRoverRefCrdYLineEdit;
281 QLineEdit* _rtroverRoverRefCrdZLineEdit;
282 QLineEdit* _rtroverBaseRefCrdXLineEdit;
283 QLineEdit* _rtroverBaseRefCrdYLineEdit;
284 QLineEdit* _rtroverBaseCrdZLineEdit;
[4790]285 QLineEdit* _rtroverRoverDNLineEdit;
286 QLineEdit* _rtroverRoverDELineEdit;
287 QLineEdit* _rtroverRoverDULineEdit;
288 QLineEdit* _rtroverBaseDNLineEdit;
289 QLineEdit* _rtroverBaseDELineEdit;
290 QLineEdit* _rtroverBaseDULineEdit;
291 QLineEdit* _rtroverRoverAntennaLineEdit;
292 QLineEdit* _rtroverBaseAntennaLineEdit;
293 qtFileChooser* _rtroverAntexFileChooser;
[4766]294 QLineEdit* _rtroverOutputLineEdit;
295#endif
[35]296};
[5063]297
298#ifdef GNSSCENTER_PLUGIN
299#include "plugininterface.h"
300class t_bncFactory : public QObject, public GnssCenter::t_pluginFactoryInterface {
301 Q_OBJECT
302 Q_INTERFACES(GnssCenter::t_pluginFactoryInterface)
303 public:
304 virtual QWidget* create() {return new bncWindow();}
305 virtual QString getName() const {return QString("BNC");}
306};
[35]307#endif
[5063]308
309#endif
Note: See TracBrowser for help on using the repository browser.