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

Last change on this file since 2094 was 2046, checked in by mervart, 15 years ago

* empty log message *

File size: 3.0 KB
Line 
1#ifndef BNSWINDOW_H
2#define BNSWINDOW_H
3
4#include <QtGui>
5#include <QWhatsThis>
6#include <QMessageBox>
7
8#include "bns.h"
9
10class bnsAboutDlg : public QDialog {
11 Q_OBJECT
12 public:
13 bnsAboutDlg(QWidget* parent);
14 ~bnsAboutDlg();
15};
16
17class bnsFlowchartDlg : public QDialog {
18 Q_OBJECT
19
20 public:
21 bnsFlowchartDlg(QWidget* parent);
22 ~bnsFlowchartDlg();
23};
24
25class bnsWindow : public QMainWindow {
26Q_OBJECT
27
28 public:
29 bnsWindow();
30 ~bnsWindow();
31
32 public slots:
33 void slotMessage(const QByteArray msg);
34 void slotError(const QByteArray msg);
35 void bnsText(const QString &text);
36 void customTrafo(const QString &text);
37
38 private slots:
39 void slotHelp();
40 void slotAbout();
41 void slotFlowchart();
42 void slotFontSel();
43 void slotSaveOptions();
44 void slotWhatsThis();
45 void slotStart();
46 void slotStop();
47 void slotEphBytes(int nBytes);
48 void slotClkBytes(int nBytes);
49 void slotOutBytes1(int nBytes);
50 void slotOutBytes2(int nBytes);
51 void slotOutBytes3(int nBytes);
52 void slotOutEphBytes(int nBytes);
53
54 protected:
55 virtual void closeEvent(QCloseEvent *);
56
57 private:
58 void CreateMenu();
59 void AddToolbar();
60 void deleteBns();
61 void updateStatus(int ii, int nBytes);
62
63 QMenu* _menuHlp;
64 QMenu* _menuFile;
65
66 QAction* _actHelp;
67 QAction* _actAbout;
68 QAction* _actFlowchart;
69 QAction* _actFontSel;
70 QAction* _actSaveOpt;
71 QAction* _actQuit;
72 QAction* _actWhatsThis;
73 QAction* _actStart;
74 QAction* _actStop;
75
76 QWidget* _canvas;
77
78 QLineEdit* _proxyHostLineEdit;
79 QLineEdit* _proxyPortLineEdit;
80
81 QLineEdit* _logFileLineEdit;
82 QCheckBox* _fileAppendCheckBox;
83 QCheckBox* _autoStartCheckBox;
84
85 QLineEdit* _ephHostLineEdit;
86 QLineEdit* _ephPortLineEdit;
87 QLineEdit* _ephEchoLineEdit;
88
89 QLineEdit* _clkPortLineEdit;
90 QLineEdit* _inpEchoLineEdit;
91
92 QLineEdit* _outHost_1_LineEdit;
93 QLineEdit* _outPort_1_LineEdit;
94 QLineEdit* _mountpoint_1_LineEdit;
95 QLineEdit* _password_1_LineEdit;
96 QComboBox* _refSys_1_ComboBox;
97 QLineEdit* _outFile_1_LineEdit;
98 QCheckBox* _CoM_1_CheckBox;
99
100 QLineEdit* _outHost_2_LineEdit;
101 QLineEdit* _outPort_2_LineEdit;
102 QLineEdit* _mountpoint_2_LineEdit;
103 QLineEdit* _password_2_LineEdit;
104 QComboBox* _refSys_2_ComboBox;
105 QLineEdit* _outFile_2_LineEdit;
106 QCheckBox* _CoM_2_CheckBox;
107
108 QLineEdit* _outHost_3_LineEdit;
109 QLineEdit* _outPort_3_LineEdit;
110 QLineEdit* _mountpoint_3_LineEdit;
111 QLineEdit* _password_3_LineEdit;
112 QComboBox* _refSys_3_ComboBox;
113 QLineEdit* _outFile_3_LineEdit;
114 QCheckBox* _CoM_3_CheckBox;
115
116 QLineEdit* _outHost_Eph_LineEdit;
117 QLineEdit* _outPort_Eph_LineEdit;
118 QLineEdit* _mountpoint_Eph_LineEdit;
119 QLineEdit* _password_Eph_LineEdit;
120 QSpinBox* _samplEphSpinBox;
121
122 QLineEdit* _rnxPathLineEdit;
123 QComboBox* _rnxIntrComboBox;
124 QSpinBox* _rnxSamplSpinBox;
125
126 QLineEdit* _sp3PathLineEdit;
127 QComboBox* _sp3IntrComboBox;
128 QSpinBox* _sp3SamplSpinBox;
129
130 QTextEdit* _log;
131
132 QTabWidget* tabs;
133//QWidget* _status;
134 QGroupBox* _status;
135 QLabel* _statusLbl[12];
136 double _statusCnt[6];
137 QMutex _mutex;
138
139 t_bns* _bns;
140};
141#endif
Note: See TracBrowser for help on using the repository browser.