source: ntrip/trunk/BNC/bncwindow.h@ 3731

Last change on this file since 3731 was 3731, checked in by mervart, 12 years ago
File size: 6.9 KB
Line 
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
34class bncAboutDlg : public QDialog {
35 Q_OBJECT
36 public:
37 bncAboutDlg(QWidget* parent);
38 ~bncAboutDlg();
39};
40
41class bncFlowchartDlg : public QDialog {
42 Q_OBJECT
43
44 public:
45 bncFlowchartDlg(QWidget* parent);
46 ~bncFlowchartDlg();
47};
48
49class bncFigure;
50class bncFigureLate;
51class bncFigurePPP;
52class bncBytesCounter;
53class bncEphUploadCaster;
54class qtFileChooser;
55
56class bncWindow : public QMainWindow {
57 Q_OBJECT
58
59 public:
60 bncWindow();
61 ~bncWindow();
62 void CreateMenu();
63 void AddToolbar();
64
65 public slots:
66 void slotMountPointsRead(QList<bncGetThread*>);
67 void slotBncTextChanged();
68 void slotPostProgress(int);
69
70 private slots:
71 void slotWindowMessage(const QByteArray msg, bool showOnScreen);
72 void slotHelp();
73 void slotAbout();
74 void slotFlowchart();
75 void slotFontSel();
76 void slotSaveOptions();
77 void slotAddMountPoints();
78 void slotGetData();
79 void slotStartPostProcessing();
80 void slotStartTeqcProcessing();
81 void slotFinishedPostProcessing();
82 void slotFinishedTeqcProcessing();
83 void slotStop();
84 void slotNewMountPoints(QStringList* mountPoints);
85 void slotDeleteMountPoints();
86 void slotGetThreadsFinished();
87 void slotSelectionChanged();
88 void slotWhatsThis();
89 void slotAddCmbRow();
90 void slotDelCmbRow();
91 void slotAddUploadRow();
92 void slotDelUploadRow();
93 void slotSetUploadTrafo();
94
95 protected:
96 virtual void closeEvent(QCloseEvent *);
97
98 private:
99 void populateMountPointsTable();
100 void populateCmbTable();
101 void populateUploadTable();
102 void enableWidget(bool enable, QWidget* widget);
103
104 QMenu* _menuHlp;
105 QMenu* _menuFile;
106
107 QAction* _actHelp;
108 QAction* _actAbout;
109 QAction* _actFlowchart;
110 QAction* _actFontSel;
111 QAction* _actSaveOpt;
112 QAction* _actQuit;
113 QAction* _actGetData;
114 QAction* _actPostProcessing;
115 QAction* _actTeqcProcessing;
116 QAction* _actStop;
117 QAction* _actAddMountPoints;
118 QAction* _actDeleteMountPoints;
119 QAction* _actwhatsthis;
120 QAction* _actwhatsthismenu;
121
122 QLineEdit* _proxyHostLineEdit;
123 QLineEdit* _proxyPortLineEdit;
124 QLineEdit* _sslCaCertPathLineEdit;
125 QCheckBox* _ignoreSslErrorsCheckBox;
126 QLineEdit* _outFileLineEdit;
127 QLineEdit* _outPortLineEdit;
128 QLineEdit* _outUPortLineEdit;
129 QLineEdit* _outEphPortLineEdit;
130 QLineEdit* _corrPortLineEdit;
131 QLineEdit* _rnxPathLineEdit;
132 QLineEdit* _ephPathLineEdit;
133 QLineEdit* _corrPathLineEdit;
134 QLineEdit* _miscMountLineEdit;
135 QLineEdit* _pppMountLineEdit;
136 QLineEdit* _pppCorrMountLineEdit;
137 QLineEdit* _pppNMEALineEdit;
138 QLineEdit* _pppNMEAPortLineEdit;
139 QLineEdit* _pppSigCLineEdit;
140 QLineEdit* _pppSigPLineEdit;
141 QLineEdit* _pppSigCrd0;
142 QLineEdit* _pppSigCrdP;
143 QLineEdit* _pppSigTrp0;
144 QLineEdit* _pppSigTrpP;
145 QLineEdit* _pppSync;
146 QLineEdit* _pppAverageLineEdit;
147 QLineEdit* _pppQuickStartLineEdit;
148 QLineEdit* _pppMaxSolGapLineEdit;
149 QLineEdit* _pppRefCrdXLineEdit;
150 QLineEdit* _pppRefCrdYLineEdit;
151 QLineEdit* _pppRefCrdZLineEdit;
152 QLineEdit* _pppRefdNLineEdit;
153 QLineEdit* _pppRefdELineEdit;
154 QLineEdit* _pppRefdULineEdit;
155 QCheckBox* _pppPlotCoordinates;
156 QCheckBox* _pppUsePhaseCheckBox;
157 QCheckBox* _pppEstTropoCheckBox;
158 QCheckBox* _pppGLONASSCheckBox;
159 QCheckBox* _pppGalileoCheckBox;
160 QLineEdit* _pppAntennaLineEdit;
161 qtFileChooser* _pppAntexFileChooser;
162 QCheckBox* _pppApplySatAntCheckBox;
163
164 qtFileChooser* _postObsFileChooser;
165 qtFileChooser* _postNavFileChooser;
166 qtFileChooser* _postCorrFileChooser;
167 QLineEdit* _postOutLineEdit;
168
169 qtFileChooser* _teqcObsFileChooser;
170 qtFileChooser* _teqcNavFileChooser;
171 qtFileChooser* _teqcCorrFileChooser;
172 QLineEdit* _teqcOutLineEdit;
173
174 QCheckBox* _rnxV3CheckBox;
175 QCheckBox* _ephV3CheckBox;
176 QLineEdit* _rnxSkelLineEdit;
177 QLineEdit* _rnxScrpLineEdit;
178 QLineEdit* _logFileLineEdit;
179 QLineEdit* _rawOutFileLineEdit;
180 QComboBox* _pppSPPComboBox;
181 QComboBox* _teqcActionComboBox;
182 QComboBox* _rnxIntrComboBox;
183 QComboBox* _ephIntrComboBox;
184 QComboBox* _corrIntrComboBox;
185 QSpinBox* _rnxSamplSpinBox;
186 QSpinBox* _binSamplSpinBox;
187 QCheckBox* _rnxAppendCheckBox;
188 QCheckBox* _autoStartCheckBox;
189 QCheckBox* _scanRTCMCheckBox;
190 QSpinBox* _waitTimeSpinBox;
191 QSpinBox* _corrTimeSpinBox;
192 QComboBox* _obsRateComboBox;
193 QSpinBox* _adviseFailSpinBox;
194 QSpinBox* _adviseRecoSpinBox;
195 QLineEdit* _adviseScriptLineEdit;
196 QComboBox* _perfIntrComboBox;
197 QTableWidget* _mountPointsTable;
198
199 QLineEdit* _serialPortNameLineEdit;
200 QLineEdit* _serialMountPointLineEdit;
201 QComboBox* _serialBaudRateComboBox;
202 QComboBox* _serialParityComboBox;
203 QComboBox* _serialDataBitsComboBox;
204 QComboBox* _serialStopBitsComboBox;
205 QComboBox* _serialFlowControlComboBox;
206 QLineEdit* _serialHeightNMEALineEdit;
207 QLineEdit* _serialFileNMEALineEdit;
208 QComboBox* _serialAutoNMEAComboBox;
209
210 QLineEdit* _LatLineEdit;
211 QLineEdit* _LonLineEdit;
212
213 QComboBox* _onTheFlyComboBox;
214
215 QTextEdit* _log;
216
217 QWidget* _canvas;
218 QTabWidget* _aogroup;
219
220 QTabWidget* _loggroup;
221 bncFigure* _bncFigure;
222 bncFigureLate* _bncFigureLate;
223 bncFigurePPP* _bncFigurePPP;
224
225 QTableWidget* _cmbTable;
226 QLineEdit* _cmbMaxresLineEdit;
227 QComboBox* _cmbMethodComboBox;
228
229 QTableWidget* _uploadTable;
230 QComboBox* _uploadIntrComboBox;
231 QSpinBox* _uploadSamplSpinBox;
232 QSpinBox* _uploadSamplOrbSpinBox;
233
234 QLineEdit* _uploadEphHostLineEdit;
235 QLineEdit* _uploadEphPortLineEdit;
236 QLineEdit* _uploadEphPasswordLineEdit;
237 QLineEdit* _uploadEphMountpointLineEdit;
238 QSpinBox* _uploadEphSampleSpinBox;
239 bncBytesCounter* _uploadEphBytesCounter;
240
241 bncCaster* _caster;
242
243 bncEphUploadCaster* _casterEph;
244};
245#endif
Note: See TracBrowser for help on using the repository browser.