| [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;
|
|---|
| [1932] | 54 |
|
|---|
| 55 | class bncWindow : public QMainWindow {
|
|---|
| [679] | 56 | Q_OBJECT
|
|---|
| 57 |
|
|---|
| 58 | public:
|
|---|
| [35] | 59 | bncWindow();
|
|---|
| [83] | 60 | ~bncWindow();
|
|---|
| [679] | 61 | void CreateMenu();
|
|---|
| 62 | void AddToolbar();
|
|---|
| [1912] | 63 |
|
|---|
| [83] | 64 | public slots:
|
|---|
| [1179] | 65 | void slotMountPointsRead(QList<bncGetThread*>);
|
|---|
| [2128] | 66 | void slotBncTextChanged();
|
|---|
| [35] | 67 |
|
|---|
| 68 | private slots:
|
|---|
| [1299] | 69 | void slotWindowMessage(const QByteArray msg, bool showOnScreen);
|
|---|
| [108] | 70 | void slotHelp();
|
|---|
| 71 | void slotAbout();
|
|---|
| [989] | 72 | void slotFlowchart();
|
|---|
| [111] | 73 | void slotFontSel();
|
|---|
| [35] | 74 | void slotSaveOptions();
|
|---|
| 75 | void slotAddMountPoints();
|
|---|
| 76 | void slotGetData();
|
|---|
| [182] | 77 | void slotStop();
|
|---|
| [35] | 78 | void slotNewMountPoints(QStringList* mountPoints);
|
|---|
| 79 | void slotDeleteMountPoints();
|
|---|
| [1556] | 80 | void slotGetThreadsFinished();
|
|---|
| [83] | 81 | void slotSelectionChanged();
|
|---|
| [399] | 82 | void slotWhatsThis();
|
|---|
| [2869] | 83 | void slotAddCmbRow();
|
|---|
| 84 | void slotDelCmbRow();
|
|---|
| [3164] | 85 | void slotAddUploadRow();
|
|---|
| 86 | void slotDelUploadRow();
|
|---|
| 87 | void slotSetUploadTrafo();
|
|---|
| [35] | 88 |
|
|---|
| [83] | 89 | protected:
|
|---|
| 90 | virtual void closeEvent(QCloseEvent *);
|
|---|
| 91 |
|
|---|
| [35] | 92 | private:
|
|---|
| [1178] | 93 | void populateMountPointsTable();
|
|---|
| [2870] | 94 | void populateCmbTable();
|
|---|
| [3164] | 95 | void populateUploadTable();
|
|---|
| [1178] | 96 |
|
|---|
| [35] | 97 | QMenu* _menuHlp;
|
|---|
| 98 | QMenu* _menuFile;
|
|---|
| 99 |
|
|---|
| [108] | 100 | QAction* _actHelp;
|
|---|
| [35] | 101 | QAction* _actAbout;
|
|---|
| [989] | 102 | QAction* _actFlowchart;
|
|---|
| [111] | 103 | QAction* _actFontSel;
|
|---|
| [35] | 104 | QAction* _actSaveOpt;
|
|---|
| 105 | QAction* _actQuit;
|
|---|
| 106 | QAction* _actGetData;
|
|---|
| [182] | 107 | QAction* _actStop;
|
|---|
| [35] | 108 | QAction* _actAddMountPoints;
|
|---|
| 109 | QAction* _actDeleteMountPoints;
|
|---|
| [399] | 110 | QAction* _actwhatsthis;
|
|---|
| 111 | QAction* _actwhatsthismenu;
|
|---|
| [35] | 112 |
|
|---|
| 113 | QLineEdit* _proxyHostLineEdit;
|
|---|
| 114 | QLineEdit* _proxyPortLineEdit;
|
|---|
| [3356] | 115 | QLineEdit* _sslCaCertPathLineEdit;
|
|---|
| 116 | QCheckBox* _ignoreSslErrorsCheckBox;
|
|---|
| [35] | 117 | QLineEdit* _outFileLineEdit;
|
|---|
| 118 | QLineEdit* _outPortLineEdit;
|
|---|
| [1222] | 119 | QLineEdit* _outUPortLineEdit;
|
|---|
| [588] | 120 | QLineEdit* _outEphPortLineEdit;
|
|---|
| [934] | 121 | QLineEdit* _corrPortLineEdit;
|
|---|
| [83] | 122 | QLineEdit* _rnxPathLineEdit;
|
|---|
| [533] | 123 | QLineEdit* _ephPathLineEdit;
|
|---|
| [934] | 124 | QLineEdit* _corrPathLineEdit;
|
|---|
| [1307] | 125 | QLineEdit* _miscMountLineEdit;
|
|---|
| [2003] | 126 | QLineEdit* _pppMountLineEdit;
|
|---|
| [2967] | 127 | QLineEdit* _pppCorrMountLineEdit;
|
|---|
| [2126] | 128 | QLineEdit* _pppNMEALineEdit;
|
|---|
| [2185] | 129 | QLineEdit* _pppNMEAPortLineEdit;
|
|---|
| [2473] | 130 | QLineEdit* _pppSigCLineEdit;
|
|---|
| 131 | QLineEdit* _pppSigPLineEdit;
|
|---|
| [2718] | 132 | QLineEdit* _pppSigCrd0;
|
|---|
| 133 | QLineEdit* _pppSigCrdP;
|
|---|
| 134 | QLineEdit* _pppSigTrp0;
|
|---|
| 135 | QLineEdit* _pppSigTrpP;
|
|---|
| [2811] | 136 | QLineEdit* _pppSync;
|
|---|
| [2597] | 137 | QLineEdit* _pppAverageLineEdit;
|
|---|
| [2719] | 138 | QLineEdit* _pppQuickStartLineEdit;
|
|---|
| [3111] | 139 | QLineEdit* _pppMaxSolGapLineEdit;
|
|---|
| [2165] | 140 | QLineEdit* _pppRefCrdXLineEdit;
|
|---|
| 141 | QLineEdit* _pppRefCrdYLineEdit;
|
|---|
| 142 | QLineEdit* _pppRefCrdZLineEdit;
|
|---|
| [3284] | 143 | QLineEdit* _pppRefdNLineEdit;
|
|---|
| 144 | QLineEdit* _pppRefdELineEdit;
|
|---|
| 145 | QLineEdit* _pppRefdULineEdit;
|
|---|
| [2718] | 146 | QCheckBox* _pppPlotCoordinates;
|
|---|
| [2083] | 147 | QCheckBox* _pppUsePhaseCheckBox;
|
|---|
| [2086] | 148 | QCheckBox* _pppEstTropoCheckBox;
|
|---|
| [2137] | 149 | QCheckBox* _pppGLONASSCheckBox;
|
|---|
| [2794] | 150 | QCheckBox* _pppGalileoCheckBox;
|
|---|
| [2876] | 151 | QLineEdit* _pppAntennaLineEdit;
|
|---|
| 152 | QLineEdit* _pppAntexLineEdit;
|
|---|
| [2950] | 153 | QCheckBox* _pppApplySatAntCheckBox;
|
|---|
| [533] | 154 | QCheckBox* _rnxV3CheckBox;
|
|---|
| 155 | QCheckBox* _ephV3CheckBox;
|
|---|
| [83] | 156 | QLineEdit* _rnxSkelLineEdit;
|
|---|
| [106] | 157 | QLineEdit* _rnxScrpLineEdit;
|
|---|
| [143] | 158 | QLineEdit* _logFileLineEdit;
|
|---|
| [2386] | 159 | QLineEdit* _rawOutFileLineEdit;
|
|---|
| [2341] | 160 | QComboBox* _pppSPPComboBox;
|
|---|
| [106] | 161 | QComboBox* _rnxIntrComboBox;
|
|---|
| [560] | 162 | QComboBox* _ephIntrComboBox;
|
|---|
| [934] | 163 | QComboBox* _corrIntrComboBox;
|
|---|
| [106] | 164 | QSpinBox* _rnxSamplSpinBox;
|
|---|
| [740] | 165 | QSpinBox* _binSamplSpinBox;
|
|---|
| [259] | 166 | QCheckBox* _rnxAppendCheckBox;
|
|---|
| [1333] | 167 | QCheckBox* _autoStartCheckBox;
|
|---|
| [1307] | 168 | QCheckBox* _scanRTCMCheckBox;
|
|---|
| [135] | 169 | QSpinBox* _waitTimeSpinBox;
|
|---|
| [967] | 170 | QSpinBox* _corrTimeSpinBox;
|
|---|
| [686] | 171 | QComboBox* _obsRateComboBox;
|
|---|
| [668] | 172 | QSpinBox* _adviseFailSpinBox;
|
|---|
| 173 | QSpinBox* _adviseRecoSpinBox;
|
|---|
| 174 | QLineEdit* _adviseScriptLineEdit;
|
|---|
| [728] | 175 | QComboBox* _perfIntrComboBox;
|
|---|
| [83] | 176 | QTableWidget* _mountPointsTable;
|
|---|
| [1329] | 177 |
|
|---|
| [1327] | 178 | QLineEdit* _serialPortNameLineEdit;
|
|---|
| 179 | QLineEdit* _serialMountPointLineEdit;
|
|---|
| [1329] | 180 | QComboBox* _serialBaudRateComboBox;
|
|---|
| 181 | QComboBox* _serialParityComboBox;
|
|---|
| 182 | QComboBox* _serialDataBitsComboBox;
|
|---|
| 183 | QComboBox* _serialStopBitsComboBox;
|
|---|
| [1636] | 184 | QComboBox* _serialFlowControlComboBox;
|
|---|
| [1595] | 185 | QLineEdit* _serialHeightNMEALineEdit;
|
|---|
| [1601] | 186 | QLineEdit* _serialFileNMEALineEdit;
|
|---|
| [1595] | 187 | QComboBox* _serialAutoNMEAComboBox;
|
|---|
| [35] | 188 |
|
|---|
| [356] | 189 | QLineEdit* _LatLineEdit;
|
|---|
| 190 | QLineEdit* _LonLineEdit;
|
|---|
| 191 |
|
|---|
| [1170] | 192 | QComboBox* _onTheFlyComboBox;
|
|---|
| 193 |
|
|---|
| [83] | 194 | QTextEdit* _log;
|
|---|
| 195 |
|
|---|
| [1912] | 196 | QWidget* _canvas;
|
|---|
| [1925] | 197 | QTabWidget* _aogroup;
|
|---|
| [463] | 198 |
|
|---|
| [1925] | 199 | QTabWidget* _loggroup;
|
|---|
| [1932] | 200 | bncFigure* _bncFigure;
|
|---|
| [1972] | 201 | bncFigureLate* _bncFigureLate;
|
|---|
| [2141] | 202 | bncFigurePPP* _bncFigurePPP;
|
|---|
| [1912] | 203 |
|
|---|
| [2868] | 204 | QTableWidget* _cmbTable;
|
|---|
| [3328] | 205 | QLineEdit* _cmbMaxresLineEdit;
|
|---|
| [2868] | 206 |
|
|---|
| [3164] | 207 | QTableWidget* _uploadTable;
|
|---|
| [3197] | 208 | QComboBox* _uploadIntrComboBox;
|
|---|
| 209 | QSpinBox* _uploadSamplSpinBox;
|
|---|
| [3152] | 210 |
|
|---|
| [3245] | 211 | QLineEdit* _uploadEphHostLineEdit;
|
|---|
| 212 | QLineEdit* _uploadEphPortLineEdit;
|
|---|
| 213 | QLineEdit* _uploadEphPasswordLineEdit;
|
|---|
| 214 | QLineEdit* _uploadEphMountpointLineEdit;
|
|---|
| 215 | QSpinBox* _uploadEphSampleSpinBox;
|
|---|
| 216 | bncBytesCounter* _uploadEphBytesCounter;
|
|---|
| [3240] | 217 |
|
|---|
| [463] | 218 | bncCaster* _caster;
|
|---|
| [3249] | 219 |
|
|---|
| 220 | bncEphUploadCaster* _casterEph;
|
|---|
| [35] | 221 | };
|
|---|
| 222 | #endif
|
|---|