[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] | 9 | class bnsAboutDlg : public QDialog {
|
---|
| 10 | Q_OBJECT
|
---|
| 11 | public:
|
---|
| 12 | bnsAboutDlg(QWidget* parent);
|
---|
| 13 | ~bnsAboutDlg();
|
---|
| 14 | };
|
---|
| 15 |
|
---|
[998] | 16 | class bnsFlowchartDlg : public QDialog {
|
---|
| 17 | Q_OBJECT
|
---|
| 18 |
|
---|
| 19 | public:
|
---|
| 20 | bnsFlowchartDlg(QWidget* parent);
|
---|
| 21 | ~bnsFlowchartDlg();
|
---|
| 22 | };
|
---|
| 23 |
|
---|
[748] | 24 | class bnsWindow : public QMainWindow {
|
---|
| 25 | Q_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();
|
---|
[748] | 44 |
|
---|
| 45 | protected:
|
---|
[749] | 46 | virtual void closeEvent(QCloseEvent *);
|
---|
[748] | 47 |
|
---|
| 48 | private:
|
---|
[749] | 49 | void CreateMenu();
|
---|
| 50 | void AddToolbar();
|
---|
[760] | 51 | void deleteBns();
|
---|
[748] | 52 |
|
---|
[749] | 53 | QMenu* _menuHlp;
|
---|
| 54 | QMenu* _menuFile;
|
---|
| 55 |
|
---|
| 56 | QAction* _actHelp;
|
---|
| 57 | QAction* _actAbout;
|
---|
[998] | 58 | QAction* _actFlowchart;
|
---|
[749] | 59 | QAction* _actFontSel;
|
---|
| 60 | QAction* _actSaveOpt;
|
---|
| 61 | QAction* _actQuit;
|
---|
[754] | 62 | QAction* _actWhatsThis;
|
---|
| 63 | QAction* _actStart;
|
---|
| 64 | QAction* _actStop;
|
---|
[749] | 65 |
|
---|
| 66 | QWidget* _canvas;
|
---|
[750] | 67 |
|
---|
[958] | 68 | QLineEdit* _proxyHostLineEdit;
|
---|
| 69 | QLineEdit* _proxyPortLineEdit;
|
---|
| 70 | QLineEdit* _ephHostLineEdit;
|
---|
[752] | 71 | QLineEdit* _ephPortLineEdit;
|
---|
[787] | 72 | QLineEdit* _clkPortLineEdit;
|
---|
[814] | 73 | QLineEdit* _logFileLineEdit;
|
---|
| 74 | QLineEdit* _outHostLineEdit;
|
---|
| 75 | QLineEdit* _outPortLineEdit;
|
---|
| 76 | QLineEdit* _mountpointLineEdit;
|
---|
| 77 | QLineEdit* _passwordLineEdit;
|
---|
| 78 | QLineEdit* _outFileLineEdit;
|
---|
[845] | 79 | QLineEdit* _rnxPathLineEdit;
|
---|
| 80 | QLineEdit* _sp3PathLineEdit;
|
---|
| 81 | QComboBox* _rnxIntrComboBox;
|
---|
| 82 | QComboBox* _sp3IntrComboBox;
|
---|
[958] | 83 | QComboBox* _refSysComboBox;
|
---|
[845] | 84 | QSpinBox* _rnxSamplSpinBox;
|
---|
| 85 | QSpinBox* _sp3SamplSpinBox;
|
---|
[958] | 86 | QCheckBox* _fileAppendCheckBox;
|
---|
[750] | 87 |
|
---|
| 88 | QTextEdit* _log;
|
---|
[757] | 89 |
|
---|
| 90 | t_bns* _bns;
|
---|
[748] | 91 | };
|
---|
| 92 | #endif
|
---|