Diffstat (limited to 'noncore/multimedia/tonleiter/menuwidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/tonleiter/menuwidget.h | 37 |
1 files changed, 22 insertions, 15 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 | |||
@@ -6,25 +6,32 @@ | |||
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 | class MenuWidget : public QWidget | 12 | using namespace Data; |
13 | namespace Menu | ||
13 | { | 14 | { |
14 | Q_OBJECT | 15 | class MenuWidget : public QWidget |
15 | private: | 16 | { |
16 | TonleiterData* data; | 17 | Q_OBJECT |
17 | QComboBox* boxInst; | 18 | private: |
18 | QPushButton* editInst; | 19 | TonleiterData* data; |
19 | QComboBox* boxNote; | 20 | QComboBox* boxInst; |
20 | QCheckBox* noteCheck; | 21 | QPushButton* editInst; |
21 | QComboBox* boxScale; | 22 | QComboBox* boxNote; |
22 | QPushButton* editScale; | 23 | QCheckBox* noteCheck; |
23 | public: | 24 | QComboBox* boxScale; |
24 | MenuWidget(TonleiterData* data,QWidget* parent,const char* name="MenuWidget",WFlags f=0); | 25 | QPushButton* editScale; |
25 | ~MenuWidget(); | 26 | public: |
26 | public slots: | 27 | MenuWidget(TonleiterData* data,QWidget* parent,const char* name="MenuWidget",WFlags f=0); |
27 | void updateBoxes(); | 28 | ~MenuWidget(); |
29 | private slots: | ||
30 | void editInstPressed(); | ||
31 | void editScalePressed(); | ||
32 | public slots: | ||
33 | void updateBoxes(); | ||
34 | }; | ||
28 | }; | 35 | }; |
29 | 36 | ||
30 | #endif //TONLEITER_MENU_WIDGET_H | 37 | #endif //TONLEITER_MENU_WIDGET_H |