Rev | Line | |
---|
[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 |
|
---|
[752] | 58 | QLineEdit* _ephPortLineEdit;
|
---|
[787] | 59 | QLineEdit* _clkPortLineEdit;
|
---|
[814] | 60 | QLineEdit* _logFileLineEdit;
|
---|
| 61 | QLineEdit* _outHostLineEdit;
|
---|
| 62 | QLineEdit* _outPortLineEdit;
|
---|
| 63 | QLineEdit* _mountpointLineEdit;
|
---|
| 64 | QLineEdit* _passwordLineEdit;
|
---|
| 65 | QLineEdit* _outFileLineEdit;
|
---|
[750] | 66 |
|
---|
| 67 | QTextEdit* _log;
|
---|
[757] | 68 |
|
---|
| 69 | t_bns* _bns;
|
---|
[748] | 70 | };
|
---|
| 71 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.