[280] | 1 | // Part of BNC, a utility for retrieving decoding and
|
---|
| 2 | // converting GNSS data streams from NTRIP broadcasters,
|
---|
| 3 | // written by Leos Mervart.
|
---|
| 4 | //
|
---|
| 5 | // Copyright (C) 2006
|
---|
| 6 | // German Federal Agency for Cartography and Geodesy (BKG)
|
---|
| 7 | // http://www.bkg.bund.de
|
---|
| 8 | // Czech Technical University Prague, Department of Advanced Geodesy
|
---|
| 9 | // http://www.fsv.cvut.cz
|
---|
| 10 | //
|
---|
| 11 | // Email: euref-ip@bkg.bund.de
|
---|
| 12 | //
|
---|
| 13 | // This program is free software; you can redistribute it and/or
|
---|
| 14 | // modify it under the terms of the GNU General Public License
|
---|
| 15 | // as published by the Free Software Foundation, version 2.
|
---|
| 16 | //
|
---|
| 17 | // This program is distributed in the hope that it will be useful,
|
---|
| 18 | // but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
| 19 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
| 20 | // GNU General Public License for more details.
|
---|
| 21 | //
|
---|
| 22 | // You should have received a copy of the GNU General Public License
|
---|
| 23 | // along with this program; if not, write to the Free Software
|
---|
| 24 | // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
---|
[35] | 25 |
|
---|
| 26 | #ifndef BNCWINDOW_H
|
---|
| 27 | #define BNCWINDOW_H
|
---|
| 28 |
|
---|
| 29 | #include <QtGui>
|
---|
| 30 |
|
---|
| 31 | #include "bncgetthread.h"
|
---|
| 32 |
|
---|
| 33 | class bncWindow : public QMainWindow {
|
---|
| 34 | Q_OBJECT
|
---|
| 35 |
|
---|
| 36 | public:
|
---|
| 37 | bncWindow();
|
---|
[83] | 38 | ~bncWindow();
|
---|
| 39 |
|
---|
| 40 | public slots:
|
---|
| 41 | void slotMessage(const QByteArray& msg);
|
---|
[35] | 42 |
|
---|
| 43 | private slots:
|
---|
[108] | 44 | void slotHelp();
|
---|
| 45 | void slotAbout();
|
---|
[111] | 46 | void slotFontSel();
|
---|
[35] | 47 | void slotSaveOptions();
|
---|
| 48 | void slotAddMountPoints();
|
---|
| 49 | void slotGetData();
|
---|
[182] | 50 | void slotStop();
|
---|
[35] | 51 | void slotNewMountPoints(QStringList* mountPoints);
|
---|
| 52 | void slotDeleteMountPoints();
|
---|
| 53 | void slotGetThreadErrors();
|
---|
[83] | 54 | void slotSelectionChanged();
|
---|
[35] | 55 |
|
---|
[83] | 56 | protected:
|
---|
| 57 | virtual void closeEvent(QCloseEvent *);
|
---|
| 58 |
|
---|
[35] | 59 | private:
|
---|
| 60 | QMenu* _menuHlp;
|
---|
| 61 | QMenu* _menuFile;
|
---|
| 62 |
|
---|
[108] | 63 | QAction* _actHelp;
|
---|
[35] | 64 | QAction* _actAbout;
|
---|
[111] | 65 | QAction* _actFontSel;
|
---|
[35] | 66 | QAction* _actSaveOpt;
|
---|
| 67 | QAction* _actQuit;
|
---|
| 68 | QAction* _actGetData;
|
---|
[182] | 69 | QAction* _actStop;
|
---|
[35] | 70 | QAction* _actAddMountPoints;
|
---|
| 71 | QAction* _actDeleteMountPoints;
|
---|
| 72 |
|
---|
| 73 | QLineEdit* _proxyHostLineEdit;
|
---|
| 74 | QLineEdit* _proxyPortLineEdit;
|
---|
| 75 | QLineEdit* _outFileLineEdit;
|
---|
| 76 | QLineEdit* _outPortLineEdit;
|
---|
[83] | 77 | QLineEdit* _rnxPathLineEdit;
|
---|
| 78 | QLineEdit* _rnxSkelLineEdit;
|
---|
[106] | 79 | QLineEdit* _rnxScrpLineEdit;
|
---|
[143] | 80 | QLineEdit* _logFileLineEdit;
|
---|
[106] | 81 | QComboBox* _rnxIntrComboBox;
|
---|
| 82 | QSpinBox* _rnxSamplSpinBox;
|
---|
[259] | 83 | QCheckBox* _rnxAppendCheckBox;
|
---|
[135] | 84 | QSpinBox* _waitTimeSpinBox;
|
---|
[83] | 85 | QTableWidget* _mountPointsTable;
|
---|
[35] | 86 |
|
---|
[356] | 87 | QLineEdit* _LatLineEdit;
|
---|
| 88 | QLineEdit* _LonLineEdit;
|
---|
| 89 |
|
---|
[83] | 90 | QTextEdit* _log;
|
---|
| 91 |
|
---|
[35] | 92 | QWidget* _canvas;
|
---|
| 93 | };
|
---|
| 94 | #endif
|
---|