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