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

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