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

Last change on this file since 10993 was 10945, checked in by stuerze, 3 months ago

Added a Minimum Elevation parameter to BNC's RINEX Editing & QC feature

File size: 7.7 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
[8252]28#include <QDialog>
29#include <QList>
[8127]30#include <QMainWindow>
[8252]31#include <QTextEdit>
[399]32#include <QWhatsThis>
[35]33
34#include "bncgetthread.h"
[463]35#include "bnccaster.h"
[6040]36#include "pppWidgets.h"
[35]37
[1925]38class bncAboutDlg : public QDialog {
[10657]39 Q_OBJECT
40public:
[679]41 bncAboutDlg(QWidget* parent);
42 ~bncAboutDlg();
43};
44
[1932]45class bncFlowchartDlg : public QDialog {
[10657]46 Q_OBJECT
[989]47
[10657]48public:
[989]49 bncFlowchartDlg(QWidget* parent);
50 ~bncFlowchartDlg();
51};
52
[1932]53class bncFigure;
[1972]54class bncFigureLate;
[2141]55class bncFigurePPP;
[3245]56class bncBytesCounter;
[3249]57class bncEphUploadCaster;
[3602]58class qtFileChooser;
[5179]59class bncMapWin;
[1932]60
61class bncWindow : public QMainWindow {
[10657]62 Q_OBJECT
[679]63
[10657]64public:
[35]65 bncWindow();
[83]66 ~bncWindow();
[679]67 void CreateMenu();
68 void AddToolbar();
[1912]69
[10766]70
[10657]71public slots:
[1179]72 void slotMountPointsRead(QList<bncGetThread*>);
[2128]73 void slotBncTextChanged();
[35]74
[10657]75private slots:
[1299]76 void slotWindowMessage(const QByteArray msg, bool showOnScreen);
[108]77 void slotHelp();
78 void slotAbout();
[989]79 void slotFlowchart();
[111]80 void slotFontSel();
[35]81 void slotSaveOptions();
82 void slotAddMountPoints();
[5162]83 void slotMapMountPoints();
84 void slotMapPPP();
[5235]85 void slotMapPPPClosed();
[3782]86 void slotStart();
[182]87 void slotStop();
[35]88 void slotNewMountPoints(QStringList* mountPoints);
89 void slotDeleteMountPoints();
[1556]90 void slotGetThreadsFinished();
[83]91 void slotSelectionChanged();
[399]92 void slotWhatsThis();
[2869]93 void slotAddCmbRow();
94 void slotDelCmbRow();
[3164]95 void slotAddUploadRow();
96 void slotDelUploadRow();
[7889]97 void slotAddUploadEphRow();
98 void slotDelUploadEphRow();
[10753]99 void slotAddUploadRawRow();
100 void slotDelUploadRawRow();
[3164]101 void slotSetUploadTrafo();
[3892]102 void slotReqcEditOption();
[5971]103 void slotPostProcessingFinished();
104 void slotPostProcessingProgress(int);
[35]105
[10657]106protected:
107 virtual void closeEvent(QCloseEvent*);
[83]108
[10657]109private:
[10766]110
[4076]111 void saveOptions();
[1178]112 void populateMountPointsTable();
[2870]113 void populateCmbTable();
[3164]114 void populateUploadTable();
[7889]115 void populateUploadEphTable();
[10753]116 void populateUploadRawTable();
[3605]117 void enableWidget(bool enable, QWidget* widget);
[3782]118 void startRealTime();
[3787]119 void enableStartStop();
[1178]120
[10657]121 QMenu* _menuHlp;
122 QMenu* _menuFile;
[35]123
[10657]124 QAction* _actHelp;
125 QAction* _actAbout;
126 QAction* _actFlowchart;
127 QAction* _actFontSel;
128 QAction* _actSaveOpt;
129 QAction* _actQuit;
130 QAction* _actMapMountPoints;
131 QAction* _actStart;
132 QAction* _actStop;
133 QAction* _actAddMountPoints;
134 QAction* _actDeleteMountPoints;
135 QAction* _actwhatsthis;
136 QAction* _actwhatsthismenu;
[35]137
138 QLineEdit* _proxyHostLineEdit;
139 QLineEdit* _proxyPortLineEdit;
[3356]140 QLineEdit* _sslCaCertPathLineEdit;
[9795]141 QLineEdit* _sslClientCertPathLineEdit;
[7513]142 QCheckBox* _sslIgnoreErrorsCheckBox;
[35]143 QLineEdit* _outFileLineEdit;
144 QLineEdit* _outPortLineEdit;
[1222]145 QLineEdit* _outUPortLineEdit;
[8621]146 QCheckBox* _outLockTimeCheckBox;
[7325]147 QLineEdit* _ephOutPortLineEdit;
[934]148 QLineEdit* _corrPortLineEdit;
[83]149 QLineEdit* _rnxPathLineEdit;
[9184]150 QLineEdit* _rnxSkelPathLineEdit;
[533]151 QLineEdit* _ephPathLineEdit;
[934]152 QLineEdit* _corrPathLineEdit;
[1307]153 QLineEdit* _miscMountLineEdit;
[5641]154 QLineEdit* _miscPortLineEdit;
[3602]155
[10657]156 QComboBox* _reqcActionComboBox;
157 QPushButton* _reqcEditOptionButton;
[3892]158 qtFileChooser* _reqcObsFileChooser;
159 qtFileChooser* _reqcNavFileChooser;
[10657]160 QLineEdit* _reqcOutObsLineEdit;
161 QLineEdit* _reqcOutNavLineEdit;
162 QLineEdit* _reqcOutLogLineEdit;
163 QLineEdit* _reqcPlotDirLineEdit;
164 QLineEdit* _reqcSkyPlotSignals;
165 QCheckBox* _reqcLogSummaryOnly;
[10945]166 QSpinBox* _reqcMinEle;
[3731]167
[6332]168 qtFileChooser* _sp3CompFileChooser;
[10657]169 QLineEdit* _sp3CompExclude;
170 QLineEdit* _sp3CompLogLineEdit;
171 QCheckBox* _sp3CompSummaryOnly;
[6332]172
[9760]173 QComboBox* _rnxVersComboBox;
[6237]174 QLineEdit* _rnxV2Priority;
[9760]175 QComboBox* _ephVersComboBox;
[10091]176 //QCheckBox* _ephFilePerStation;
[6796]177 QCheckBox* _rnxFileCheckBox;
[106]178 QLineEdit* _rnxScrpLineEdit;
[143]179 QLineEdit* _logFileLineEdit;
[2386]180 QLineEdit* _rawOutFileLineEdit;
[106]181 QComboBox* _rnxIntrComboBox;
[560]182 QComboBox* _ephIntrComboBox;
[934]183 QComboBox* _corrIntrComboBox;
[9760]184 QComboBox* _rnxSamplComboBox;
185 QComboBox* _rnxSkelExtComboBox;
186 QComboBox* _outSamplComboBox;
[259]187 QCheckBox* _rnxAppendCheckBox;
[1333]188 QCheckBox* _autoStartCheckBox;
[7420]189 QCheckBox* _miscScanRTCMCheckBox;
[10657]190 QSpinBox* _outWaitSpinBox;
[7332]191 QComboBox* _adviseObsRateComboBox;
[10657]192 QSpinBox* _adviseFailSpinBox;
193 QSpinBox* _adviseRecoSpinBox;
[668]194 QLineEdit* _adviseScriptLineEdit;
[7420]195 QComboBox* _miscIntrComboBox;
[83]196 QTableWidget* _mountPointsTable;
[1329]197
[1327]198 QLineEdit* _serialPortNameLineEdit;
199 QLineEdit* _serialMountPointLineEdit;
[1329]200 QComboBox* _serialBaudRateComboBox;
201 QComboBox* _serialParityComboBox;
202 QComboBox* _serialDataBitsComboBox;
203 QComboBox* _serialStopBitsComboBox;
[1636]204 QComboBox* _serialFlowControlComboBox;
[1595]205 QLineEdit* _serialHeightNMEALineEdit;
[1601]206 QLineEdit* _serialFileNMEALineEdit;
[1595]207 QComboBox* _serialAutoNMEAComboBox;
[10657]208 QSpinBox* _serialNMEASamplingSpinBox;
[35]209
[10657]210 QLineEdit* _LatLineEdit;
211 QLineEdit* _LonLineEdit;
[356]212
[10657]213 QComboBox* _onTheFlyComboBox;
[1170]214
[10657]215 QTextEdit* _log;
[83]216
[10657]217 QWidget* _canvas;
[1925]218 QTabWidget* _aogroup;
[463]219
[1925]220 QTabWidget* _loggroup;
[10657]221 bncFigure* _bncFigure;
222 bncFigureLate* _bncFigureLate;
223 bncFigurePPP* _bncFigurePPP;
[1912]224
[10657]225 QTableWidget* _cmbTable;
226 QLineEdit* _cmbMaxresLineEdit;
227 QLineEdit* _cmbMaxdisplacementLineEdit;
228 QComboBox* _cmbMethodComboBox;
229 QComboBox* _cmbSamplComboBox;
230 QLineEdit* _cmbLogPath;
231 QCheckBox* _cmbGpsCheckBox;
232 QCheckBox* _cmbGloCheckBox;
233 QCheckBox* _cmbGalCheckBox;
234 QCheckBox* _cmbBdsCheckBox;
235 QCheckBox* _cmbQzssCheckBox;
236 QCheckBox* _cmbSbasCheckBox;
237 QCheckBox* _cmbNavicCheckBox;
[9635]238 qtFileChooser* _cmbBsxFile;
[2868]239
[10657]240 QTableWidget* _uploadTable;
241 QComboBox* _uploadIntrComboBox;
242 QComboBox* _uploadSamplRtcmEphCorrComboBox;
243 QComboBox* _uploadSamplSp3ComboBox;
244 QSpinBox* _uploadSamplClkRnxSpinBox;
245 QSpinBox* _uploadSamplBiaSnxSpinBox;
[6666]246 qtFileChooser* _uploadAntexFile;
[3152]247
[10657]248 QTableWidget* _uploadEphTable;
249 QSpinBox* _uploadSamplRtcmEphSpinBox;
[3240]250
[10753]251 QTableWidget* _uploadRawTable;
252
[10657]253 bncCaster* _caster;
[3249]254 bncEphUploadCaster* _casterEph;
[3735]255
[3782]256 bool _runningRealTime;
[5971]257 bool _runningPPP;
258 bool _runningEdit;
259 bool _runningQC;
[6332]260 bool _runningSp3Comp;
[4766]261
[10657]262 bool running() {
263 return _runningRealTime || _runningPPP || _runningEdit ||
264 _runningQC || _runningSp3Comp;
265 }
[5971]266
[10657]267 bncMapWin* _mapWin;
[5861]268
[5187]269 QList<bncGetThread*> _threads;
[5179]270
[5686]271 t_pppWidgets _pppWidgets;
[35]272};
[5063]273
274#ifdef GNSSCENTER_PLUGIN
275#include "plugininterface.h"
276class t_bncFactory : public QObject, public GnssCenter::t_pluginFactoryInterface {
[10657]277 Q_OBJECT
278 Q_INTERFACES(GnssCenter::t_pluginFactoryInterface)
279public:
280 virtual QWidget* create() { return new bncWindow(); }
281 virtual QString getName() const { return QString("BNC"); }
[5063]282};
[35]283#endif
[5063]284
285#endif
Note: See TracBrowser for help on using the repository browser.