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);
|
---|
[748] | 25 |
|
---|
| 26 | private slots:
|
---|
[749] | 27 | void slotHelp();
|
---|
| 28 | void slotAbout();
|
---|
| 29 | void slotFontSel();
|
---|
| 30 | void slotSaveOptions();
|
---|
| 31 | void slotWhatsThis();
|
---|
[754] | 32 | void slotStart();
|
---|
| 33 | void slotStop();
|
---|
[748] | 34 |
|
---|
| 35 | protected:
|
---|
[749] | 36 | virtual void closeEvent(QCloseEvent *);
|
---|
[748] | 37 |
|
---|
| 38 | private:
|
---|
[749] | 39 | void CreateMenu();
|
---|
| 40 | void AddToolbar();
|
---|
[748] | 41 |
|
---|
[749] | 42 | QMenu* _menuHlp;
|
---|
| 43 | QMenu* _menuFile;
|
---|
| 44 |
|
---|
| 45 | QAction* _actHelp;
|
---|
| 46 | QAction* _actAbout;
|
---|
| 47 | QAction* _actFontSel;
|
---|
| 48 | QAction* _actSaveOpt;
|
---|
| 49 | QAction* _actQuit;
|
---|
[754] | 50 | QAction* _actWhatsThis;
|
---|
| 51 | QAction* _actStart;
|
---|
| 52 | QAction* _actStop;
|
---|
[749] | 53 |
|
---|
| 54 | QWidget* _canvas;
|
---|
[750] | 55 |
|
---|
[752] | 56 | QLineEdit* _ephHostLineEdit;
|
---|
| 57 | QLineEdit* _ephPortLineEdit;
|
---|
[750] | 58 | QLineEdit* _proxyHostLineEdit;
|
---|
| 59 | QLineEdit* _proxyPortLineEdit;
|
---|
| 60 |
|
---|
| 61 | QTextEdit* _log;
|
---|
[757] | 62 |
|
---|
| 63 | t_bns* _bns;
|
---|
[748] | 64 | };
|
---|
| 65 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.