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

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