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

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