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

Last change on this file since 1501 was 1487, checked in by weber, 15 years ago

* empty log message *

File size: 4.2 KB
RevLine 
[280]1// Part of BNC, a utility for retrieving decoding and
[464]2// converting GNSS data streams from NTRIP broadcasters.
[280]3//
[464]4// Copyright (C) 2007
[280]5// German Federal Agency for Cartography and Geodesy (BKG)
6// http://www.bkg.bund.de
[464]7// Czech Technical University Prague, Department of Geodesy
[280]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.
[35]24
25#ifndef BNCWINDOW_H
26#define BNCWINDOW_H
27
28#include <QtGui>
[399]29#include <QWhatsThis>
[35]30
31#include "bncgetthread.h"
[463]32#include "bnccaster.h"
[35]33
[679]34 class bncAboutDlg : public QDialog {
[35]35 Q_OBJECT
36
37 public:
[679]38 bncAboutDlg(QWidget* parent);
39 ~bncAboutDlg();
40};
41
[989]42 class bncFlowchartDlg : public QDialog {
43 Q_OBJECT
44
45 public:
46 bncFlowchartDlg(QWidget* parent);
47 ~bncFlowchartDlg();
48};
49
[679]50 class bncWindow : public QMainWindow {
51 Q_OBJECT
52
53 public:
[35]54 bncWindow();
[83]55 ~bncWindow();
[679]56 void CreateMenu();
57 void AddToolbar();
[83]58
59 public slots:
[1179]60 void slotMountPointsRead(QList<bncGetThread*>);
[1439]61 void bncText(const QString &text);
[35]62
63 private slots:
[1299]64 void slotWindowMessage(const QByteArray msg, bool showOnScreen);
[108]65 void slotHelp();
66 void slotAbout();
[989]67 void slotFlowchart();
[111]68 void slotFontSel();
[35]69 void slotSaveOptions();
[1487]70 void slotResetOptions();
[35]71 void slotAddMountPoints();
72 void slotGetData();
[182]73 void slotStop();
[35]74 void slotNewMountPoints(QStringList* mountPoints);
75 void slotDeleteMountPoints();
76 void slotGetThreadErrors();
[83]77 void slotSelectionChanged();
[399]78 void slotWhatsThis();
[35]79
[83]80 protected:
81 virtual void closeEvent(QCloseEvent *);
82
[35]83 private:
[1178]84 void populateMountPointsTable();
85
[35]86 QMenu* _menuHlp;
87 QMenu* _menuFile;
88
[108]89 QAction* _actHelp;
[35]90 QAction* _actAbout;
[989]91 QAction* _actFlowchart;
[111]92 QAction* _actFontSel;
[35]93 QAction* _actSaveOpt;
[1487]94 QAction* _actResetOpt;
[35]95 QAction* _actQuit;
96 QAction* _actGetData;
[182]97 QAction* _actStop;
[35]98 QAction* _actAddMountPoints;
99 QAction* _actDeleteMountPoints;
[399]100 QAction* _actwhatsthis;
101 QAction* _actwhatsthismenu;
[35]102
103 QLineEdit* _proxyHostLineEdit;
104 QLineEdit* _proxyPortLineEdit;
105 QLineEdit* _outFileLineEdit;
106 QLineEdit* _outPortLineEdit;
[1222]107 QLineEdit* _outUPortLineEdit;
[588]108 QLineEdit* _outEphPortLineEdit;
[934]109 QLineEdit* _corrPortLineEdit;
[83]110 QLineEdit* _rnxPathLineEdit;
[533]111 QLineEdit* _ephPathLineEdit;
[934]112 QLineEdit* _corrPathLineEdit;
[1307]113 QLineEdit* _miscMountLineEdit;
[533]114 QCheckBox* _rnxV3CheckBox;
115 QCheckBox* _ephV3CheckBox;
[83]116 QLineEdit* _rnxSkelLineEdit;
[106]117 QLineEdit* _rnxScrpLineEdit;
[143]118 QLineEdit* _logFileLineEdit;
[106]119 QComboBox* _rnxIntrComboBox;
[560]120 QComboBox* _ephIntrComboBox;
[934]121 QComboBox* _corrIntrComboBox;
[106]122 QSpinBox* _rnxSamplSpinBox;
[740]123 QSpinBox* _binSamplSpinBox;
[259]124 QCheckBox* _rnxAppendCheckBox;
[1333]125 QCheckBox* _autoStartCheckBox;
[1307]126 QCheckBox* _scanRTCMCheckBox;
[722]127 QCheckBox* _makePauseCheckBox;
[135]128 QSpinBox* _waitTimeSpinBox;
[967]129 QSpinBox* _corrTimeSpinBox;
[686]130 QComboBox* _obsRateComboBox;
[668]131 QSpinBox* _adviseFailSpinBox;
132 QSpinBox* _adviseRecoSpinBox;
133 QLineEdit* _adviseScriptLineEdit;
[728]134 QComboBox* _perfIntrComboBox;
[83]135 QTableWidget* _mountPointsTable;
[1329]136
[1327]137 QLineEdit* _serialPortNameLineEdit;
138 QLineEdit* _serialMountPointLineEdit;
[1329]139 QComboBox* _serialBaudRateComboBox;
140 QComboBox* _serialParityComboBox;
141 QComboBox* _serialDataBitsComboBox;
142 QComboBox* _serialStopBitsComboBox;
[1340]143 QCheckBox* _serialAutoNMEACheckBox;
[35]144
[356]145 QLineEdit* _LatLineEdit;
146 QLineEdit* _LonLineEdit;
147
[1170]148 QComboBox* _onTheFlyComboBox;
149
[83]150 QTextEdit* _log;
151
[35]152 QWidget* _canvas;
[679]153 QTabWidget* aogroup;
[463]154
155 bncCaster* _caster;
[35]156};
157#endif
Note: See TracBrowser for help on using the repository browser.