1 |
// qsamplerInstrumentListForm.h |
// qsamplerInstrumentListForm.h |
2 |
// |
// |
3 |
/**************************************************************************** |
/**************************************************************************** |
4 |
|
Copyright (C) 2010-2012, rncbc aka Rui Nuno Capela. All rights reserved. |
5 |
Copyright (C) 2008, Christian Schoenebeck |
Copyright (C) 2008, Christian Schoenebeck |
6 |
|
|
7 |
This program is free software; you can redistribute it and/or |
This program is free software; you can redistribute it and/or |
25 |
|
|
26 |
#include "ui_qsamplerChannelFxForm.h" |
#include "ui_qsamplerChannelFxForm.h" |
27 |
|
|
28 |
|
#include "qsamplerChannel.h" |
29 |
|
#include "qsamplerDevice.h" |
30 |
|
|
31 |
#include <QDialog> |
#include <QDialog> |
32 |
|
|
33 |
namespace QSampler { |
namespace QSampler { |
35 |
class ChannelFxForm : public QDialog { |
class ChannelFxForm : public QDialog { |
36 |
Q_OBJECT |
Q_OBJECT |
37 |
public: |
public: |
38 |
ChannelFxForm(int SamplerChannelID, QWidget* pParent = NULL, Qt::WindowFlags wflags = 0); |
ChannelFxForm(Channel* pSamplerChannel, QWidget* pParent = NULL, Qt::WindowFlags wflags = 0); |
39 |
~ChannelFxForm(); |
~ChannelFxForm(); |
40 |
|
|
41 |
protected slots: |
protected slots: |
43 |
void onButtonClicked(QAbstractButton* button); |
void onButtonClicked(QAbstractButton* button); |
44 |
void onCreateFxSend(); |
void onCreateFxSend(); |
45 |
void onDestroyFxSend(); |
void onDestroyFxSend(); |
46 |
|
void onDepthCtrlChanged(int iMidiCtrl); |
47 |
|
void onCurrentSendDepthChanged(int depthPercent); |
48 |
|
void onRoutingTableChanged(); |
49 |
|
void updateTableCellRenderers(); |
50 |
|
void updateTableCellRenderers(const QModelIndex& topLeft, |
51 |
|
const QModelIndex& bottomRight); |
52 |
|
|
53 |
private: |
private: |
54 |
Ui::qsamplerChannelFxForm m_ui; |
Ui::qsamplerChannelFxForm m_ui; |
55 |
|
|
56 |
int m_SamplerChannelID; |
Channel* m_pSamplerChannel; |
57 |
|
//int m_SamplerChannelID; |
58 |
|
Device* m_pAudioDevice; |
59 |
}; |
}; |
60 |
|
|
61 |
} // namespace QSampler |
} // namespace QSampler |