/[svn]/qsampler/trunk/src/qsamplerChannelFxForm.h
ViewVC logotype

Contents of /qsampler/trunk/src/qsamplerChannelFxForm.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2074 - (show annotations) (download) (as text)
Mon Mar 29 17:00:30 2010 UTC (14 years ago) by capela
File MIME type: text/x-c++hdr
File size: 2042 byte(s)
* General source tree layout and build configuration change.

1 // qsamplerInstrumentListForm.h
2 //
3 /****************************************************************************
4 Copyright (C) 2008, Christian Schoenebeck
5 Copyright (C) 2010, rncbc aka Rui Nuno Capela. All rights reserved.
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

  ViewVC Help
Powered by ViewVC