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

Last change on this file since 3152 was 3152, checked in by mervart, 13 years ago
File size: 5.7 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 slotAddRtnetRow();
84 void slotDelRtnetRow();
85
86 protected:
87 virtual void closeEvent(QCloseEvent *);
88
89 private:
90 void populateMountPointsTable();
91 void populateCmbTable();
92 void populateRtnetTable();
93
94 QMenu* _menuHlp;
95 QMenu* _menuFile;
96
97 QAction* _actHelp;
98 QAction* _actAbout;
99 QAction* _actFlowchart;
100 QAction* _actFontSel;
101 QAction* _actSaveOpt;
102 QAction* _actQuit;
103 QAction* _actGetData;
104 QAction* _actStop;
105 QAction* _actAddMountPoints;
106 QAction* _actDeleteMountPoints;
107 QAction* _actwhatsthis;
108 QAction* _actwhatsthismenu;
109
110 QLineEdit* _proxyHostLineEdit;
111 QLineEdit* _proxyPortLineEdit;
112 QLineEdit* _outFileLineEdit;
113 QLineEdit* _outPortLineEdit;
114 QLineEdit* _outUPortLineEdit;
115 QLineEdit* _outEphPortLineEdit;
116 QLineEdit* _corrPortLineEdit;
117 QLineEdit* _rnxPathLineEdit;
118 QLineEdit* _ephPathLineEdit;
119 QLineEdit* _corrPathLineEdit;
120 QLineEdit* _miscMountLineEdit;
121 QLineEdit* _pppMountLineEdit;
122 QLineEdit* _pppCorrMountLineEdit;
123 QLineEdit* _pppNMEALineEdit;
124 QLineEdit* _pppNMEAPortLineEdit;
125 QLineEdit* _pppSigCLineEdit;
126 QLineEdit* _pppSigPLineEdit;
127 QLineEdit* _pppSigCrd0;
128 QLineEdit* _pppSigCrdP;
129 QLineEdit* _pppSigTrp0;
130 QLineEdit* _pppSigTrpP;
131 QLineEdit* _pppSync;
132 QLineEdit* _pppAverageLineEdit;
133 QLineEdit* _pppQuickStartLineEdit;
134 QLineEdit* _pppMaxSolGapLineEdit;
135 QLineEdit* _pppRefCrdXLineEdit;
136 QLineEdit* _pppRefCrdYLineEdit;
137 QLineEdit* _pppRefCrdZLineEdit;
138 QCheckBox* _pppPlotCoordinates;
139 QCheckBox* _pppUsePhaseCheckBox;
140 QCheckBox* _pppEstTropoCheckBox;
141 QCheckBox* _pppGLONASSCheckBox;
142 QCheckBox* _pppGalileoCheckBox;
143 QLineEdit* _pppAntennaLineEdit;
144 QLineEdit* _pppAntexLineEdit;
145 QCheckBox* _pppApplySatAntCheckBox;
146 QCheckBox* _rnxV3CheckBox;
147 QCheckBox* _ephV3CheckBox;
148 QLineEdit* _rnxSkelLineEdit;
149 QLineEdit* _rnxScrpLineEdit;
150 QLineEdit* _logFileLineEdit;
151 QLineEdit* _rawOutFileLineEdit;
152 QComboBox* _pppSPPComboBox;
153 QComboBox* _rnxIntrComboBox;
154 QComboBox* _ephIntrComboBox;
155 QComboBox* _corrIntrComboBox;
156 QSpinBox* _rnxSamplSpinBox;
157 QSpinBox* _binSamplSpinBox;
158 QCheckBox* _rnxAppendCheckBox;
159 QCheckBox* _autoStartCheckBox;
160 QCheckBox* _scanRTCMCheckBox;
161 QSpinBox* _waitTimeSpinBox;
162 QSpinBox* _corrTimeSpinBox;
163 QComboBox* _obsRateComboBox;
164 QSpinBox* _adviseFailSpinBox;
165 QSpinBox* _adviseRecoSpinBox;
166 QLineEdit* _adviseScriptLineEdit;
167 QComboBox* _perfIntrComboBox;
168 QTableWidget* _mountPointsTable;
169
170 QLineEdit* _serialPortNameLineEdit;
171 QLineEdit* _serialMountPointLineEdit;
172 QComboBox* _serialBaudRateComboBox;
173 QComboBox* _serialParityComboBox;
174 QComboBox* _serialDataBitsComboBox;
175 QComboBox* _serialStopBitsComboBox;
176 QComboBox* _serialFlowControlComboBox;
177 QLineEdit* _serialHeightNMEALineEdit;
178 QLineEdit* _serialFileNMEALineEdit;
179 QComboBox* _serialAutoNMEAComboBox;
180
181 QLineEdit* _LatLineEdit;
182 QLineEdit* _LonLineEdit;
183
184 QComboBox* _onTheFlyComboBox;
185
186 QTextEdit* _log;
187
188 QWidget* _canvas;
189 QTabWidget* _aogroup;
190
191 QTabWidget* _loggroup;
192 bncFigure* _bncFigure;
193 bncFigureLate* _bncFigureLate;
194 bncFigurePPP* _bncFigurePPP;
195
196 QTableWidget* _cmbTable;
197 QLineEdit* _cmbOutHostLineEdit;
198 QLineEdit* _cmbOutPortLineEdit;
199 QLineEdit* _cmbMountpointLineEdit;
200 QLineEdit* _cmbPasswordLineEdit;
201 QLineEdit* _cmbOutPathLineEdit;
202 QLineEdit* _cmbSP3PathLineEdit;
203
204 QTableWidget* _rtnetTable;
205
206 bncCaster* _caster;
207};
208#endif
Note: See TracBrowser for help on using the repository browser.