00001 #ifndef TONLEITER_MENU_WIDGET_H 00002 #define TONLEITER_MENU_WIDGET_H 00003 00004 #include <qcheckbox.h> 00005 #include <qcombobox.h> 00006 #include <qpushbutton.h> 00007 #include <qwidget.h> 00008 #include <qlabel.h> 00009 00010 #include "tonleiterdata.h" 00011 00012 using namespace Data; 00013 namespace Menu 00014 { 00015 class MenuWidget : public QWidget 00016 { 00017 Q_OBJECT 00018 private: 00019 TonleiterData* data; 00020 QComboBox* boxInst; 00021 QPushButton* editInst; 00022 QComboBox* boxNote; 00023 QCheckBox* noteCheck; 00024 QComboBox* boxScale; 00025 QPushButton* editScale; 00026 public: 00027 MenuWidget(TonleiterData* data,QWidget* parent,const char* name="MenuWidget",WFlags f=0); 00028 ~MenuWidget(); 00029 private slots: 00030 void editInstPressed(); 00031 void editScalePressed(); 00032 public slots: 00033 void updateBoxes(); 00034 }; 00035 }; 00036 00037 #endif //TONLEITER_MENU_WIDGET_H
1.4.2