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

Last change on this file since 1151 was 1095, checked in by weber, 16 years ago

* empty log message *

File size: 3.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
34 class bncAboutDlg : public QDialog {
35 Q_OBJECT
36
37 public:
38 bncAboutDlg(QWidget* parent);
39 ~bncAboutDlg();
40};
41
42 class bncFlowchartDlg : public QDialog {
43 Q_OBJECT
44
45 public:
46 bncFlowchartDlg(QWidget* parent);
47 ~bncFlowchartDlg();
48};
49
50 class bncWindow : public QMainWindow {
51 Q_OBJECT
52
53 public:
54 bncWindow();
55 ~bncWindow();
56 void CreateMenu();
57 void AddToolbar();
58
59 public slots:
60 void slotMessage(const QByteArray msg);
61
62 private slots:
63 void slotHelp();
64 void slotAbout();
65 void slotFlowchart();
66 void slotFontSel();
67 void slotSaveOptions();
68 void slotAddMountPoints();
69 void slotGetData();
70 void slotStop();
71 void slotNewMountPoints(QStringList* mountPoints);
72 void slotDeleteMountPoints();
73 void slotGetThreadErrors();
74 void slotSelectionChanged();
75 void slotWhatsThis();
76
77 protected:
78 virtual void closeEvent(QCloseEvent *);
79
80 private:
81 QMenu* _menuHlp;
82 QMenu* _menuFile;
83
84 QAction* _actHelp;
85 QAction* _actAbout;
86 QAction* _actFlowchart;
87 QAction* _actFontSel;
88 QAction* _actSaveOpt;
89 QAction* _actQuit;
90 QAction* _actGetData;
91 QAction* _actStop;
92 QAction* _actAddMountPoints;
93 QAction* _actDeleteMountPoints;
94 QAction* _actwhatsthis;
95 QAction* _actwhatsthismenu;
96
97 QLineEdit* _proxyHostLineEdit;
98 QLineEdit* _proxyPortLineEdit;
99 QLineEdit* _outFileLineEdit;
100 QLineEdit* _outPortLineEdit;
101 QLineEdit* _outEphPortLineEdit;
102 QLineEdit* _corrPortLineEdit;
103 QLineEdit* _rnxPathLineEdit;
104 QLineEdit* _ephPathLineEdit;
105 QLineEdit* _corrPathLineEdit;
106 QLineEdit* _messTypesLineEdit;
107 QCheckBox* _rnxV3CheckBox;
108 QCheckBox* _ephV3CheckBox;
109 QLineEdit* _rnxSkelLineEdit;
110 QLineEdit* _rnxScrpLineEdit;
111 QLineEdit* _logFileLineEdit;
112 QComboBox* _rnxIntrComboBox;
113 QComboBox* _ephIntrComboBox;
114 QComboBox* _corrIntrComboBox;
115 QSpinBox* _rnxSamplSpinBox;
116 QSpinBox* _binSamplSpinBox;
117 QCheckBox* _rnxAppendCheckBox;
118 QCheckBox* _makePauseCheckBox;
119 QSpinBox* _waitTimeSpinBox;
120 QSpinBox* _corrTimeSpinBox;
121 QComboBox* _obsRateComboBox;
122 QSpinBox* _adviseFailSpinBox;
123 QSpinBox* _adviseRecoSpinBox;
124 QLineEdit* _adviseScriptLineEdit;
125 QComboBox* _perfIntrComboBox;
126 QTableWidget* _mountPointsTable;
127
128 QLineEdit* _LatLineEdit;
129 QLineEdit* _LonLineEdit;
130
131 QTextEdit* _log;
132
133 QWidget* _canvas;
134 QTabWidget* aogroup;
135
136 bncCaster* _caster;
137};
138#endif
Note: See TracBrowser for help on using the repository browser.