1 | // Part of BNC, a utility for retrieving decoding and
|
---|
2 | // converting GNSS data streams from NTRIP broadcasters.
|
---|
3 | //
|
---|
4 | // Copyright (C) 2007
|
---|
5 | // German Federal Agency for Cartography and Geodesy (BKG)
|
---|
6 | // http://www.bkg.bund.de
|
---|
7 | // Czech Technical University Prague, Department of Geodesy
|
---|
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.
|
---|
24 |
|
---|
25 | #ifndef BNCWINDOW_H
|
---|
26 | #define BNCWINDOW_H
|
---|
27 |
|
---|
28 | #include <QtGui>
|
---|
29 | #include <QWhatsThis>
|
---|
30 |
|
---|
31 | #include "bncgetthread.h"
|
---|
32 | #include "bnccaster.h"
|
---|
33 |
|
---|
34 | class bncWindow : public QMainWindow {
|
---|
35 | Q_OBJECT
|
---|
36 |
|
---|
37 | public:
|
---|
38 | bncWindow();
|
---|
39 | ~bncWindow();
|
---|
40 |
|
---|
41 | public slots:
|
---|
42 | void slotMessage(const QByteArray msg);
|
---|
43 |
|
---|
44 | private slots:
|
---|
45 | void slotHelp();
|
---|
46 | void slotAbout();
|
---|
47 | void slotFontSel();
|
---|
48 | void slotSaveOptions();
|
---|
49 | void slotAddMountPoints();
|
---|
50 | void slotGetData();
|
---|
51 | void slotStop();
|
---|
52 | void slotNewMountPoints(QStringList* mountPoints);
|
---|
53 | void slotDeleteMountPoints();
|
---|
54 | void slotGetThreadErrors();
|
---|
55 | void slotSelectionChanged();
|
---|
56 | void slotWhatsThis();
|
---|
57 |
|
---|
58 | protected:
|
---|
59 | virtual void closeEvent(QCloseEvent *);
|
---|
60 |
|
---|
61 | private:
|
---|
62 | QMenu* _menuHlp;
|
---|
63 | QMenu* _menuFile;
|
---|
64 |
|
---|
65 | QAction* _actHelp;
|
---|
66 | QAction* _actAbout;
|
---|
67 | QAction* _actFontSel;
|
---|
68 | QAction* _actSaveOpt;
|
---|
69 | QAction* _actQuit;
|
---|
70 | QAction* _actGetData;
|
---|
71 | QAction* _actStop;
|
---|
72 | QAction* _actAddMountPoints;
|
---|
73 | QAction* _actDeleteMountPoints;
|
---|
74 | QAction* _actwhatsthis;
|
---|
75 | QAction* _actwhatsthismenu;
|
---|
76 |
|
---|
77 | QLineEdit* _proxyHostLineEdit;
|
---|
78 | QLineEdit* _proxyPortLineEdit;
|
---|
79 | QLineEdit* _outFileLineEdit;
|
---|
80 | QLineEdit* _outPortLineEdit;
|
---|
81 | QLineEdit* _rnxPathLineEdit;
|
---|
82 | QLineEdit* _rnxSkelLineEdit;
|
---|
83 | QLineEdit* _rnxScrpLineEdit;
|
---|
84 | QLineEdit* _logFileLineEdit;
|
---|
85 | QComboBox* _rnxIntrComboBox;
|
---|
86 | QSpinBox* _rnxSamplSpinBox;
|
---|
87 | QCheckBox* _rnxAppendCheckBox;
|
---|
88 | QSpinBox* _waitTimeSpinBox;
|
---|
89 | QTableWidget* _mountPointsTable;
|
---|
90 |
|
---|
91 | QLineEdit* _LatLineEdit;
|
---|
92 | QLineEdit* _LonLineEdit;
|
---|
93 |
|
---|
94 | QTextEdit* _log;
|
---|
95 |
|
---|
96 | QWidget* _canvas;
|
---|
97 |
|
---|
98 | bncCaster* _caster;
|
---|
99 | };
|
---|
100 | #endif
|
---|