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 | #include <QWhatsThis>
|
---|
31 |
|
---|
32 | #include "bncgetthread.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 | #endif
|
---|