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

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