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 |
|
---|
34 | class bncAboutDlg : public QDialog {
|
---|
35 | Q_OBJECT
|
---|
36 | public:
|
---|
37 | bncAboutDlg(QWidget* parent);
|
---|
38 | ~bncAboutDlg();
|
---|
39 | };
|
---|
40 |
|
---|
41 | class bncFlowchartDlg : public QDialog {
|
---|
42 | Q_OBJECT
|
---|
43 |
|
---|
44 | public:
|
---|
45 | bncFlowchartDlg(QWidget* parent);
|
---|
46 | ~bncFlowchartDlg();
|
---|
47 | };
|
---|
48 |
|
---|
49 | class bncFigure;
|
---|
50 | class bncFigureLate;
|
---|
51 | class bncFigurePPP;
|
---|
52 |
|
---|
53 | class 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 |
|
---|
84 | protected:
|
---|
85 | virtual void closeEvent(QCloseEvent *);
|
---|
86 |
|
---|
87 | private:
|
---|
88 | void populateMountPointsTable();
|
---|
89 | void populateCmbTable();
|
---|
90 |
|
---|
91 | QMenu* _menuHlp;
|
---|
92 | QMenu* _menuFile;
|
---|
93 |
|
---|
94 | QAction* _actHelp;
|
---|
95 | QAction* _actAbout;
|
---|
96 | QAction* _actFlowchart;
|
---|
97 | QAction* _actFontSel;
|
---|
98 | QAction* _actSaveOpt;
|
---|
99 | QAction* _actQuit;
|
---|
100 | QAction* _actGetData;
|
---|
101 | QAction* _actStop;
|
---|
102 | QAction* _actAddMountPoints;
|
---|
103 | QAction* _actDeleteMountPoints;
|
---|
104 | QAction* _actwhatsthis;
|
---|
105 | QAction* _actwhatsthismenu;
|
---|
106 |
|
---|
107 | QLineEdit* _proxyHostLineEdit;
|
---|
108 | QLineEdit* _proxyPortLineEdit;
|
---|
109 | QLineEdit* _outFileLineEdit;
|
---|
110 | QLineEdit* _outPortLineEdit;
|
---|
111 | QLineEdit* _outUPortLineEdit;
|
---|
112 | QLineEdit* _outEphPortLineEdit;
|
---|
113 | QLineEdit* _corrPortLineEdit;
|
---|
114 | QLineEdit* _rnxPathLineEdit;
|
---|
115 | QLineEdit* _ephPathLineEdit;
|
---|
116 | QLineEdit* _corrPathLineEdit;
|
---|
117 | QLineEdit* _miscMountLineEdit;
|
---|
118 | QLineEdit* _pppMountLineEdit;
|
---|
119 | QLineEdit* _pppNMEALineEdit;
|
---|
120 | QLineEdit* _pppNMEAPortLineEdit;
|
---|
121 | QLineEdit* _pppSigCLineEdit;
|
---|
122 | QLineEdit* _pppSigPLineEdit;
|
---|
123 | QLineEdit* _pppSigCrd0;
|
---|
124 | QLineEdit* _pppSigCrdP;
|
---|
125 | QLineEdit* _pppSigTrp0;
|
---|
126 | QLineEdit* _pppSigTrpP;
|
---|
127 | QLineEdit* _pppSync;
|
---|
128 | QLineEdit* _pppAverageLineEdit;
|
---|
129 | QLineEdit* _pppQuickStartLineEdit;
|
---|
130 | QLineEdit* _pppRefCrdXLineEdit;
|
---|
131 | QLineEdit* _pppRefCrdYLineEdit;
|
---|
132 | QLineEdit* _pppRefCrdZLineEdit;
|
---|
133 | QCheckBox* _pppPlotCoordinates;
|
---|
134 | QCheckBox* _pppUsePhaseCheckBox;
|
---|
135 | QCheckBox* _pppEstTropoCheckBox;
|
---|
136 | QCheckBox* _pppGLONASSCheckBox;
|
---|
137 | QCheckBox* _pppGalileoCheckBox;
|
---|
138 | QLineEdit* _pppAntennaLineEdit;
|
---|
139 | QLineEdit* _pppAntexLineEdit;
|
---|
140 | QCheckBox* _pppIgnoreSatAntCheckBox;
|
---|
141 | QCheckBox* _rnxV3CheckBox;
|
---|
142 | QCheckBox* _ephV3CheckBox;
|
---|
143 | QLineEdit* _rnxSkelLineEdit;
|
---|
144 | QLineEdit* _rnxScrpLineEdit;
|
---|
145 | QLineEdit* _logFileLineEdit;
|
---|
146 | QLineEdit* _rawOutFileLineEdit;
|
---|
147 | QComboBox* _pppSPPComboBox;
|
---|
148 | QComboBox* _rnxIntrComboBox;
|
---|
149 | QComboBox* _ephIntrComboBox;
|
---|
150 | QComboBox* _corrIntrComboBox;
|
---|
151 | QSpinBox* _rnxSamplSpinBox;
|
---|
152 | QSpinBox* _binSamplSpinBox;
|
---|
153 | QCheckBox* _rnxAppendCheckBox;
|
---|
154 | QCheckBox* _autoStartCheckBox;
|
---|
155 | QCheckBox* _scanRTCMCheckBox;
|
---|
156 | QSpinBox* _waitTimeSpinBox;
|
---|
157 | QSpinBox* _corrTimeSpinBox;
|
---|
158 | QComboBox* _obsRateComboBox;
|
---|
159 | QSpinBox* _adviseFailSpinBox;
|
---|
160 | QSpinBox* _adviseRecoSpinBox;
|
---|
161 | QLineEdit* _adviseScriptLineEdit;
|
---|
162 | QComboBox* _perfIntrComboBox;
|
---|
163 | QTableWidget* _mountPointsTable;
|
---|
164 |
|
---|
165 | QLineEdit* _serialPortNameLineEdit;
|
---|
166 | QLineEdit* _serialMountPointLineEdit;
|
---|
167 | QComboBox* _serialBaudRateComboBox;
|
---|
168 | QComboBox* _serialParityComboBox;
|
---|
169 | QComboBox* _serialDataBitsComboBox;
|
---|
170 | QComboBox* _serialStopBitsComboBox;
|
---|
171 | QComboBox* _serialFlowControlComboBox;
|
---|
172 | QLineEdit* _serialHeightNMEALineEdit;
|
---|
173 | QLineEdit* _serialFileNMEALineEdit;
|
---|
174 | QComboBox* _serialAutoNMEAComboBox;
|
---|
175 |
|
---|
176 | QLineEdit* _LatLineEdit;
|
---|
177 | QLineEdit* _LonLineEdit;
|
---|
178 |
|
---|
179 | QComboBox* _onTheFlyComboBox;
|
---|
180 |
|
---|
181 | QTextEdit* _log;
|
---|
182 |
|
---|
183 | QWidget* _canvas;
|
---|
184 | QTabWidget* _aogroup;
|
---|
185 |
|
---|
186 | QTabWidget* _loggroup;
|
---|
187 | bncFigure* _bncFigure;
|
---|
188 | bncFigureLate* _bncFigureLate;
|
---|
189 | bncFigurePPP* _bncFigurePPP;
|
---|
190 |
|
---|
191 | QTableWidget* _cmbTable;
|
---|
192 | QLineEdit* _cmbOutHostLineEdit;
|
---|
193 | QLineEdit* _cmbOutPortLineEdit;
|
---|
194 | QLineEdit* _cmbMountpointLineEdit;
|
---|
195 | QLineEdit* _cmbPasswordLineEdit;
|
---|
196 | QLineEdit* _cmbOutFileLineEdit;
|
---|
197 | QLineEdit* _cmbSP3FileLineEdit;
|
---|
198 |
|
---|
199 | bncCaster* _caster;
|
---|
200 | };
|
---|
201 | #endif
|
---|