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