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

Last change on this file since 1177 was 1177, checked in by mervart, 16 years ago

* empty log message *

File size: 3.7 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 slotNewGetThread(bncGetThread* thread);
61 void slotDeleteGetThread(bncGetThread* thread);
62
63 private slots:
64 void slotWindowMessage(const QByteArray msg);
65 void slotHelp();
66 void slotAbout();
67 void slotFlowchart();
68 void slotFontSel();
69 void slotSaveOptions();
70 void slotAddMountPoints();
71 void slotGetData();
72 void slotStop();
73 void slotNewMountPoints(QStringList* mountPoints);
74 void slotDeleteMountPoints();
75 void slotGetThreadErrors();
76 void slotSelectionChanged();
77 void slotWhatsThis();
78
79 protected:
80 virtual void closeEvent(QCloseEvent *);
81
82 private:
83 QMenu* _menuHlp;
84 QMenu* _menuFile;
85
86 QAction* _actHelp;
87 QAction* _actAbout;
88 QAction* _actFlowchart;
89 QAction* _actFontSel;
90 QAction* _actSaveOpt;
91 QAction* _actQuit;
92 QAction* _actGetData;
93 QAction* _actStop;
94 QAction* _actAddMountPoints;
95 QAction* _actDeleteMountPoints;
96 QAction* _actwhatsthis;
97 QAction* _actwhatsthismenu;
98
99 QLineEdit* _proxyHostLineEdit;
100 QLineEdit* _proxyPortLineEdit;
101 QLineEdit* _outFileLineEdit;
102 QLineEdit* _outPortLineEdit;
103 QLineEdit* _outEphPortLineEdit;
104 QLineEdit* _corrPortLineEdit;
105 QLineEdit* _rnxPathLineEdit;
106 QLineEdit* _ephPathLineEdit;
107 QLineEdit* _corrPathLineEdit;
108 QLineEdit* _messTypesLineEdit;
109 QCheckBox* _rnxV3CheckBox;
110 QCheckBox* _ephV3CheckBox;
111 QLineEdit* _rnxSkelLineEdit;
112 QLineEdit* _rnxScrpLineEdit;
113 QLineEdit* _logFileLineEdit;
114 QComboBox* _rnxIntrComboBox;
115 QComboBox* _ephIntrComboBox;
116 QComboBox* _corrIntrComboBox;
117 QSpinBox* _rnxSamplSpinBox;
118 QSpinBox* _binSamplSpinBox;
119 QCheckBox* _rnxAppendCheckBox;
120 QCheckBox* _makePauseCheckBox;
121 QSpinBox* _waitTimeSpinBox;
122 QSpinBox* _corrTimeSpinBox;
123 QComboBox* _obsRateComboBox;
124 QSpinBox* _adviseFailSpinBox;
125 QSpinBox* _adviseRecoSpinBox;
126 QLineEdit* _adviseScriptLineEdit;
127 QComboBox* _perfIntrComboBox;
128 QTableWidget* _mountPointsTable;
129
130 QLineEdit* _LatLineEdit;
131 QLineEdit* _LonLineEdit;
132
133 QComboBox* _onTheFlyComboBox;
134
135 QTextEdit* _log;
136
137 QWidget* _canvas;
138 QTabWidget* aogroup;
139
140 bncCaster* _caster;
141};
142#endif
Note: See TracBrowser for help on using the repository browser.