author | waspe <waspe> | 2003-11-20 19:34:08 (UTC) |
---|---|---|
committer | waspe <waspe> | 2003-11-20 19:34:08 (UTC) |
commit | e6a5ed6de7e821a070d571045ff063f8c41b0b79 (patch) (unidiff) | |
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 | |||
@@ -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 | 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 |