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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3849 - (hide annotations) (download) (as text)
Thu Jan 7 16:18:02 2021 UTC (3 years, 3 months ago) by capela
File MIME type: text/x-c++hdr
File size: 2020 byte(s)
- Use <cmath> instead of <math.h> et al.
1 capela 2459 // qsamplerChannelFxForm.h
2 schoenebeck 1667 //
3     /****************************************************************************
4 capela 3849 Copyright (C) 2010-2021, rncbc aka Rui Nuno Capela. All rights reserved.
5 schoenebeck 1667 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 capela 2459 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 schoenebeck 1667
21     *****************************************************************************/
22    
23     #ifndef __qsamplerChannelFxForm_h
24     #define __qsamplerChannelFxForm_h
25    
26     #include "ui_qsamplerChannelFxForm.h"
27    
28 schoenebeck 1668 #include "qsamplerChannel.h"
29     #include "qsamplerDevice.h"
30    
31 schoenebeck 1667 #include <QDialog>
32    
33     namespace QSampler {
34    
35     class ChannelFxForm : public QDialog {
36     Q_OBJECT
37     public:
38 capela 3758 ChannelFxForm(Channel *pSamplerChannel, QWidget *pParent = nullptr);
39 schoenebeck 1667 ~ChannelFxForm();
40    
41     protected slots:
42     void onFxSendSelection(const QModelIndex& index);
43     void onButtonClicked(QAbstractButton* button);
44     void onCreateFxSend();
45     void onDestroyFxSend();
46 schoenebeck 1668 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 schoenebeck 1667
53     private:
54     Ui::qsamplerChannelFxForm m_ui;
55    
56 schoenebeck 1668 Channel* m_pSamplerChannel;
57     //int m_SamplerChannelID;
58     Device* m_pAudioDevice;
59 schoenebeck 1667 };
60    
61     } // namespace QSampler
62    
63     #endif // __qsamplerChannelFxForm_h
64    
65     // end of qsamplerChannelFxForm.h

  ViewVC Help
Powered by ViewVC