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

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

* empty log message *

File size: 3.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
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 QCheckBox* _rnxV3CheckBox;
107 QCheckBox* _ephV3CheckBox;
108 QLineEdit* _rnxSkelLineEdit;
109 QLineEdit* _rnxScrpLineEdit;
110 QLineEdit* _logFileLineEdit;
111 QComboBox* _rnxIntrComboBox;
112 QComboBox* _ephIntrComboBox;
113 QComboBox* _corrIntrComboBox;
114 QSpinBox* _rnxSamplSpinBox;
115 QSpinBox* _binSamplSpinBox;
116 QCheckBox* _rnxAppendCheckBox;
117 QCheckBox* _makePauseCheckBox;
118 QSpinBox* _waitTimeSpinBox;
119 QSpinBox* _corrTimeSpinBox;
120 QComboBox* _obsRateComboBox;
121 QSpinBox* _adviseFailSpinBox;
122 QSpinBox* _adviseRecoSpinBox;
123 QLineEdit* _adviseScriptLineEdit;
124 QComboBox* _perfIntrComboBox;
125 QTableWidget* _mountPointsTable;
126
127 QLineEdit* _LatLineEdit;
128 QLineEdit* _LonLineEdit;
129
130 QTextEdit* _log;
131
132 QWidget* _canvas;
133 QTabWidget* aogroup;
134
135 bncCaster* _caster;
136};
137#endif
Note: See TracBrowser for help on using the repository browser.