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 | public:
|
---|
37 | bncAboutDlg(QWidget* parent);
|
---|
38 | ~bncAboutDlg();
|
---|
39 | };
|
---|
40 |
|
---|
41 | class bncFlowchartDlg : public QDialog {
|
---|
42 | Q_OBJECT
|
---|
43 |
|
---|
44 | public:
|
---|
45 | bncFlowchartDlg(QWidget* parent);
|
---|
46 | ~bncFlowchartDlg();
|
---|
47 | };
|
---|
48 |
|
---|
49 | class bncFigure;
|
---|
50 | class bncFigureLate;
|
---|
51 | class bncFigurePPP;
|
---|
52 | class bncBytesCounter;
|
---|
53 | class bncEphUploadCaster;
|
---|
54 |
|
---|
55 | class bncWindow : public QMainWindow {
|
---|
56 | Q_OBJECT
|
---|
57 |
|
---|
58 | public:
|
---|
59 | bncWindow();
|
---|
60 | ~bncWindow();
|
---|
61 | void CreateMenu();
|
---|
62 | void AddToolbar();
|
---|
63 |
|
---|
64 | public slots:
|
---|
65 | void slotMountPointsRead(QList<bncGetThread*>);
|
---|
66 | void slotBncTextChanged();
|
---|
67 |
|
---|
68 | private slots:
|
---|
69 | void slotWindowMessage(const QByteArray msg, bool showOnScreen);
|
---|
70 | void slotHelp();
|
---|
71 | void slotAbout();
|
---|
72 | void slotFlowchart();
|
---|
73 | void slotFontSel();
|
---|
74 | void slotSaveOptions();
|
---|
75 | void slotAddMountPoints();
|
---|
76 | void slotGetData();
|
---|
77 | void slotStop();
|
---|
78 | void slotNewMountPoints(QStringList* mountPoints);
|
---|
79 | void slotDeleteMountPoints();
|
---|
80 | void slotGetThreadsFinished();
|
---|
81 | void slotSelectionChanged();
|
---|
82 | void slotWhatsThis();
|
---|
83 | void slotAddCmbRow();
|
---|
84 | void slotDelCmbRow();
|
---|
85 | void slotAddUploadRow();
|
---|
86 | void slotDelUploadRow();
|
---|
87 | void slotSetUploadTrafo();
|
---|
88 |
|
---|
89 | protected:
|
---|
90 | virtual void closeEvent(QCloseEvent *);
|
---|
91 |
|
---|
92 | private:
|
---|
93 | void populateMountPointsTable();
|
---|
94 | void populateCmbTable();
|
---|
95 | void populateUploadTable();
|
---|
96 |
|
---|
97 | QMenu* _menuHlp;
|
---|
98 | QMenu* _menuFile;
|
---|
99 |
|
---|
100 | QAction* _actHelp;
|
---|
101 | QAction* _actAbout;
|
---|
102 | QAction* _actFlowchart;
|
---|
103 | QAction* _actFontSel;
|
---|
104 | QAction* _actSaveOpt;
|
---|
105 | QAction* _actQuit;
|
---|
106 | QAction* _actGetData;
|
---|
107 | QAction* _actStop;
|
---|
108 | QAction* _actAddMountPoints;
|
---|
109 | QAction* _actDeleteMountPoints;
|
---|
110 | QAction* _actwhatsthis;
|
---|
111 | QAction* _actwhatsthismenu;
|
---|
112 |
|
---|
113 | QLineEdit* _proxyHostLineEdit;
|
---|
114 | QLineEdit* _proxyPortLineEdit;
|
---|
115 | QLineEdit* _outFileLineEdit;
|
---|
116 | QLineEdit* _outPortLineEdit;
|
---|
117 | QLineEdit* _outUPortLineEdit;
|
---|
118 | QLineEdit* _outEphPortLineEdit;
|
---|
119 | QLineEdit* _corrPortLineEdit;
|
---|
120 | QLineEdit* _rnxPathLineEdit;
|
---|
121 | QLineEdit* _ephPathLineEdit;
|
---|
122 | QLineEdit* _corrPathLineEdit;
|
---|
123 | QLineEdit* _miscMountLineEdit;
|
---|
124 | QLineEdit* _pppMountLineEdit;
|
---|
125 | QLineEdit* _pppCorrMountLineEdit;
|
---|
126 | QLineEdit* _pppNMEALineEdit;
|
---|
127 | QLineEdit* _pppNMEAPortLineEdit;
|
---|
128 | QLineEdit* _pppSigCLineEdit;
|
---|
129 | QLineEdit* _pppSigPLineEdit;
|
---|
130 | QLineEdit* _pppSigCrd0;
|
---|
131 | QLineEdit* _pppSigCrdP;
|
---|
132 | QLineEdit* _pppSigTrp0;
|
---|
133 | QLineEdit* _pppSigTrpP;
|
---|
134 | QLineEdit* _pppSync;
|
---|
135 | QLineEdit* _pppAverageLineEdit;
|
---|
136 | QLineEdit* _pppQuickStartLineEdit;
|
---|
137 | QLineEdit* _pppMaxSolGapLineEdit;
|
---|
138 | QLineEdit* _pppRefCrdXLineEdit;
|
---|
139 | QLineEdit* _pppRefCrdYLineEdit;
|
---|
140 | QLineEdit* _pppRefCrdZLineEdit;
|
---|
141 | QCheckBox* _pppPlotCoordinates;
|
---|
142 | QCheckBox* _pppUsePhaseCheckBox;
|
---|
143 | QCheckBox* _pppEstTropoCheckBox;
|
---|
144 | QCheckBox* _pppGLONASSCheckBox;
|
---|
145 | QCheckBox* _pppGalileoCheckBox;
|
---|
146 | QLineEdit* _pppAntennaLineEdit;
|
---|
147 | QLineEdit* _pppAntexLineEdit;
|
---|
148 | QCheckBox* _pppApplySatAntCheckBox;
|
---|
149 | QCheckBox* _rnxV3CheckBox;
|
---|
150 | QCheckBox* _ephV3CheckBox;
|
---|
151 | QLineEdit* _rnxSkelLineEdit;
|
---|
152 | QLineEdit* _rnxScrpLineEdit;
|
---|
153 | QLineEdit* _logFileLineEdit;
|
---|
154 | QLineEdit* _rawOutFileLineEdit;
|
---|
155 | QComboBox* _pppSPPComboBox;
|
---|
156 | QComboBox* _rnxIntrComboBox;
|
---|
157 | QComboBox* _ephIntrComboBox;
|
---|
158 | QComboBox* _corrIntrComboBox;
|
---|
159 | QSpinBox* _rnxSamplSpinBox;
|
---|
160 | QSpinBox* _binSamplSpinBox;
|
---|
161 | QCheckBox* _rnxAppendCheckBox;
|
---|
162 | QCheckBox* _autoStartCheckBox;
|
---|
163 | QCheckBox* _scanRTCMCheckBox;
|
---|
164 | QSpinBox* _waitTimeSpinBox;
|
---|
165 | QSpinBox* _corrTimeSpinBox;
|
---|
166 | QComboBox* _obsRateComboBox;
|
---|
167 | QSpinBox* _adviseFailSpinBox;
|
---|
168 | QSpinBox* _adviseRecoSpinBox;
|
---|
169 | QLineEdit* _adviseScriptLineEdit;
|
---|
170 | QComboBox* _perfIntrComboBox;
|
---|
171 | QTableWidget* _mountPointsTable;
|
---|
172 |
|
---|
173 | QLineEdit* _serialPortNameLineEdit;
|
---|
174 | QLineEdit* _serialMountPointLineEdit;
|
---|
175 | QComboBox* _serialBaudRateComboBox;
|
---|
176 | QComboBox* _serialParityComboBox;
|
---|
177 | QComboBox* _serialDataBitsComboBox;
|
---|
178 | QComboBox* _serialStopBitsComboBox;
|
---|
179 | QComboBox* _serialFlowControlComboBox;
|
---|
180 | QLineEdit* _serialHeightNMEALineEdit;
|
---|
181 | QLineEdit* _serialFileNMEALineEdit;
|
---|
182 | QComboBox* _serialAutoNMEAComboBox;
|
---|
183 |
|
---|
184 | QLineEdit* _LatLineEdit;
|
---|
185 | QLineEdit* _LonLineEdit;
|
---|
186 |
|
---|
187 | QComboBox* _onTheFlyComboBox;
|
---|
188 |
|
---|
189 | QTextEdit* _log;
|
---|
190 |
|
---|
191 | QWidget* _canvas;
|
---|
192 | QTabWidget* _aogroup;
|
---|
193 |
|
---|
194 | QTabWidget* _loggroup;
|
---|
195 | bncFigure* _bncFigure;
|
---|
196 | bncFigureLate* _bncFigureLate;
|
---|
197 | bncFigurePPP* _bncFigurePPP;
|
---|
198 |
|
---|
199 | QTableWidget* _cmbTable;
|
---|
200 |
|
---|
201 | QTableWidget* _uploadTable;
|
---|
202 | QComboBox* _uploadIntrComboBox;
|
---|
203 | QSpinBox* _uploadSamplSpinBox;
|
---|
204 |
|
---|
205 | QLineEdit* _uploadEphHostLineEdit;
|
---|
206 | QLineEdit* _uploadEphPortLineEdit;
|
---|
207 | QLineEdit* _uploadEphPasswordLineEdit;
|
---|
208 | QLineEdit* _uploadEphMountpointLineEdit;
|
---|
209 | QSpinBox* _uploadEphSampleSpinBox;
|
---|
210 | bncBytesCounter* _uploadEphBytesCounter;
|
---|
211 |
|
---|
212 | bncCaster* _caster;
|
---|
213 |
|
---|
214 | bncEphUploadCaster* _casterEph;
|
---|
215 | };
|
---|
216 | #endif
|
---|