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