[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 |
|
---|
[679] | 34 | class bncAboutDlg : public QDialog {
|
---|
[35] | 35 | Q_OBJECT
|
---|
| 36 |
|
---|
| 37 | public:
|
---|
[679] | 38 | bncAboutDlg(QWidget* parent);
|
---|
| 39 | ~bncAboutDlg();
|
---|
| 40 | };
|
---|
| 41 |
|
---|
[989] | 42 | class bncFlowchartDlg : public QDialog {
|
---|
| 43 | Q_OBJECT
|
---|
| 44 |
|
---|
| 45 | public:
|
---|
| 46 | bncFlowchartDlg(QWidget* parent);
|
---|
| 47 | ~bncFlowchartDlg();
|
---|
| 48 | };
|
---|
| 49 |
|
---|
[679] | 50 | class bncWindow : public QMainWindow {
|
---|
| 51 | Q_OBJECT
|
---|
| 52 |
|
---|
| 53 | public:
|
---|
[35] | 54 | bncWindow();
|
---|
[83] | 55 | ~bncWindow();
|
---|
[679] | 56 | void CreateMenu();
|
---|
| 57 | void AddToolbar();
|
---|
[83] | 58 |
|
---|
| 59 | public slots:
|
---|
[1179] | 60 | void slotMountPointsRead(QList<bncGetThread*>);
|
---|
[35] | 61 |
|
---|
| 62 | private slots:
|
---|
[1172] | 63 | void slotWindowMessage(const QByteArray msg);
|
---|
[108] | 64 | void slotHelp();
|
---|
| 65 | void slotAbout();
|
---|
[989] | 66 | void slotFlowchart();
|
---|
[111] | 67 | void slotFontSel();
|
---|
[35] | 68 | void slotSaveOptions();
|
---|
| 69 | void slotAddMountPoints();
|
---|
| 70 | void slotGetData();
|
---|
[182] | 71 | void slotStop();
|
---|
[35] | 72 | void slotNewMountPoints(QStringList* mountPoints);
|
---|
| 73 | void slotDeleteMountPoints();
|
---|
| 74 | void slotGetThreadErrors();
|
---|
[83] | 75 | void slotSelectionChanged();
|
---|
[399] | 76 | void slotWhatsThis();
|
---|
[35] | 77 |
|
---|
[83] | 78 | protected:
|
---|
| 79 | virtual void closeEvent(QCloseEvent *);
|
---|
| 80 |
|
---|
[35] | 81 | private:
|
---|
[1178] | 82 | void populateMountPointsTable();
|
---|
| 83 |
|
---|
[35] | 84 | QMenu* _menuHlp;
|
---|
| 85 | QMenu* _menuFile;
|
---|
| 86 |
|
---|
[108] | 87 | QAction* _actHelp;
|
---|
[35] | 88 | QAction* _actAbout;
|
---|
[989] | 89 | QAction* _actFlowchart;
|
---|
[111] | 90 | QAction* _actFontSel;
|
---|
[35] | 91 | QAction* _actSaveOpt;
|
---|
| 92 | QAction* _actQuit;
|
---|
| 93 | QAction* _actGetData;
|
---|
[182] | 94 | QAction* _actStop;
|
---|
[35] | 95 | QAction* _actAddMountPoints;
|
---|
| 96 | QAction* _actDeleteMountPoints;
|
---|
[399] | 97 | QAction* _actwhatsthis;
|
---|
| 98 | QAction* _actwhatsthismenu;
|
---|
[35] | 99 |
|
---|
| 100 | QLineEdit* _proxyHostLineEdit;
|
---|
| 101 | QLineEdit* _proxyPortLineEdit;
|
---|
| 102 | QLineEdit* _outFileLineEdit;
|
---|
| 103 | QLineEdit* _outPortLineEdit;
|
---|
[588] | 104 | QLineEdit* _outEphPortLineEdit;
|
---|
[934] | 105 | QLineEdit* _corrPortLineEdit;
|
---|
[83] | 106 | QLineEdit* _rnxPathLineEdit;
|
---|
[533] | 107 | QLineEdit* _ephPathLineEdit;
|
---|
[934] | 108 | QLineEdit* _corrPathLineEdit;
|
---|
[1030] | 109 | QLineEdit* _messTypesLineEdit;
|
---|
[533] | 110 | QCheckBox* _rnxV3CheckBox;
|
---|
| 111 | QCheckBox* _ephV3CheckBox;
|
---|
[83] | 112 | QLineEdit* _rnxSkelLineEdit;
|
---|
[106] | 113 | QLineEdit* _rnxScrpLineEdit;
|
---|
[143] | 114 | QLineEdit* _logFileLineEdit;
|
---|
[106] | 115 | QComboBox* _rnxIntrComboBox;
|
---|
[560] | 116 | QComboBox* _ephIntrComboBox;
|
---|
[934] | 117 | QComboBox* _corrIntrComboBox;
|
---|
[106] | 118 | QSpinBox* _rnxSamplSpinBox;
|
---|
[740] | 119 | QSpinBox* _binSamplSpinBox;
|
---|
[259] | 120 | QCheckBox* _rnxAppendCheckBox;
|
---|
[722] | 121 | QCheckBox* _makePauseCheckBox;
|
---|
[135] | 122 | QSpinBox* _waitTimeSpinBox;
|
---|
[967] | 123 | QSpinBox* _corrTimeSpinBox;
|
---|
[686] | 124 | QComboBox* _obsRateComboBox;
|
---|
[668] | 125 | QSpinBox* _adviseFailSpinBox;
|
---|
| 126 | QSpinBox* _adviseRecoSpinBox;
|
---|
| 127 | QLineEdit* _adviseScriptLineEdit;
|
---|
[728] | 128 | QComboBox* _perfIntrComboBox;
|
---|
[83] | 129 | QTableWidget* _mountPointsTable;
|
---|
[35] | 130 |
|
---|
[356] | 131 | QLineEdit* _LatLineEdit;
|
---|
| 132 | QLineEdit* _LonLineEdit;
|
---|
| 133 |
|
---|
[1170] | 134 | QComboBox* _onTheFlyComboBox;
|
---|
| 135 |
|
---|
[83] | 136 | QTextEdit* _log;
|
---|
| 137 |
|
---|
[35] | 138 | QWidget* _canvas;
|
---|
[679] | 139 | QTabWidget* aogroup;
|
---|
[463] | 140 |
|
---|
| 141 | bncCaster* _caster;
|
---|
[35] | 142 | };
|
---|
| 143 | #endif
|
---|