| [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 |
|
|---|
| [748] | 16 | class bnsWindow : public QMainWindow {
|
|---|
| 17 | Q_OBJECT
|
|---|
| 18 |
|
|---|
| 19 | public:
|
|---|
| [758] | 20 | bnsWindow();
|
|---|
| [748] | 21 | ~bnsWindow();
|
|---|
| 22 |
|
|---|
| 23 | public slots:
|
|---|
| [750] | 24 | void slotMessage(const QByteArray msg);
|
|---|
| [760] | 25 | void slotError(const QByteArray msg);
|
|---|
| [748] | 26 |
|
|---|
| 27 | private slots:
|
|---|
| [749] | 28 | void slotHelp();
|
|---|
| 29 | void slotAbout();
|
|---|
| 30 | void slotFontSel();
|
|---|
| 31 | void slotSaveOptions();
|
|---|
| 32 | void slotWhatsThis();
|
|---|
| [754] | 33 | void slotStart();
|
|---|
| 34 | void slotStop();
|
|---|
| [748] | 35 |
|
|---|
| 36 | protected:
|
|---|
| [749] | 37 | virtual void closeEvent(QCloseEvent *);
|
|---|
| [748] | 38 |
|
|---|
| 39 | private:
|
|---|
| [749] | 40 | void CreateMenu();
|
|---|
| 41 | void AddToolbar();
|
|---|
| [760] | 42 | void deleteBns();
|
|---|
| [748] | 43 |
|
|---|
| [749] | 44 | QMenu* _menuHlp;
|
|---|
| 45 | QMenu* _menuFile;
|
|---|
| 46 |
|
|---|
| 47 | QAction* _actHelp;
|
|---|
| 48 | QAction* _actAbout;
|
|---|
| 49 | QAction* _actFontSel;
|
|---|
| 50 | QAction* _actSaveOpt;
|
|---|
| 51 | QAction* _actQuit;
|
|---|
| [754] | 52 | QAction* _actWhatsThis;
|
|---|
| 53 | QAction* _actStart;
|
|---|
| 54 | QAction* _actStop;
|
|---|
| [749] | 55 |
|
|---|
| 56 | QWidget* _canvas;
|
|---|
| [750] | 57 |
|
|---|
| [958] | 58 | QLineEdit* _proxyHostLineEdit;
|
|---|
| 59 | QLineEdit* _proxyPortLineEdit;
|
|---|
| 60 | QLineEdit* _ephHostLineEdit;
|
|---|
| [752] | 61 | QLineEdit* _ephPortLineEdit;
|
|---|
| [958] | 62 | QLineEdit* _clkHostLineEdit;
|
|---|
| [787] | 63 | QLineEdit* _clkPortLineEdit;
|
|---|
| [958] | 64 | QLineEdit* _clkFileLineEdit;
|
|---|
| [814] | 65 | QLineEdit* _logFileLineEdit;
|
|---|
| 66 | QLineEdit* _outHostLineEdit;
|
|---|
| 67 | QLineEdit* _outPortLineEdit;
|
|---|
| 68 | QLineEdit* _mountpointLineEdit;
|
|---|
| 69 | QLineEdit* _passwordLineEdit;
|
|---|
| 70 | QLineEdit* _outFileLineEdit;
|
|---|
| [845] | 71 | QLineEdit* _rnxPathLineEdit;
|
|---|
| 72 | QLineEdit* _sp3PathLineEdit;
|
|---|
| 73 | QComboBox* _rnxIntrComboBox;
|
|---|
| 74 | QComboBox* _sp3IntrComboBox;
|
|---|
| [958] | 75 | QComboBox* _refSysComboBox;
|
|---|
| [845] | 76 | QSpinBox* _rnxSamplSpinBox;
|
|---|
| 77 | QSpinBox* _sp3SamplSpinBox;
|
|---|
| [958] | 78 | QCheckBox* _fileAppendCheckBox;
|
|---|
| 79 | QCheckBox* _outProxyCheckBox;
|
|---|
| 80 | QCheckBox* _ephProxyCheckBox;
|
|---|
| 81 | QCheckBox* _clkProxyCheckBox;
|
|---|
| [750] | 82 |
|
|---|
| 83 | QTextEdit* _log;
|
|---|
| [757] | 84 |
|
|---|
| 85 | t_bns* _bns;
|
|---|
| [748] | 86 | };
|
|---|
| 87 | #endif
|
|---|