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

Last change on this file since 3635 was 3629, checked in by mervart, 12 years ago
File size: 6.7 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(float);
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 slotFinishedPostProcessing();
81 void slotStop();
82 void slotNewMountPoints(QStringList* mountPoints);
83 void slotDeleteMountPoints();
84 void slotGetThreadsFinished();
85 void slotSelectionChanged();
86 void slotWhatsThis();
87 void slotAddCmbRow();
88 void slotDelCmbRow();
89 void slotAddUploadRow();
90 void slotDelUploadRow();
91 void slotSetUploadTrafo();
92
93 protected:
94 virtual void closeEvent(QCloseEvent *);
95
96 private:
97 void populateMountPointsTable();
98 void populateCmbTable();
99 void populateUploadTable();
100 void enableWidget(bool enable, QWidget* widget);
101
102 QMenu* _menuHlp;
103 QMenu* _menuFile;
104
105 QAction* _actHelp;
106 QAction* _actAbout;
107 QAction* _actFlowchart;
108 QAction* _actFontSel;
109 QAction* _actSaveOpt;
110 QAction* _actQuit;
111 QAction* _actGetData;
112 QAction* _actPostProcessing;
113 QAction* _actStop;
114 QAction* _actAddMountPoints;
115 QAction* _actDeleteMountPoints;
116 QAction* _actwhatsthis;
117 QAction* _actwhatsthismenu;
118
119 QLineEdit* _proxyHostLineEdit;
120 QLineEdit* _proxyPortLineEdit;
121 QLineEdit* _sslCaCertPathLineEdit;
122 QCheckBox* _ignoreSslErrorsCheckBox;
123 QLineEdit* _outFileLineEdit;
124 QLineEdit* _outPortLineEdit;
125 QLineEdit* _outUPortLineEdit;
126 QLineEdit* _outEphPortLineEdit;
127 QLineEdit* _corrPortLineEdit;
128 QLineEdit* _rnxPathLineEdit;
129 QLineEdit* _ephPathLineEdit;
130 QLineEdit* _corrPathLineEdit;
131 QLineEdit* _miscMountLineEdit;
132 QLineEdit* _pppMountLineEdit;
133 QLineEdit* _pppCorrMountLineEdit;
134 QLineEdit* _pppNMEALineEdit;
135 QLineEdit* _pppNMEAPortLineEdit;
136 QLineEdit* _pppSigCLineEdit;
137 QLineEdit* _pppSigPLineEdit;
138 QLineEdit* _pppSigCrd0;
139 QLineEdit* _pppSigCrdP;
140 QLineEdit* _pppSigTrp0;
141 QLineEdit* _pppSigTrpP;
142 QLineEdit* _pppSync;
143 QLineEdit* _pppAverageLineEdit;
144 QLineEdit* _pppQuickStartLineEdit;
145 QLineEdit* _pppMaxSolGapLineEdit;
146 QLineEdit* _pppRefCrdXLineEdit;
147 QLineEdit* _pppRefCrdYLineEdit;
148 QLineEdit* _pppRefCrdZLineEdit;
149 QLineEdit* _pppRefdNLineEdit;
150 QLineEdit* _pppRefdELineEdit;
151 QLineEdit* _pppRefdULineEdit;
152 QCheckBox* _pppPlotCoordinates;
153 QCheckBox* _pppUsePhaseCheckBox;
154 QCheckBox* _pppEstTropoCheckBox;
155 QCheckBox* _pppGLONASSCheckBox;
156 QCheckBox* _pppGalileoCheckBox;
157 QLineEdit* _pppAntennaLineEdit;
158 qtFileChooser* _pppAntexFileChooser;
159 QCheckBox* _pppApplySatAntCheckBox;
160
161 qtFileChooser* _postObsFileChooser;
162 qtFileChooser* _postNavFileChooser;
163 qtFileChooser* _postCorrFileChooser;
164 QProgressBar* _postProgressBar;
165 QLabel* _postProgressLabel;
166 QLineEdit* _postOutLineEdit;
167
168 QCheckBox* _rnxV3CheckBox;
169 QCheckBox* _ephV3CheckBox;
170 QLineEdit* _rnxSkelLineEdit;
171 QLineEdit* _rnxScrpLineEdit;
172 QLineEdit* _logFileLineEdit;
173 QLineEdit* _rawOutFileLineEdit;
174 QComboBox* _pppSPPComboBox;
175 QComboBox* _rnxIntrComboBox;
176 QComboBox* _ephIntrComboBox;
177 QComboBox* _corrIntrComboBox;
178 QSpinBox* _rnxSamplSpinBox;
179 QSpinBox* _binSamplSpinBox;
180 QCheckBox* _rnxAppendCheckBox;
181 QCheckBox* _autoStartCheckBox;
182 QCheckBox* _scanRTCMCheckBox;
183 QSpinBox* _waitTimeSpinBox;
184 QSpinBox* _corrTimeSpinBox;
185 QComboBox* _obsRateComboBox;
186 QSpinBox* _adviseFailSpinBox;
187 QSpinBox* _adviseRecoSpinBox;
188 QLineEdit* _adviseScriptLineEdit;
189 QComboBox* _perfIntrComboBox;
190 QTableWidget* _mountPointsTable;
191
192 QLineEdit* _serialPortNameLineEdit;
193 QLineEdit* _serialMountPointLineEdit;
194 QComboBox* _serialBaudRateComboBox;
195 QComboBox* _serialParityComboBox;
196 QComboBox* _serialDataBitsComboBox;
197 QComboBox* _serialStopBitsComboBox;
198 QComboBox* _serialFlowControlComboBox;
199 QLineEdit* _serialHeightNMEALineEdit;
200 QLineEdit* _serialFileNMEALineEdit;
201 QComboBox* _serialAutoNMEAComboBox;
202
203 QLineEdit* _LatLineEdit;
204 QLineEdit* _LonLineEdit;
205
206 QComboBox* _onTheFlyComboBox;
207
208 QTextEdit* _log;
209
210 QWidget* _canvas;
211 QTabWidget* _aogroup;
212
213 QTabWidget* _loggroup;
214 bncFigure* _bncFigure;
215 bncFigureLate* _bncFigureLate;
216 bncFigurePPP* _bncFigurePPP;
217
218 QTableWidget* _cmbTable;
219 QLineEdit* _cmbMaxresLineEdit;
220 QComboBox* _cmbMethodComboBox;
221
222 QTableWidget* _uploadTable;
223 QComboBox* _uploadIntrComboBox;
224 QSpinBox* _uploadSamplSpinBox;
225 QSpinBox* _uploadSamplOrbSpinBox;
226
227 QLineEdit* _uploadEphHostLineEdit;
228 QLineEdit* _uploadEphPortLineEdit;
229 QLineEdit* _uploadEphPasswordLineEdit;
230 QLineEdit* _uploadEphMountpointLineEdit;
231 QSpinBox* _uploadEphSampleSpinBox;
232 bncBytesCounter* _uploadEphBytesCounter;
233
234 bncCaster* _caster;
235
236 bncEphUploadCaster* _casterEph;
237};
238#endif
Note: See TracBrowser for help on using the repository browser.