author | waspe <waspe> | 2003-11-20 19:34:08 (UTC) |
---|---|---|
committer | waspe <waspe> | 2003-11-20 19:34:08 (UTC) |
commit | e6a5ed6de7e821a070d571045ff063f8c41b0b79 (patch) (side-by-side diff) | |
tree | 8455d7bf537cf804337b6c03b28f891ee3f286ce /noncore/multimedia/tonleiter/menuwidget.h | |
parent | f43e28fe8f226039d96ebda4e6c4d26e4f3320ba (diff) | |
download | opie-e6a5ed6de7e821a070d571045ff063f8c41b0b79.zip opie-e6a5ed6de7e821a070d571045ff063f8c41b0b79.tar.gz opie-e6a5ed6de7e821a070d571045ff063f8c41b0b79.tar.bz2 |
added preliminary edit dialogs
default config added
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 @@ #include <qpushbutton.h> #include <qwidget.h> #include <qlabel.h> #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 |