// Part of BNC, a utility for retrieving decoding and // converting GNSS data streams from NTRIP broadcasters. // // Copyright (C) 2007 // German Federal Agency for Cartography and Geodesy (BKG) // http://www.bkg.bund.de // Czech Technical University Prague, Department of Geodesy // http://www.fsv.cvut.cz // // Email: euref-ip@bkg.bund.de // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation, version 2. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #ifndef BNCWINDOW_H #define BNCWINDOW_H #include #include #include "bncgetthread.h" #include "bnccaster.h" class bncAboutDlg : public QDialog { Q_OBJECT public: bncAboutDlg(QWidget* parent); ~bncAboutDlg(); }; class bncFlowchartDlg : public QDialog { Q_OBJECT public: bncFlowchartDlg(QWidget* parent); ~bncFlowchartDlg(); }; class bncWindow : public QMainWindow { Q_OBJECT public: bncWindow(); ~bncWindow(); void CreateMenu(); void AddToolbar(); public slots: void slotMountPointsRead(QList); void bncText(const QString &text); private slots: void slotWindowMessage(const QByteArray msg, bool showOnScreen); void slotHelp(); void slotAbout(); void slotFlowchart(); void slotFontSel(); void slotSaveOptions(); void slotAddMountPoints(); void slotGetData(); void slotStop(); void slotNewMountPoints(QStringList* mountPoints); void slotDeleteMountPoints(); void slotGetThreadsFinished(); void slotSelectionChanged(); void slotWhatsThis(); protected: virtual void closeEvent(QCloseEvent *); private: void populateMountPointsTable(); QMenu* _menuHlp; QMenu* _menuFile; QAction* _actHelp; QAction* _actAbout; QAction* _actFlowchart; QAction* _actFontSel; QAction* _actSaveOpt; QAction* _actQuit; QAction* _actGetData; QAction* _actStop; QAction* _actAddMountPoints; QAction* _actDeleteMountPoints; QAction* _actwhatsthis; QAction* _actwhatsthismenu; QLineEdit* _proxyHostLineEdit; QLineEdit* _proxyPortLineEdit; QLineEdit* _outFileLineEdit; QLineEdit* _outPortLineEdit; QLineEdit* _outUPortLineEdit; QLineEdit* _outEphPortLineEdit; QLineEdit* _corrPortLineEdit; QLineEdit* _rnxPathLineEdit; QLineEdit* _ephPathLineEdit; QLineEdit* _corrPathLineEdit; QLineEdit* _miscMountLineEdit; QCheckBox* _rnxV3CheckBox; QCheckBox* _ephV3CheckBox; QLineEdit* _rnxSkelLineEdit; QLineEdit* _rnxScrpLineEdit; QLineEdit* _logFileLineEdit; QComboBox* _rnxIntrComboBox; QComboBox* _ephIntrComboBox; QComboBox* _corrIntrComboBox; QSpinBox* _rnxSamplSpinBox; QSpinBox* _binSamplSpinBox; QCheckBox* _rnxAppendCheckBox; QCheckBox* _autoStartCheckBox; QCheckBox* _scanRTCMCheckBox; QSpinBox* _waitTimeSpinBox; QSpinBox* _corrTimeSpinBox; QComboBox* _obsRateComboBox; QSpinBox* _adviseFailSpinBox; QSpinBox* _adviseRecoSpinBox; QLineEdit* _adviseScriptLineEdit; QComboBox* _perfIntrComboBox; QTableWidget* _mountPointsTable; QLineEdit* _serialPortNameLineEdit; QLineEdit* _serialMountPointLineEdit; QComboBox* _serialBaudRateComboBox; QComboBox* _serialParityComboBox; QComboBox* _serialDataBitsComboBox; QComboBox* _serialStopBitsComboBox; QLineEdit* _serialHeightNMEALineEdit; QLineEdit* _serialFileNMEALineEdit; QComboBox* _serialAutoNMEAComboBox; QLineEdit* _LatLineEdit; QLineEdit* _LonLineEdit; QComboBox* _onTheFlyComboBox; QTextEdit* _log; QWidget* _canvas; QTabWidget* aogroup; bncCaster* _caster; }; #endif