24 |
|
|
25 |
#include "ui_qsamplerChannelFxForm.h" |
#include "ui_qsamplerChannelFxForm.h" |
26 |
|
|
27 |
|
#include "qsamplerChannel.h" |
28 |
|
#include "qsamplerDevice.h" |
29 |
|
|
30 |
#include <QDialog> |
#include <QDialog> |
31 |
|
|
32 |
namespace QSampler { |
namespace QSampler { |
34 |
class ChannelFxForm : public QDialog { |
class ChannelFxForm : public QDialog { |
35 |
Q_OBJECT |
Q_OBJECT |
36 |
public: |
public: |
37 |
ChannelFxForm(int SamplerChannelID, QWidget* pParent = NULL, Qt::WindowFlags wflags = 0); |
ChannelFxForm(Channel* pSamplerChannel, QWidget* pParent = NULL, Qt::WindowFlags wflags = 0); |
38 |
~ChannelFxForm(); |
~ChannelFxForm(); |
39 |
|
|
40 |
protected slots: |
protected slots: |
42 |
void onButtonClicked(QAbstractButton* button); |
void onButtonClicked(QAbstractButton* button); |
43 |
void onCreateFxSend(); |
void onCreateFxSend(); |
44 |
void onDestroyFxSend(); |
void onDestroyFxSend(); |
45 |
|
void onDepthCtrlChanged(int iMidiCtrl); |
46 |
|
void onCurrentSendDepthChanged(int depthPercent); |
47 |
|
void onRoutingTableChanged(); |
48 |
|
void updateTableCellRenderers(); |
49 |
|
void updateTableCellRenderers(const QModelIndex& topLeft, |
50 |
|
const QModelIndex& bottomRight); |
51 |
|
|
52 |
private: |
private: |
53 |
Ui::qsamplerChannelFxForm m_ui; |
Ui::qsamplerChannelFxForm m_ui; |
54 |
|
|
55 |
int m_SamplerChannelID; |
Channel* m_pSamplerChannel; |
56 |
|
//int m_SamplerChannelID; |
57 |
|
Device* m_pAudioDevice; |
58 |
}; |
}; |
59 |
|
|
60 |
} // namespace QSampler |
} // namespace QSampler |