Diffstat (limited to 'noncore/multimedia/tonleiter/menuwidget.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/multimedia/tonleiter/menuwidget.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/noncore/multimedia/tonleiter/menuwidget.h b/noncore/multimedia/tonleiter/menuwidget.h index 2635f8a..044a3e6 100644 --- a/noncore/multimedia/tonleiter/menuwidget.h +++ b/noncore/multimedia/tonleiter/menuwidget.h | |||
@@ -1,30 +1,37 @@ | |||
1 | #ifndef TONLEITER_MENU_WIDGET_H | 1 | #ifndef TONLEITER_MENU_WIDGET_H |
2 | #define TONLEITER_MENU_WIDGET_H | 2 | #define TONLEITER_MENU_WIDGET_H |
3 | 3 | ||
4 | #include <qcheckbox.h> | 4 | #include <qcheckbox.h> |
5 | #include <qcombobox.h> | 5 | #include <qcombobox.h> |
6 | #include <qpushbutton.h> | 6 | #include <qpushbutton.h> |
7 | #include <qwidget.h> | 7 | #include <qwidget.h> |
8 | #include <qlabel.h> | 8 | #include <qlabel.h> |
9 | 9 | ||
10 | #include "tonleiterdata.h" | 10 | #include "tonleiterdata.h" |
11 | 11 | ||
12 | using namespace Data; | ||
13 | namespace Menu | ||
14 | { | ||
12 | class MenuWidget : public QWidget | 15 | class MenuWidget : public QWidget |
13 | { | 16 | { |
14 | Q_OBJECT | 17 | Q_OBJECT |
15 | private: | 18 | private: |
16 | TonleiterData* data; | 19 | TonleiterData* data; |
17 | QComboBox* boxInst; | 20 | QComboBox* boxInst; |
18 | QPushButton* editInst; | 21 | QPushButton* editInst; |
19 | QComboBox* boxNote; | 22 | QComboBox* boxNote; |
20 | QCheckBox* noteCheck; | 23 | QCheckBox* noteCheck; |
21 | QComboBox* boxScale; | 24 | QComboBox* boxScale; |
22 | QPushButton* editScale; | 25 | QPushButton* editScale; |
23 | public: | 26 | public: |
24 | MenuWidget(TonleiterData* data,QWidget* parent,const char* name="MenuWidget",WFlags f=0); | 27 | MenuWidget(TonleiterData* data,QWidget* parent,const char* name="MenuWidget",WFlags f=0); |
25 | ~MenuWidget(); | 28 | ~MenuWidget(); |
29 | private slots: | ||
30 | void editInstPressed(); | ||
31 | void editScalePressed(); | ||
26 | public slots: | 32 | public slots: |
27 | void updateBoxes(); | 33 | void updateBoxes(); |
28 | }; | 34 | }; |
35 | }; | ||
29 | 36 | ||
30 | #endif //TONLEITER_MENU_WIDGET_H | 37 | #endif //TONLEITER_MENU_WIDGET_H |