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