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