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

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

* empty log message *

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