Line | |
---|
1 | #ifndef BNSWINDOW_H
|
---|
2 | #define BNSWINDOW_H
|
---|
3 |
|
---|
4 | #include <QtGui>
|
---|
5 | #include <QWhatsThis>
|
---|
6 |
|
---|
7 | class bnsAboutDlg : public QDialog {
|
---|
8 | Q_OBJECT
|
---|
9 | public:
|
---|
10 | bnsAboutDlg(QWidget* parent);
|
---|
11 | ~bnsAboutDlg();
|
---|
12 | };
|
---|
13 |
|
---|
14 | class bnsWindow : public QMainWindow {
|
---|
15 | Q_OBJECT
|
---|
16 |
|
---|
17 | public:
|
---|
18 | bnsWindow();
|
---|
19 | ~bnsWindow();
|
---|
20 |
|
---|
21 | public slots:
|
---|
22 | void slotMessage(const QByteArray msg);
|
---|
23 |
|
---|
24 | private slots:
|
---|
25 | void slotHelp();
|
---|
26 | void slotAbout();
|
---|
27 | void slotFontSel();
|
---|
28 | void slotSaveOptions();
|
---|
29 | void slotWhatsThis();
|
---|
30 |
|
---|
31 | protected:
|
---|
32 | virtual void closeEvent(QCloseEvent *);
|
---|
33 |
|
---|
34 | private:
|
---|
35 | void CreateMenu();
|
---|
36 | void AddToolbar();
|
---|
37 |
|
---|
38 | QMenu* _menuHlp;
|
---|
39 | QMenu* _menuFile;
|
---|
40 |
|
---|
41 | QAction* _actHelp;
|
---|
42 | QAction* _actAbout;
|
---|
43 | QAction* _actFontSel;
|
---|
44 | QAction* _actSaveOpt;
|
---|
45 | QAction* _actQuit;
|
---|
46 | QAction* _actwhatsthis;
|
---|
47 |
|
---|
48 | QWidget* _canvas;
|
---|
49 |
|
---|
50 | QLineEdit* _ephHostLineEdit;
|
---|
51 | QLineEdit* _ephPortLineEdit;
|
---|
52 | QLineEdit* _proxyHostLineEdit;
|
---|
53 | QLineEdit* _proxyPortLineEdit;
|
---|
54 |
|
---|
55 | QTextEdit* _log;
|
---|
56 | };
|
---|
57 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.