1 |
// qsamplerInstrumentListForm.h |
2 |
// |
3 |
/**************************************************************************** |
4 |
Copyright (C) 2010-2012, rncbc aka Rui Nuno Capela. All rights reserved. |
5 |
Copyright (C) 2008, Christian Schoenebeck |
6 |
|
7 |
This program is free software; you can redistribute it and/or |
8 |
modify it under the terms of the GNU General Public License |
9 |
as published by the Free Software Foundation; either version 2 |
10 |
of the License, or (at your option) any later version. |
11 |
|
12 |
This program is distributed in the hope that it will be useful, |
13 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 |
GNU General Public License for more details. |
16 |
|
17 |
You should have received a copy of the GNU General Public License |
18 |
along with this program; if not, write to the Free Software |
19 |
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
20 |
|
21 |
*****************************************************************************/ |
22 |
|
23 |
#ifndef __qsamplerChannelFxForm_h |
24 |
#define __qsamplerChannelFxForm_h |
25 |
|
26 |
#include "ui_qsamplerChannelFxForm.h" |
27 |
|
28 |
#include "qsamplerChannel.h" |
29 |
#include "qsamplerDevice.h" |
30 |
|
31 |
#include <QDialog> |
32 |
|
33 |
namespace QSampler { |
34 |
|
35 |
class ChannelFxForm : public QDialog { |
36 |
Q_OBJECT |
37 |
public: |
38 |
ChannelFxForm(Channel* pSamplerChannel, QWidget* pParent = NULL, Qt::WindowFlags wflags = 0); |
39 |
~ChannelFxForm(); |
40 |
|
41 |
protected slots: |
42 |
void onFxSendSelection(const QModelIndex& index); |
43 |
void onButtonClicked(QAbstractButton* button); |
44 |
void onCreateFxSend(); |
45 |
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: |
54 |
Ui::qsamplerChannelFxForm m_ui; |
55 |
|
56 |
Channel* m_pSamplerChannel; |
57 |
//int m_SamplerChannelID; |
58 |
Device* m_pAudioDevice; |
59 |
}; |
60 |
|
61 |
} // namespace QSampler |
62 |
|
63 |
#endif // __qsamplerChannelFxForm_h |
64 |
|
65 |
// end of qsamplerChannelFxForm.h |