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

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

* empty log message *

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