[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 |
|
---|
| 34 | class bncWindow : public QMainWindow {
|
---|
| 35 | Q_OBJECT
|
---|
| 36 |
|
---|
| 37 | public:
|
---|
| 38 | bncWindow();
|
---|
[83] | 39 | ~bncWindow();
|
---|
| 40 |
|
---|
| 41 | public slots:
|
---|
[458] | 42 | void slotMessage(const QByteArray msg);
|
---|
[35] | 43 |
|
---|
| 44 | private slots:
|
---|
[108] | 45 | void slotHelp();
|
---|
| 46 | void slotAbout();
|
---|
[111] | 47 | void slotFontSel();
|
---|
[35] | 48 | void slotSaveOptions();
|
---|
| 49 | void slotAddMountPoints();
|
---|
| 50 | void slotGetData();
|
---|
[182] | 51 | void slotStop();
|
---|
[35] | 52 | void slotNewMountPoints(QStringList* mountPoints);
|
---|
| 53 | void slotDeleteMountPoints();
|
---|
| 54 | void slotGetThreadErrors();
|
---|
[83] | 55 | void slotSelectionChanged();
|
---|
[399] | 56 | void slotWhatsThis();
|
---|
[35] | 57 |
|
---|
[83] | 58 | protected:
|
---|
| 59 | virtual void closeEvent(QCloseEvent *);
|
---|
| 60 |
|
---|
[35] | 61 | private:
|
---|
| 62 | QMenu* _menuHlp;
|
---|
| 63 | QMenu* _menuFile;
|
---|
| 64 |
|
---|
[108] | 65 | QAction* _actHelp;
|
---|
[35] | 66 | QAction* _actAbout;
|
---|
[111] | 67 | QAction* _actFontSel;
|
---|
[35] | 68 | QAction* _actSaveOpt;
|
---|
| 69 | QAction* _actQuit;
|
---|
| 70 | QAction* _actGetData;
|
---|
[182] | 71 | QAction* _actStop;
|
---|
[35] | 72 | QAction* _actAddMountPoints;
|
---|
| 73 | QAction* _actDeleteMountPoints;
|
---|
[399] | 74 | QAction* _actwhatsthis;
|
---|
| 75 | QAction* _actwhatsthismenu;
|
---|
[35] | 76 |
|
---|
| 77 | QLineEdit* _proxyHostLineEdit;
|
---|
| 78 | QLineEdit* _proxyPortLineEdit;
|
---|
| 79 | QLineEdit* _outFileLineEdit;
|
---|
| 80 | QLineEdit* _outPortLineEdit;
|
---|
[588] | 81 | QLineEdit* _outEphPortLineEdit;
|
---|
[83] | 82 | QLineEdit* _rnxPathLineEdit;
|
---|
[533] | 83 | QLineEdit* _ephPathLineEdit;
|
---|
| 84 | QCheckBox* _rnxV3CheckBox;
|
---|
| 85 | QCheckBox* _ephV3CheckBox;
|
---|
[83] | 86 | QLineEdit* _rnxSkelLineEdit;
|
---|
[106] | 87 | QLineEdit* _rnxScrpLineEdit;
|
---|
[143] | 88 | QLineEdit* _logFileLineEdit;
|
---|
[106] | 89 | QComboBox* _rnxIntrComboBox;
|
---|
[560] | 90 | QComboBox* _ephIntrComboBox;
|
---|
[106] | 91 | QSpinBox* _rnxSamplSpinBox;
|
---|
[259] | 92 | QCheckBox* _rnxAppendCheckBox;
|
---|
[135] | 93 | QSpinBox* _waitTimeSpinBox;
|
---|
[83] | 94 | QTableWidget* _mountPointsTable;
|
---|
[35] | 95 |
|
---|
[356] | 96 | QLineEdit* _LatLineEdit;
|
---|
| 97 | QLineEdit* _LonLineEdit;
|
---|
| 98 |
|
---|
[83] | 99 | QTextEdit* _log;
|
---|
| 100 |
|
---|
[35] | 101 | QWidget* _canvas;
|
---|
[463] | 102 |
|
---|
| 103 | bncCaster* _caster;
|
---|
[35] | 104 | };
|
---|
| 105 | #endif
|
---|