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

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