source: ntrip/branches/BNC_LM/bncwindow.h@ 4752

Last change on this file since 4752 was 3469, checked in by mervart, 13 years ago
File size: 6.2 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;
54
55class 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* _sslCaCertPathLineEdit;
116 QCheckBox* _ignoreSslErrorsCheckBox;
117 QLineEdit* _outFileLineEdit;
118 QLineEdit* _outPortLineEdit;
119 QLineEdit* _outUPortLineEdit;
120 QLineEdit* _outEphPortLineEdit;
121 QLineEdit* _corrPortLineEdit;
122 QLineEdit* _rnxPathLineEdit;
123 QLineEdit* _ephPathLineEdit;
124 QLineEdit* _corrPathLineEdit;
125 QLineEdit* _miscMountLineEdit;
126 QLineEdit* _pppMountLineEdit;
127 QLineEdit* _pppCorrMountLineEdit;
128 QLineEdit* _pppNMEALineEdit;
129 QLineEdit* _pppNMEAPortLineEdit;
130 QLineEdit* _pppSigCLineEdit;
131 QLineEdit* _pppSigPLineEdit;
132 QLineEdit* _pppSigCrd0;
133 QLineEdit* _pppSigCrdP;
134 QLineEdit* _pppSigTrp0;
135 QLineEdit* _pppSigTrpP;
136 QLineEdit* _pppSync;
137 QLineEdit* _pppAverageLineEdit;
138 QLineEdit* _pppQuickStartLineEdit;
139 QLineEdit* _pppMaxSolGapLineEdit;
140 QLineEdit* _pppRefCrdXLineEdit;
141 QLineEdit* _pppRefCrdYLineEdit;
142 QLineEdit* _pppRefCrdZLineEdit;
143 QLineEdit* _pppRefdNLineEdit;
144 QLineEdit* _pppRefdELineEdit;
145 QLineEdit* _pppRefdULineEdit;
146 QCheckBox* _pppPlotCoordinates;
147 QCheckBox* _pppUsePhaseCheckBox;
148 QCheckBox* _pppEstTropoCheckBox;
149 QCheckBox* _pppGLONASSCheckBox;
150 QCheckBox* _pppGalileoCheckBox;
151 QLineEdit* _pppAntennaLineEdit;
152 QLineEdit* _pppAntexLineEdit;
153 QCheckBox* _pppApplySatAntCheckBox;
154 QCheckBox* _rnxV3CheckBox;
155 QCheckBox* _ephV3CheckBox;
156 QLineEdit* _rnxSkelLineEdit;
157 QLineEdit* _rnxScrpLineEdit;
158 QLineEdit* _logFileLineEdit;
159 QLineEdit* _rawOutFileLineEdit;
160 QComboBox* _pppSPPComboBox;
161 QComboBox* _rnxIntrComboBox;
162 QComboBox* _ephIntrComboBox;
163 QComboBox* _corrIntrComboBox;
164 QSpinBox* _rnxSamplSpinBox;
165 QSpinBox* _binSamplSpinBox;
166 QCheckBox* _rnxAppendCheckBox;
167 QCheckBox* _autoStartCheckBox;
168 QCheckBox* _scanRTCMCheckBox;
169 QSpinBox* _waitTimeSpinBox;
170 QSpinBox* _corrTimeSpinBox;
171 QComboBox* _obsRateComboBox;
172 QSpinBox* _adviseFailSpinBox;
173 QSpinBox* _adviseRecoSpinBox;
174 QLineEdit* _adviseScriptLineEdit;
175 QComboBox* _perfIntrComboBox;
176 QTableWidget* _mountPointsTable;
177
178 QLineEdit* _serialPortNameLineEdit;
179 QLineEdit* _serialMountPointLineEdit;
180 QComboBox* _serialBaudRateComboBox;
181 QComboBox* _serialParityComboBox;
182 QComboBox* _serialDataBitsComboBox;
183 QComboBox* _serialStopBitsComboBox;
184 QComboBox* _serialFlowControlComboBox;
185 QLineEdit* _serialHeightNMEALineEdit;
186 QLineEdit* _serialFileNMEALineEdit;
187 QComboBox* _serialAutoNMEAComboBox;
188
189 QLineEdit* _LatLineEdit;
190 QLineEdit* _LonLineEdit;
191
192 QComboBox* _onTheFlyComboBox;
193
194 QTextEdit* _log;
195
196 QWidget* _canvas;
197 QTabWidget* _aogroup;
198
199 QTabWidget* _loggroup;
200 bncFigure* _bncFigure;
201 bncFigureLate* _bncFigureLate;
202 bncFigurePPP* _bncFigurePPP;
203
204 QTableWidget* _cmbTable;
205 QLineEdit* _cmbMaxresLineEdit;
206 QComboBox* _cmbMethodComboBox;
207
208 QTableWidget* _uploadTable;
209 QComboBox* _uploadIntrComboBox;
210 QSpinBox* _uploadSamplSpinBox;
211
212 QLineEdit* _uploadEphHostLineEdit;
213 QLineEdit* _uploadEphPortLineEdit;
214 QLineEdit* _uploadEphPasswordLineEdit;
215 QLineEdit* _uploadEphMountpointLineEdit;
216 QSpinBox* _uploadEphSampleSpinBox;
217 bncBytesCounter* _uploadEphBytesCounter;
218
219 bncCaster* _caster;
220
221 bncEphUploadCaster* _casterEph;
222};
223#endif
Note: See TracBrowser for help on using the repository browser.