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

Last change on this file since 1912 was 1912, checked in by weber, 14 years ago

* empty log message *

File size: 4.6 KB
RevLine 
[280]1// Part of BNC, a utility for retrieving decoding and
[464]2// converting GNSS data streams from NTRIP broadcasters.
[280]3//
[464]4// Copyright (C) 2007
[280]5// German Federal Agency for Cartography and Geodesy (BKG)
6// http://www.bkg.bund.de
[464]7// Czech Technical University Prague, Department of Geodesy
[280]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.
[35]24
25#ifndef BNCWINDOW_H
26#define BNCWINDOW_H
27
28#include <QtGui>
[399]29#include <QWhatsThis>
[35]30
31#include "bncgetthread.h"
[463]32#include "bnccaster.h"
[35]33
[1912]34// Begin new Perlt
35class FWidget : public QWidget
36{
37 Q_OBJECT
38
39public:
40 FWidget(QWidget *parent);
41 ~FWidget();
42
43public slots:
44 void nextAnimationFrame();
45
46protected:
47 void paintEvent(QPaintEvent *event);
48
49private:
50 QList<QByteArray> MPName;
51 QList<double> bytesMP;
52};
53// End new Perlt
54
[679]55 class bncAboutDlg : public QDialog {
[35]56 Q_OBJECT
57
58 public:
[679]59 bncAboutDlg(QWidget* parent);
60 ~bncAboutDlg();
61};
62
[989]63 class bncFlowchartDlg : public QDialog {
64 Q_OBJECT
65
66 public:
67 bncFlowchartDlg(QWidget* parent);
68 ~bncFlowchartDlg();
69};
70
[679]71 class bncWindow : public QMainWindow {
72 Q_OBJECT
73
74 public:
[35]75 bncWindow();
[83]76 ~bncWindow();
[679]77 void CreateMenu();
78 void AddToolbar();
[1912]79
[83]80 public slots:
[1179]81 void slotMountPointsRead(QList<bncGetThread*>);
[1439]82 void bncText(const QString &text);
[35]83
84 private slots:
[1299]85 void slotWindowMessage(const QByteArray msg, bool showOnScreen);
[108]86 void slotHelp();
87 void slotAbout();
[989]88 void slotFlowchart();
[111]89 void slotFontSel();
[35]90 void slotSaveOptions();
91 void slotAddMountPoints();
92 void slotGetData();
[182]93 void slotStop();
[35]94 void slotNewMountPoints(QStringList* mountPoints);
95 void slotDeleteMountPoints();
[1556]96 void slotGetThreadsFinished();
[83]97 void slotSelectionChanged();
[399]98 void slotWhatsThis();
[35]99
[83]100 protected:
101 virtual void closeEvent(QCloseEvent *);
102
[35]103 private:
[1178]104 void populateMountPointsTable();
105
[35]106 QMenu* _menuHlp;
107 QMenu* _menuFile;
108
[108]109 QAction* _actHelp;
[35]110 QAction* _actAbout;
[989]111 QAction* _actFlowchart;
[111]112 QAction* _actFontSel;
[35]113 QAction* _actSaveOpt;
114 QAction* _actQuit;
115 QAction* _actGetData;
[182]116 QAction* _actStop;
[35]117 QAction* _actAddMountPoints;
118 QAction* _actDeleteMountPoints;
[399]119 QAction* _actwhatsthis;
120 QAction* _actwhatsthismenu;
[35]121
122 QLineEdit* _proxyHostLineEdit;
123 QLineEdit* _proxyPortLineEdit;
124 QLineEdit* _outFileLineEdit;
125 QLineEdit* _outPortLineEdit;
[1222]126 QLineEdit* _outUPortLineEdit;
[588]127 QLineEdit* _outEphPortLineEdit;
[934]128 QLineEdit* _corrPortLineEdit;
[83]129 QLineEdit* _rnxPathLineEdit;
[533]130 QLineEdit* _ephPathLineEdit;
[934]131 QLineEdit* _corrPathLineEdit;
[1307]132 QLineEdit* _miscMountLineEdit;
[533]133 QCheckBox* _rnxV3CheckBox;
134 QCheckBox* _ephV3CheckBox;
[83]135 QLineEdit* _rnxSkelLineEdit;
[106]136 QLineEdit* _rnxScrpLineEdit;
[143]137 QLineEdit* _logFileLineEdit;
[106]138 QComboBox* _rnxIntrComboBox;
[560]139 QComboBox* _ephIntrComboBox;
[934]140 QComboBox* _corrIntrComboBox;
[106]141 QSpinBox* _rnxSamplSpinBox;
[740]142 QSpinBox* _binSamplSpinBox;
[259]143 QCheckBox* _rnxAppendCheckBox;
[1333]144 QCheckBox* _autoStartCheckBox;
[1307]145 QCheckBox* _scanRTCMCheckBox;
[135]146 QSpinBox* _waitTimeSpinBox;
[967]147 QSpinBox* _corrTimeSpinBox;
[686]148 QComboBox* _obsRateComboBox;
[668]149 QSpinBox* _adviseFailSpinBox;
150 QSpinBox* _adviseRecoSpinBox;
151 QLineEdit* _adviseScriptLineEdit;
[728]152 QComboBox* _perfIntrComboBox;
[83]153 QTableWidget* _mountPointsTable;
[1329]154
[1327]155 QLineEdit* _serialPortNameLineEdit;
156 QLineEdit* _serialMountPointLineEdit;
[1329]157 QComboBox* _serialBaudRateComboBox;
158 QComboBox* _serialParityComboBox;
159 QComboBox* _serialDataBitsComboBox;
160 QComboBox* _serialStopBitsComboBox;
[1636]161 QComboBox* _serialFlowControlComboBox;
[1595]162 QLineEdit* _serialHeightNMEALineEdit;
[1601]163 QLineEdit* _serialFileNMEALineEdit;
[1595]164 QComboBox* _serialAutoNMEAComboBox;
[35]165
[356]166 QLineEdit* _LatLineEdit;
167 QLineEdit* _LonLineEdit;
168
[1170]169 QComboBox* _onTheFlyComboBox;
170
[83]171 QTextEdit* _log;
172
[1912]173 QWidget* _canvas;
[679]174 QTabWidget* aogroup;
[463]175
[1912]176// neu Perlt
177 QTabWidget* loggroup;
178 FWidget* _Figure1;
179// Ende neu Perlt
180
[463]181 bncCaster* _caster;
[35]182};
183#endif
Note: See TracBrowser for help on using the repository browser.