[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] | 34 | class bncAboutDlg : public QDialog {
|
---|
[35] | 35 | Q_OBJECT
|
---|
| 36 | public:
|
---|
[679] | 37 | bncAboutDlg(QWidget* parent);
|
---|
| 38 | ~bncAboutDlg();
|
---|
| 39 | };
|
---|
| 40 |
|
---|
[1932] | 41 | class bncFlowchartDlg : public QDialog {
|
---|
[989] | 42 | Q_OBJECT
|
---|
| 43 |
|
---|
| 44 | public:
|
---|
| 45 | bncFlowchartDlg(QWidget* parent);
|
---|
| 46 | ~bncFlowchartDlg();
|
---|
| 47 | };
|
---|
| 48 |
|
---|
[1932] | 49 | class bncFigure;
|
---|
[1972] | 50 | class bncFigureLate;
|
---|
[2141] | 51 | class bncFigurePPP;
|
---|
[3245] | 52 | class bncBytesCounter;
|
---|
[3249] | 53 | class bncEphUploadCaster;
|
---|
[3602] | 54 | class qtFileChooser;
|
---|
[1932] | 55 |
|
---|
| 56 | class 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();
|
---|
[3782] | 78 | void slotStart();
|
---|
[3736] | 79 | void slotFinishedPostProcessingPPP();
|
---|
[3892] | 80 | void slotFinishedPostProcessingReqc();
|
---|
[182] | 81 | void slotStop();
|
---|
[35] | 82 | void slotNewMountPoints(QStringList* mountPoints);
|
---|
| 83 | void slotDeleteMountPoints();
|
---|
[1556] | 84 | void slotGetThreadsFinished();
|
---|
[83] | 85 | void slotSelectionChanged();
|
---|
[399] | 86 | void slotWhatsThis();
|
---|
[2869] | 87 | void slotAddCmbRow();
|
---|
| 88 | void slotDelCmbRow();
|
---|
[3164] | 89 | void slotAddUploadRow();
|
---|
| 90 | void slotDelUploadRow();
|
---|
| 91 | void slotSetUploadTrafo();
|
---|
[3892] | 92 | void slotReqcEditOption();
|
---|
[35] | 93 |
|
---|
[83] | 94 | protected:
|
---|
| 95 | virtual void closeEvent(QCloseEvent *);
|
---|
| 96 |
|
---|
[35] | 97 | private:
|
---|
[4076] | 98 | void saveOptions();
|
---|
[1178] | 99 | void populateMountPointsTable();
|
---|
[2870] | 100 | void populateCmbTable();
|
---|
[3164] | 101 | void populateUploadTable();
|
---|
[3605] | 102 | void enableWidget(bool enable, QWidget* widget);
|
---|
[3782] | 103 | void startRealTime();
|
---|
[3735] | 104 | void startPostProcessingPPP();
|
---|
[3892] | 105 | void startPostProcessingReqc();
|
---|
[3787] | 106 | void enableStartStop();
|
---|
[1178] | 107 |
|
---|
[35] | 108 | QMenu* _menuHlp;
|
---|
| 109 | QMenu* _menuFile;
|
---|
| 110 |
|
---|
[108] | 111 | QAction* _actHelp;
|
---|
[35] | 112 | QAction* _actAbout;
|
---|
[989] | 113 | QAction* _actFlowchart;
|
---|
[111] | 114 | QAction* _actFontSel;
|
---|
[35] | 115 | QAction* _actSaveOpt;
|
---|
| 116 | QAction* _actQuit;
|
---|
[3782] | 117 | QAction* _actStart;
|
---|
[182] | 118 | QAction* _actStop;
|
---|
[35] | 119 | QAction* _actAddMountPoints;
|
---|
| 120 | QAction* _actDeleteMountPoints;
|
---|
[399] | 121 | QAction* _actwhatsthis;
|
---|
| 122 | QAction* _actwhatsthismenu;
|
---|
[35] | 123 |
|
---|
| 124 | QLineEdit* _proxyHostLineEdit;
|
---|
| 125 | QLineEdit* _proxyPortLineEdit;
|
---|
[3356] | 126 | QLineEdit* _sslCaCertPathLineEdit;
|
---|
| 127 | QCheckBox* _ignoreSslErrorsCheckBox;
|
---|
[35] | 128 | QLineEdit* _outFileLineEdit;
|
---|
| 129 | QLineEdit* _outPortLineEdit;
|
---|
[1222] | 130 | QLineEdit* _outUPortLineEdit;
|
---|
[588] | 131 | QLineEdit* _outEphPortLineEdit;
|
---|
[934] | 132 | QLineEdit* _corrPortLineEdit;
|
---|
[83] | 133 | QLineEdit* _rnxPathLineEdit;
|
---|
[533] | 134 | QLineEdit* _ephPathLineEdit;
|
---|
[934] | 135 | QLineEdit* _corrPathLineEdit;
|
---|
[1307] | 136 | QLineEdit* _miscMountLineEdit;
|
---|
[2003] | 137 | QLineEdit* _pppMountLineEdit;
|
---|
[2967] | 138 | QLineEdit* _pppCorrMountLineEdit;
|
---|
[2126] | 139 | QLineEdit* _pppNMEALineEdit;
|
---|
[2185] | 140 | QLineEdit* _pppNMEAPortLineEdit;
|
---|
[2473] | 141 | QLineEdit* _pppSigCLineEdit;
|
---|
| 142 | QLineEdit* _pppSigPLineEdit;
|
---|
[2718] | 143 | QLineEdit* _pppSigCrd0;
|
---|
| 144 | QLineEdit* _pppSigCrdP;
|
---|
| 145 | QLineEdit* _pppSigTrp0;
|
---|
| 146 | QLineEdit* _pppSigTrpP;
|
---|
[2811] | 147 | QLineEdit* _pppSync;
|
---|
[2597] | 148 | QLineEdit* _pppAverageLineEdit;
|
---|
[2719] | 149 | QLineEdit* _pppQuickStartLineEdit;
|
---|
[3111] | 150 | QLineEdit* _pppMaxSolGapLineEdit;
|
---|
[2165] | 151 | QLineEdit* _pppRefCrdXLineEdit;
|
---|
| 152 | QLineEdit* _pppRefCrdYLineEdit;
|
---|
| 153 | QLineEdit* _pppRefCrdZLineEdit;
|
---|
[3284] | 154 | QLineEdit* _pppRefdNLineEdit;
|
---|
| 155 | QLineEdit* _pppRefdELineEdit;
|
---|
| 156 | QLineEdit* _pppRefdULineEdit;
|
---|
[2718] | 157 | QCheckBox* _pppPlotCoordinates;
|
---|
[2083] | 158 | QCheckBox* _pppUsePhaseCheckBox;
|
---|
[2086] | 159 | QCheckBox* _pppEstTropoCheckBox;
|
---|
[2137] | 160 | QCheckBox* _pppGLONASSCheckBox;
|
---|
[2794] | 161 | QCheckBox* _pppGalileoCheckBox;
|
---|
[2876] | 162 | QLineEdit* _pppAntennaLineEdit;
|
---|
[3620] | 163 | qtFileChooser* _pppAntexFileChooser;
|
---|
[3602] | 164 |
|
---|
| 165 | qtFileChooser* _postObsFileChooser;
|
---|
| 166 | qtFileChooser* _postNavFileChooser;
|
---|
| 167 | qtFileChooser* _postCorrFileChooser;
|
---|
[3618] | 168 | QLineEdit* _postOutLineEdit;
|
---|
[3602] | 169 |
|
---|
[3892] | 170 | QComboBox* _reqcActionComboBox;
|
---|
| 171 | QPushButton* _reqcEditOptionButton;
|
---|
| 172 | qtFileChooser* _reqcObsFileChooser;
|
---|
| 173 | qtFileChooser* _reqcNavFileChooser;
|
---|
| 174 | QLineEdit* _reqcOutObsLineEdit;
|
---|
| 175 | QLineEdit* _reqcOutNavLineEdit;
|
---|
| 176 | QLineEdit* _reqcOutLogLineEdit;
|
---|
[3731] | 177 |
|
---|
[533] | 178 | QCheckBox* _rnxV3CheckBox;
|
---|
| 179 | QCheckBox* _ephV3CheckBox;
|
---|
[83] | 180 | QLineEdit* _rnxSkelLineEdit;
|
---|
[106] | 181 | QLineEdit* _rnxScrpLineEdit;
|
---|
[143] | 182 | QLineEdit* _logFileLineEdit;
|
---|
[2386] | 183 | QLineEdit* _rawOutFileLineEdit;
|
---|
[2341] | 184 | QComboBox* _pppSPPComboBox;
|
---|
[106] | 185 | QComboBox* _rnxIntrComboBox;
|
---|
[560] | 186 | QComboBox* _ephIntrComboBox;
|
---|
[934] | 187 | QComboBox* _corrIntrComboBox;
|
---|
[106] | 188 | QSpinBox* _rnxSamplSpinBox;
|
---|
[740] | 189 | QSpinBox* _binSamplSpinBox;
|
---|
[259] | 190 | QCheckBox* _rnxAppendCheckBox;
|
---|
[1333] | 191 | QCheckBox* _autoStartCheckBox;
|
---|
[1307] | 192 | QCheckBox* _scanRTCMCheckBox;
|
---|
[135] | 193 | QSpinBox* _waitTimeSpinBox;
|
---|
[967] | 194 | QSpinBox* _corrTimeSpinBox;
|
---|
[686] | 195 | QComboBox* _obsRateComboBox;
|
---|
[668] | 196 | QSpinBox* _adviseFailSpinBox;
|
---|
| 197 | QSpinBox* _adviseRecoSpinBox;
|
---|
| 198 | QLineEdit* _adviseScriptLineEdit;
|
---|
[728] | 199 | QComboBox* _perfIntrComboBox;
|
---|
[83] | 200 | QTableWidget* _mountPointsTable;
|
---|
[1329] | 201 |
|
---|
[1327] | 202 | QLineEdit* _serialPortNameLineEdit;
|
---|
| 203 | QLineEdit* _serialMountPointLineEdit;
|
---|
[1329] | 204 | QComboBox* _serialBaudRateComboBox;
|
---|
| 205 | QComboBox* _serialParityComboBox;
|
---|
| 206 | QComboBox* _serialDataBitsComboBox;
|
---|
| 207 | QComboBox* _serialStopBitsComboBox;
|
---|
[1636] | 208 | QComboBox* _serialFlowControlComboBox;
|
---|
[1595] | 209 | QLineEdit* _serialHeightNMEALineEdit;
|
---|
[1601] | 210 | QLineEdit* _serialFileNMEALineEdit;
|
---|
[1595] | 211 | QComboBox* _serialAutoNMEAComboBox;
|
---|
[35] | 212 |
|
---|
[356] | 213 | QLineEdit* _LatLineEdit;
|
---|
| 214 | QLineEdit* _LonLineEdit;
|
---|
| 215 |
|
---|
[1170] | 216 | QComboBox* _onTheFlyComboBox;
|
---|
| 217 |
|
---|
[83] | 218 | QTextEdit* _log;
|
---|
| 219 |
|
---|
[1912] | 220 | QWidget* _canvas;
|
---|
[1925] | 221 | QTabWidget* _aogroup;
|
---|
[463] | 222 |
|
---|
[1925] | 223 | QTabWidget* _loggroup;
|
---|
[1932] | 224 | bncFigure* _bncFigure;
|
---|
[1972] | 225 | bncFigureLate* _bncFigureLate;
|
---|
[2141] | 226 | bncFigurePPP* _bncFigurePPP;
|
---|
[1912] | 227 |
|
---|
[2868] | 228 | QTableWidget* _cmbTable;
|
---|
[3328] | 229 | QLineEdit* _cmbMaxresLineEdit;
|
---|
[3469] | 230 | QComboBox* _cmbMethodComboBox;
|
---|
[4179] | 231 | QSpinBox* _cmbSamplSpinBox;
|
---|
[2868] | 232 |
|
---|
[3164] | 233 | QTableWidget* _uploadTable;
|
---|
[3197] | 234 | QComboBox* _uploadIntrComboBox;
|
---|
[4172] | 235 | QSpinBox* _uploadSamplRtcmEphCorrSpinBox;
|
---|
| 236 | QSpinBox* _uploadSamplSp3SpinBox;
|
---|
| 237 | QSpinBox* _uploadSamplClkRnxSpinBox;
|
---|
[3152] | 238 |
|
---|
[3245] | 239 | QLineEdit* _uploadEphHostLineEdit;
|
---|
| 240 | QLineEdit* _uploadEphPortLineEdit;
|
---|
| 241 | QLineEdit* _uploadEphPasswordLineEdit;
|
---|
| 242 | QLineEdit* _uploadEphMountpointLineEdit;
|
---|
| 243 | QSpinBox* _uploadEphSampleSpinBox;
|
---|
| 244 | bncBytesCounter* _uploadEphBytesCounter;
|
---|
[3240] | 245 |
|
---|
[463] | 246 | bncCaster* _caster;
|
---|
[3249] | 247 |
|
---|
| 248 | bncEphUploadCaster* _casterEph;
|
---|
[3735] | 249 |
|
---|
[3782] | 250 | bool _realTimeRunning;
|
---|
| 251 | bool _runningRealTime;
|
---|
| 252 | bool _runningPostProcessingPPP;
|
---|
[3892] | 253 | bool _runningPostProcessingReqc;
|
---|
[35] | 254 | };
|
---|
| 255 | #endif
|
---|