forked from PALYGAP/MidyAX-2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
midiknob.h
executable file
·38 lines (29 loc) · 912 Bytes
/
midiknob.h
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
38
#ifndef MIDIKNOB_H
#define MIDIKNOB_H
class MIDIKnob : public QObject
{
Q_OBJECT
public:
explicit MIDIKnob(QObject *parent = 0);
QComboBox *m_TheComboBox;
QLineEditMod1 *m_TheLineEdit;
QList *m_TheBlockLabel;
QList *m_TheParamLabel;
QList *m_TheSlider;
signals:
public slots:
void setBlockLabel( Qstring text );
void setEffectLabel( Qstring text );
void clearComboBox();
void addComboBoxItem( QString, int index );
void setComboBoxCurrentIndex( selectedPos );
private slots:
void onSliderValueChanged( int value );
void onComboBoxCurrentIndexChanged( int index );
void onVerticalSliderCustomContextMenuRequested( const QPoint );
signals:
void knobValueChanges(int value);
void knobCBCurrentIndexChanged(int index);
void knobCustomContextMenuRequested( QPoint loc );
};
#endif // MIDIKNOB_H