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

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

* empty log message *

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