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 |
|
---|
23 | private slots:
|
---|
24 | void slotHelp();
|
---|
25 | void slotAbout();
|
---|
26 | void slotFontSel();
|
---|
27 | void slotSaveOptions();
|
---|
28 | void slotWhatsThis();
|
---|
29 |
|
---|
30 | protected:
|
---|
31 | virtual void closeEvent(QCloseEvent *);
|
---|
32 |
|
---|
33 | private:
|
---|
34 | void CreateMenu();
|
---|
35 | void AddToolbar();
|
---|
36 |
|
---|
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;
|
---|
48 | };
|
---|
49 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.