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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3555 - (show annotations) (download) (as text)
Tue Aug 13 10:19:32 2019 UTC (8 days, 12 hours ago) by capela
File MIME type: text/x-c++hdr
File size: 2048 byte(s)
- In late compliance to C++11, all NULL constants replaced for nullptr.
1 // qsamplerChannelFxForm.h
2 //
3 /****************************************************************************
4 Copyright (C) 2010-2019, 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 along
18 with this program; if not, write to the Free Software Foundation, Inc.,
19 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 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 = nullptr, 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