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

Last change on this file since 1927 was 1927, checked in by mervart, 14 years ago

* empty log message *

File size: 4.6 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 FWidget : public QWidget {
35 Q_OBJECT
36 public:
37 FWidget(QWidget *parent);
38 ~FWidget();
39 public slots:
40 void slotNewData(const QByteArray staID, double nbyte);
41 protected:
42 void paintEvent(QPaintEvent *event);
43 private slots:
44 void slotNextAnimationFrame();
45 private:
46 QMap<QByteArray, double> _bytes;
47};
48
49class bncAboutDlg : public QDialog {
50 Q_OBJECT
51 public:
52 bncAboutDlg(QWidget* parent);
53 ~bncAboutDlg();
54};
55
56 class bncFlowchartDlg : public QDialog {
57 Q_OBJECT
58
59 public:
60 bncFlowchartDlg(QWidget* parent);
61 ~bncFlowchartDlg();
62};
63
64 class bncWindow : public QMainWindow {
65 Q_OBJECT
66
67 public:
68 bncWindow();
69 ~bncWindow();
70 void CreateMenu();
71 void AddToolbar();
72
73 public slots:
74 void slotMountPointsRead(QList<bncGetThread*>);
75 void bncText(const QString &text);
76
77 private slots:
78 void slotWindowMessage(const QByteArray msg, bool showOnScreen);
79 void slotHelp();
80 void slotAbout();
81 void slotFlowchart();
82 void slotFontSel();
83 void slotSaveOptions();
84 void slotAddMountPoints();
85 void slotGetData();
86 void slotStop();
87 void slotNewMountPoints(QStringList* mountPoints);
88 void slotDeleteMountPoints();
89 void slotGetThreadsFinished();
90 void slotSelectionChanged();
91 void slotWhatsThis();
92
93 protected:
94 virtual void closeEvent(QCloseEvent *);
95
96 private:
97 void populateMountPointsTable();
98
99 QMenu* _menuHlp;
100 QMenu* _menuFile;
101
102 QAction* _actHelp;
103 QAction* _actAbout;
104 QAction* _actFlowchart;
105 QAction* _actFontSel;
106 QAction* _actSaveOpt;
107 QAction* _actQuit;
108 QAction* _actGetData;
109 QAction* _actStop;
110 QAction* _actAddMountPoints;
111 QAction* _actDeleteMountPoints;
112 QAction* _actwhatsthis;
113 QAction* _actwhatsthismenu;
114
115 QLineEdit* _proxyHostLineEdit;
116 QLineEdit* _proxyPortLineEdit;
117 QLineEdit* _outFileLineEdit;
118 QLineEdit* _outPortLineEdit;
119 QLineEdit* _outUPortLineEdit;
120 QLineEdit* _outEphPortLineEdit;
121 QLineEdit* _corrPortLineEdit;
122 QLineEdit* _rnxPathLineEdit;
123 QLineEdit* _ephPathLineEdit;
124 QLineEdit* _corrPathLineEdit;
125 QLineEdit* _miscMountLineEdit;
126 QCheckBox* _rnxV3CheckBox;
127 QCheckBox* _ephV3CheckBox;
128 QLineEdit* _rnxSkelLineEdit;
129 QLineEdit* _rnxScrpLineEdit;
130 QLineEdit* _logFileLineEdit;
131 QComboBox* _rnxIntrComboBox;
132 QComboBox* _ephIntrComboBox;
133 QComboBox* _corrIntrComboBox;
134 QSpinBox* _rnxSamplSpinBox;
135 QSpinBox* _binSamplSpinBox;
136 QCheckBox* _rnxAppendCheckBox;
137 QCheckBox* _autoStartCheckBox;
138 QCheckBox* _scanRTCMCheckBox;
139 QSpinBox* _waitTimeSpinBox;
140 QSpinBox* _corrTimeSpinBox;
141 QComboBox* _obsRateComboBox;
142 QSpinBox* _adviseFailSpinBox;
143 QSpinBox* _adviseRecoSpinBox;
144 QLineEdit* _adviseScriptLineEdit;
145 QComboBox* _perfIntrComboBox;
146 QTableWidget* _mountPointsTable;
147
148 QLineEdit* _serialPortNameLineEdit;
149 QLineEdit* _serialMountPointLineEdit;
150 QComboBox* _serialBaudRateComboBox;
151 QComboBox* _serialParityComboBox;
152 QComboBox* _serialDataBitsComboBox;
153 QComboBox* _serialStopBitsComboBox;
154 QComboBox* _serialFlowControlComboBox;
155 QLineEdit* _serialHeightNMEALineEdit;
156 QLineEdit* _serialFileNMEALineEdit;
157 QComboBox* _serialAutoNMEAComboBox;
158
159 QLineEdit* _LatLineEdit;
160 QLineEdit* _LonLineEdit;
161
162 QComboBox* _onTheFlyComboBox;
163
164 QTextEdit* _log;
165
166 QWidget* _canvas;
167 QTabWidget* _aogroup;
168
169 QTabWidget* _loggroup;
170 FWidget* _Figure1;
171
172 bncCaster* _caster;
173};
174#endif
Note: See TracBrowser for help on using the repository browser.