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