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

Last change on this file since 2573 was 2473, checked in by weber, 15 years ago

* empty log message *

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