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

Last change on this file since 1007 was 998, checked in by weber, 16 years ago

* empty log message *

File size: 1.7 KB
Line 
1#ifndef BNSWINDOW_H
2#define BNSWINDOW_H
3
4#include <QtGui>
5#include <QWhatsThis>
6
7#include "bns.h"
8
9class bnsAboutDlg : public QDialog {
10 Q_OBJECT
11 public:
12 bnsAboutDlg(QWidget* parent);
13 ~bnsAboutDlg();
14};
15
16class bnsFlowchartDlg : public QDialog {
17 Q_OBJECT
18
19 public:
20 bnsFlowchartDlg(QWidget* parent);
21 ~bnsFlowchartDlg();
22};
23
24class bnsWindow : public QMainWindow {
25Q_OBJECT
26
27 public:
28 bnsWindow();
29 ~bnsWindow();
30
31 public slots:
32 void slotMessage(const QByteArray msg);
33 void slotError(const QByteArray msg);
34
35 private slots:
36 void slotHelp();
37 void slotAbout();
38 void slotFlowchart();
39 void slotFontSel();
40 void slotSaveOptions();
41 void slotWhatsThis();
42 void slotStart();
43 void slotStop();
44
45 protected:
46 virtual void closeEvent(QCloseEvent *);
47
48 private:
49 void CreateMenu();
50 void AddToolbar();
51 void deleteBns();
52
53 QMenu* _menuHlp;
54 QMenu* _menuFile;
55
56 QAction* _actHelp;
57 QAction* _actAbout;
58 QAction* _actFlowchart;
59 QAction* _actFontSel;
60 QAction* _actSaveOpt;
61 QAction* _actQuit;
62 QAction* _actWhatsThis;
63 QAction* _actStart;
64 QAction* _actStop;
65
66 QWidget* _canvas;
67
68 QLineEdit* _proxyHostLineEdit;
69 QLineEdit* _proxyPortLineEdit;
70 QLineEdit* _ephHostLineEdit;
71 QLineEdit* _ephPortLineEdit;
72 QLineEdit* _clkPortLineEdit;
73 QLineEdit* _logFileLineEdit;
74 QLineEdit* _outHostLineEdit;
75 QLineEdit* _outPortLineEdit;
76 QLineEdit* _mountpointLineEdit;
77 QLineEdit* _passwordLineEdit;
78 QLineEdit* _outFileLineEdit;
79 QLineEdit* _rnxPathLineEdit;
80 QLineEdit* _sp3PathLineEdit;
81 QComboBox* _rnxIntrComboBox;
82 QComboBox* _sp3IntrComboBox;
83 QComboBox* _refSysComboBox;
84 QSpinBox* _rnxSamplSpinBox;
85 QSpinBox* _sp3SamplSpinBox;
86 QCheckBox* _fileAppendCheckBox;
87
88 QTextEdit* _log;
89
90 t_bns* _bns;
91};
92#endif
Note: See TracBrowser for help on using the repository browser.