Line | |
---|
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 bnsWindow : public QMainWindow {
|
---|
17 | Q_OBJECT
|
---|
18 |
|
---|
19 | public:
|
---|
20 | bnsWindow();
|
---|
21 | ~bnsWindow();
|
---|
22 |
|
---|
23 | public slots:
|
---|
24 | void slotMessage(const QByteArray msg);
|
---|
25 | void slotError(const QByteArray msg);
|
---|
26 |
|
---|
27 | private slots:
|
---|
28 | void slotHelp();
|
---|
29 | void slotAbout();
|
---|
30 | void slotFontSel();
|
---|
31 | void slotSaveOptions();
|
---|
32 | void slotWhatsThis();
|
---|
33 | void slotStart();
|
---|
34 | void slotStop();
|
---|
35 |
|
---|
36 | protected:
|
---|
37 | virtual void closeEvent(QCloseEvent *);
|
---|
38 |
|
---|
39 | private:
|
---|
40 | void CreateMenu();
|
---|
41 | void AddToolbar();
|
---|
42 | void deleteBns();
|
---|
43 |
|
---|
44 | QMenu* _menuHlp;
|
---|
45 | QMenu* _menuFile;
|
---|
46 |
|
---|
47 | QAction* _actHelp;
|
---|
48 | QAction* _actAbout;
|
---|
49 | QAction* _actFontSel;
|
---|
50 | QAction* _actSaveOpt;
|
---|
51 | QAction* _actQuit;
|
---|
52 | QAction* _actWhatsThis;
|
---|
53 | QAction* _actStart;
|
---|
54 | QAction* _actStop;
|
---|
55 |
|
---|
56 | QWidget* _canvas;
|
---|
57 |
|
---|
58 | QLineEdit* _ephPortLineEdit;
|
---|
59 | QLineEdit* _clkPortLineEdit;
|
---|
60 | QLineEdit* _logFileLineEdit;
|
---|
61 | QLineEdit* _outHostLineEdit;
|
---|
62 | QLineEdit* _outPortLineEdit;
|
---|
63 | QLineEdit* _mountpointLineEdit;
|
---|
64 | QLineEdit* _passwordLineEdit;
|
---|
65 | QLineEdit* _outFileLineEdit;
|
---|
66 | QLineEdit* _rnxPathLineEdit;
|
---|
67 | QLineEdit* _sp3PathLineEdit;
|
---|
68 | QComboBox* _rnxIntrComboBox;
|
---|
69 | QComboBox* _sp3IntrComboBox;
|
---|
70 | QSpinBox* _rnxSamplSpinBox;
|
---|
71 | QSpinBox* _sp3SamplSpinBox;
|
---|
72 |
|
---|
73 | QTextEdit* _log;
|
---|
74 |
|
---|
75 | t_bns* _bns;
|
---|
76 | };
|
---|
77 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.