source: ntrip/trunk/BNS/bnswindow.h@ 1071

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

* empty log message *

File size: 2.1 KB
RevLine 
[748]1#ifndef BNSWINDOW_H
2#define BNSWINDOW_H
3
4#include <QtGui>
[749]5#include <QWhatsThis>
[748]6
[757]7#include "bns.h"
8
[749]9class bnsAboutDlg : public QDialog {
10 Q_OBJECT
11 public:
12 bnsAboutDlg(QWidget* parent);
13 ~bnsAboutDlg();
14};
15
[998]16class bnsFlowchartDlg : public QDialog {
17 Q_OBJECT
18
19 public:
20 bnsFlowchartDlg(QWidget* parent);
21 ~bnsFlowchartDlg();
22};
23
[748]24class bnsWindow : public QMainWindow {
25Q_OBJECT
26
27 public:
[758]28 bnsWindow();
[748]29 ~bnsWindow();
30
31 public slots:
[750]32 void slotMessage(const QByteArray msg);
[760]33 void slotError(const QByteArray msg);
[748]34
35 private slots:
[749]36 void slotHelp();
37 void slotAbout();
[998]38 void slotFlowchart();
[749]39 void slotFontSel();
40 void slotSaveOptions();
41 void slotWhatsThis();
[754]42 void slotStart();
43 void slotStop();
[1058]44 void slotEphBytes(int nBytes);
45 void slotClkBytes(int nBytes);
46 void slotOutBytes(int nBytes);
[748]47
48 protected:
[749]49 virtual void closeEvent(QCloseEvent *);
[748]50
51 private:
[749]52 void CreateMenu();
53 void AddToolbar();
[760]54 void deleteBns();
[1058]55 void updateStatus(int ii, int nBytes);
[748]56
[749]57 QMenu* _menuHlp;
58 QMenu* _menuFile;
59
60 QAction* _actHelp;
61 QAction* _actAbout;
[998]62 QAction* _actFlowchart;
[749]63 QAction* _actFontSel;
64 QAction* _actSaveOpt;
65 QAction* _actQuit;
[754]66 QAction* _actWhatsThis;
67 QAction* _actStart;
68 QAction* _actStop;
[749]69
70 QWidget* _canvas;
[750]71
[958]72 QLineEdit* _proxyHostLineEdit;
73 QLineEdit* _proxyPortLineEdit;
[1071]74 QLineEdit* _inpEchoLineEdit;
[958]75 QLineEdit* _ephHostLineEdit;
[752]76 QLineEdit* _ephPortLineEdit;
[787]77 QLineEdit* _clkPortLineEdit;
[814]78 QLineEdit* _logFileLineEdit;
79 QLineEdit* _outHostLineEdit;
80 QLineEdit* _outPortLineEdit;
81 QLineEdit* _passwordLineEdit;
[1068]82 QLineEdit* _mountpoint_1_LineEdit;
83 QLineEdit* _mountpoint_2_LineEdit;
84 QLineEdit* _outFile_1_LineEdit;
85 QLineEdit* _outFile_2_LineEdit;
86 QComboBox* _refSys_1_ComboBox;
87 QComboBox* _refSys_2_ComboBox;
[845]88 QLineEdit* _rnxPathLineEdit;
89 QLineEdit* _sp3PathLineEdit;
90 QComboBox* _rnxIntrComboBox;
91 QComboBox* _sp3IntrComboBox;
92 QSpinBox* _rnxSamplSpinBox;
93 QSpinBox* _sp3SamplSpinBox;
[958]94 QCheckBox* _fileAppendCheckBox;
[750]95
96 QTextEdit* _log;
[757]97
[1058]98 QWidget* _status;
99 QLabel* _statusLbl[6];
100 double _statusCnt[3];
101 QMutex _mutex;
102
[757]103 t_bns* _bns;
[748]104};
105#endif
Note: See TracBrowser for help on using the repository browser.