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.
|
---|
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();
|
---|
38 | ~bncWindow();
|
---|
39 |
|
---|
40 | public slots:
|
---|
41 | void slotMessage(const QByteArray& msg);
|
---|
42 |
|
---|
43 | private slots:
|
---|
44 | void slotHelp();
|
---|
45 | void slotAbout();
|
---|
46 | void slotFontSel();
|
---|
47 | void slotSaveOptions();
|
---|
48 | void slotAddMountPoints();
|
---|
49 | void slotGetData();
|
---|
50 | void slotStop();
|
---|
51 | void slotNewMountPoints(QStringList* mountPoints);
|
---|
52 | void slotDeleteMountPoints();
|
---|
53 | void slotGetThreadErrors();
|
---|
54 | void slotSelectionChanged();
|
---|
55 |
|
---|
56 | protected:
|
---|
57 | virtual void closeEvent(QCloseEvent *);
|
---|
58 |
|
---|
59 | private:
|
---|
60 | QMenu* _menuHlp;
|
---|
61 | QMenu* _menuFile;
|
---|
62 |
|
---|
63 | QAction* _actHelp;
|
---|
64 | QAction* _actAbout;
|
---|
65 | QAction* _actFontSel;
|
---|
66 | QAction* _actSaveOpt;
|
---|
67 | QAction* _actQuit;
|
---|
68 | QAction* _actGetData;
|
---|
69 | QAction* _actStop;
|
---|
70 | QAction* _actAddMountPoints;
|
---|
71 | QAction* _actDeleteMountPoints;
|
---|
72 |
|
---|
73 | QLineEdit* _proxyHostLineEdit;
|
---|
74 | QLineEdit* _proxyPortLineEdit;
|
---|
75 | QLineEdit* _outFileLineEdit;
|
---|
76 | QLineEdit* _outPortLineEdit;
|
---|
77 | QLineEdit* _rnxPathLineEdit;
|
---|
78 | QLineEdit* _rnxSkelLineEdit;
|
---|
79 | QLineEdit* _rnxScrpLineEdit;
|
---|
80 | QLineEdit* _logFileLineEdit;
|
---|
81 | QComboBox* _rnxIntrComboBox;
|
---|
82 | QSpinBox* _rnxSamplSpinBox;
|
---|
83 | QCheckBox* _rnxAppendCheckBox;
|
---|
84 | QSpinBox* _waitTimeSpinBox;
|
---|
85 | QTableWidget* _mountPointsTable;
|
---|
86 |
|
---|
87 | QLineEdit* _LatLineEdit;
|
---|
88 | QLineEdit* _LonLineEdit;
|
---|
89 |
|
---|
90 | QTextEdit* _log;
|
---|
91 |
|
---|
92 | QWidget* _canvas;
|
---|
93 | };
|
---|
94 | #endif
|
---|