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