1 | #ifndef BNSWINDOW_H
|
---|
2 | #define BNSWINDOW_H
|
---|
3 |
|
---|
4 | #include <QtGui>
|
---|
5 | #include <QWhatsThis>
|
---|
6 |
|
---|
7 | #include "bns.h"
|
---|
8 |
|
---|
9 | class bnsAboutDlg : public QDialog {
|
---|
10 | Q_OBJECT
|
---|
11 | public:
|
---|
12 | bnsAboutDlg(QWidget* parent);
|
---|
13 | ~bnsAboutDlg();
|
---|
14 | };
|
---|
15 |
|
---|
16 | class bnsFlowchartDlg : public QDialog {
|
---|
17 | Q_OBJECT
|
---|
18 |
|
---|
19 | public:
|
---|
20 | bnsFlowchartDlg(QWidget* parent);
|
---|
21 | ~bnsFlowchartDlg();
|
---|
22 | };
|
---|
23 |
|
---|
24 | class bnsWindow : public QMainWindow {
|
---|
25 | Q_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
|
---|