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

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