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

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

* empty log message *

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