LMMS
Loading...
Searching...
No Matches
StereoMatrixControls.h
Go to the documentation of this file.
1/*
2 * StereoMatrixControls.h - controls for StereoMatrix effect
3 *
4 * Copyright (c) 2008 Paul Giblock <drfaygo/at/gmail/dot/com>
5 *
6 * This file is part of LMMS - https://lmms.io
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public
19 * License along with this program (see COPYING); if not, write to the
20 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 * Boston, MA 02110-1301 USA.
22 *
23 */
24
25#ifndef _STEREO_MATRIX_CONTROLS_H
26#define _STEREO_MATRIX_CONTROLS_H
27
28#include "EffectControls.h"
30
31namespace lmms
32{
33
34
36
38{
39 Q_OBJECT
40public:
42 ~StereoMatrixControls() override = default;
43
44 void saveSettings( QDomDocument & _doc, QDomElement & _parent ) override;
45 void loadSettings( const QDomElement & _this ) override;
46 inline QString nodeName() const override
47 {
48 return( "stereomatrixcontrols" );
49 }
50
51 int controlCount() override
52 {
53 return( 1 );
54 }
55
57 {
58 return new gui::StereoMatrixControlDialog( this );
59 }
60
61
62private slots:
63 void changeMatrix();
64
65
66private:
68
73
75 friend class StereoMatrixEffect;
76
77} ;
78
79
80} // namespace lmms
81
82#endif
EffectControls(Effect *_eff)
Definition EffectControls.h:46
Definition AutomatableModel.h:463
FloatModel m_rrModel
Definition StereoMatrixControls.h:72
void loadSettings(const QDomElement &_this) override
Definition StereoMatrixControls.cpp:67
StereoMatrixControls(StereoMatrixEffect(*_eff))
Definition StereoMatrixControls.cpp:34
void saveSettings(QDomDocument &_doc, QDomElement &_parent) override
Definition StereoMatrixControls.cpp:78
int controlCount() override
Definition StereoMatrixControls.h:51
void changeMatrix()
Definition StereoMatrixControls.cpp:61
FloatModel m_rlModel
Definition StereoMatrixControls.h:71
~StereoMatrixControls() override=default
gui::EffectControlDialog * createView() override
Definition StereoMatrixControls.h:56
QString nodeName() const override
Definition StereoMatrixControls.h:46
FloatModel m_lrModel
Definition StereoMatrixControls.h:70
friend class StereoMatrixEffect
Definition StereoMatrixControls.h:75
FloatModel m_llModel
Definition StereoMatrixControls.h:69
StereoMatrixEffect * m_effect
Definition StereoMatrixControls.h:67
Definition StereoMatrix.h:37
Definition EffectControlDialog.h:42
Definition StereoMatrixControlDialog.h:40
Definition AudioAlsa.cpp:35