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

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