summaryrefslogtreecommitdiff
path: root/noncore/multimedia/tonleiter/menuwidget.h
blob: 044a3e6814ef10cbd04cff37c20e494740b5f388 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef TONLEITER_MENU_WIDGET_H
#define TONLEITER_MENU_WIDGET_H

#include <qcheckbox.h>
#include <qcombobox.h>
#include <qpushbutton.h>
#include <qwidget.h>
#include <qlabel.h>

#include "tonleiterdata.h"

using namespace Data;
namespace Menu
{
    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