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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1668 - (show annotations) (download) (as text)
Tue Feb 5 15:42:33 2008 UTC (16 years, 2 months ago) by schoenebeck
File MIME type: text/x-c++hdr
File size: 1971 byte(s)
* finished FX Sends dialog implementation
* bumped version to 0.2.1.4

1 // 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 #include "qsamplerChannel.h"
28 #include "qsamplerDevice.h"
29
30 #include <QDialog>
31
32 namespace QSampler {
33
34 class ChannelFxForm : public QDialog {
35 Q_OBJECT
36 public:
37 ChannelFxForm(Channel* pSamplerChannel, QWidget* pParent = NULL, Qt::WindowFlags wflags = 0);
38 ~ChannelFxForm();
39
40 protected slots:
41 void onFxSendSelection(const QModelIndex& index);
42 void onButtonClicked(QAbstractButton* button);
43 void onCreateFxSend();
44 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:
53 Ui::qsamplerChannelFxForm m_ui;
54
55 Channel* m_pSamplerChannel;
56 //int m_SamplerChannelID;
57 Device* m_pAudioDevice;
58 };
59
60 } // namespace QSampler
61
62 #endif // __qsamplerChannelFxForm_h
63
64 // end of qsamplerChannelFxForm.h

  ViewVC Help
Powered by ViewVC