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 @@ -9,22 +9,29 @@ #include "tonleiterdata.h" -class MenuWidget : public QWidget +using namespace Data; +namespace Menu { - Q_OBJECT -private: - TonleiterData* data; - QComboBox* boxInst; - QPushButton* editInst; - QComboBox* boxNote; - QCheckBox* noteCheck; - QComboBox* boxScale; - QPushButton* editScale; -public: - MenuWidget(TonleiterData* data,QWidget* parent,const char* name="MenuWidget",WFlags f=0); - ~MenuWidget(); -public slots: - void updateBoxes(); + class MenuWidget : public QWidget + { + Q_OBJECT + private: + TonleiterData* data; + QComboBox* boxInst; + QPushButton* editInst; + QComboBox* boxNote; + QCheckBox* noteCheck; + QComboBox* boxScale; + QPushButton* editScale; + public: + MenuWidget(TonleiterData* data,QWidget* parent,const char* name="MenuWidget",WFlags f=0); + ~MenuWidget(); + private slots: + void editInstPressed(); + void editScalePressed(); + public slots: + void updateBoxes(); + }; }; #endif //TONLEITER_MENU_WIDGET_H |