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

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