aboutsummaryrefslogtreecommitdiff
path: root/qmpchanneleditor.hpp
blob: 5927122ad75de271434b1fd9faebd405016dbcbb (plain) (blame)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#ifndef QMPCHANNELEDITOR_H
#define QMPCHANNELEDITOR_H

#include <QDialog>
#include <QShowEvent>
#include <QCloseEvent>

namespace Ui {
	class qmpChannelEditor;
}

class qmpChannelEditor:public QDialog
{
	Q_OBJECT

	public:
		explicit qmpChannelEditor(QWidget *parent=0);
		~qmpChannelEditor();
	protected:
		void showEvent(QShowEvent *e);
		void closeEvent(QCloseEvent *e);
	public slots:
		void setupWindow(int chid=-1);

	private slots:
		void on_pbChLeft_clicked();
		void on_pbChRight_clicked();
		void on_dCut_sliderPressed();
		void on_dReso_sliderPressed();
		void on_dReverb_sliderPressed();
		void on_dChorus_sliderPressed();
		void on_dVol_sliderPressed();
		void on_dPan_sliderPressed();
		void on_dAttack_sliderPressed();
		void on_dDecay_sliderPressed();
		void on_dRelease_sliderPressed();
		void on_dRate_sliderPressed();
		void on_dDepth_sliderPressed();
		void on_dDelay_sliderPressed();
		void on_dAttack_sliderReleased();
		void on_dDecay_sliderReleased();
		void on_dRelease_sliderReleased();
		void on_dRate_sliderReleased();
		void on_dDepth_sliderReleased();
		void on_dDelay_sliderReleased();
		void on_dCut_sliderReleased();
		void on_dReso_sliderReleased();
		void on_dReverb_sliderReleased();
		void on_dChorus_sliderReleased();
		void on_dVol_sliderReleased();
		void on_dPan_sliderReleased();
		void on_dCut_valueChanged();
		void on_dReso_valueChanged();
		void on_dReverb_valueChanged();
		void on_dChorus_valueChanged();
		void on_dVol_valueChanged();
		void on_dPan_valueChanged();
		void on_dAttack_valueChanged();
		void on_dDecay_valueChanged();
		void on_dRelease_valueChanged();
		void on_dRate_valueChanged();
		void on_dDepth_valueChanged();
		void on_dDelay_valueChanged();

	private:
		Ui::qmpChannelEditor *ui;
		int ch;
		void sendCC();
};

#endif // QMPCHANNELEDITOR_H