lmms
Cross-platform music production software
Toggle main menu visibility
Loading...
Searching...
No Matches
plugins
StereoMatrix
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
"
29
#include "
StereoMatrixControlDialog.h
"
30
31
namespace
lmms
32
{
33
34
35
class
StereoMatrixEffect
;
36
37
class
StereoMatrixControls
:
public
EffectControls
38
{
39
Q_OBJECT
40
public
:
41
StereoMatrixControls
(
StereoMatrixEffect
( * _eff ) );
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
56
gui::EffectControlDialog
*
createView
()
override
57
{
58
return
new
gui::StereoMatrixControlDialog
(
this
);
59
}
60
61
62
private
slots:
63
void
changeMatrix
();
64
65
66
private
:
67
StereoMatrixEffect
*
m_effect
;
68
69
FloatModel
m_llModel
;
70
FloatModel
m_lrModel
;
71
FloatModel
m_rlModel
;
72
FloatModel
m_rrModel
;
73
74
friend
class
gui::StereoMatrixControlDialog
;
75
friend
class
StereoMatrixEffect
;
76
77
} ;
78
79
80
}
// namespace lmms
81
82
#endif
EffectControls.h
StereoMatrixControlDialog.h
lmms::EffectControls::EffectControls
EffectControls(Effect *_eff)
Definition
EffectControls.h:46
lmms::FloatModel
Definition
AutomatableModel.h:468
lmms::StereoMatrixControls::m_rrModel
FloatModel m_rrModel
Definition
StereoMatrixControls.h:72
lmms::StereoMatrixControls::loadSettings
void loadSettings(const QDomElement &_this) override
Definition
StereoMatrixControls.cpp:67
lmms::StereoMatrixControls::StereoMatrixControls
StereoMatrixControls(StereoMatrixEffect(*_eff))
Definition
StereoMatrixControls.cpp:34
lmms::StereoMatrixControls::saveSettings
void saveSettings(QDomDocument &_doc, QDomElement &_parent) override
Definition
StereoMatrixControls.cpp:78
lmms::StereoMatrixControls::controlCount
int controlCount() override
Definition
StereoMatrixControls.h:51
lmms::StereoMatrixControls::changeMatrix
void changeMatrix()
Definition
StereoMatrixControls.cpp:61
lmms::StereoMatrixControls::m_rlModel
FloatModel m_rlModel
Definition
StereoMatrixControls.h:71
lmms::StereoMatrixControls::~StereoMatrixControls
~StereoMatrixControls() override=default
lmms::StereoMatrixControls::createView
gui::EffectControlDialog * createView() override
Definition
StereoMatrixControls.h:56
lmms::StereoMatrixControls::nodeName
QString nodeName() const override
Definition
StereoMatrixControls.h:46
lmms::StereoMatrixControls::m_lrModel
FloatModel m_lrModel
Definition
StereoMatrixControls.h:70
lmms::StereoMatrixControls::StereoMatrixEffect
friend class StereoMatrixEffect
Definition
StereoMatrixControls.h:75
lmms::StereoMatrixControls::m_llModel
FloatModel m_llModel
Definition
StereoMatrixControls.h:69
lmms::StereoMatrixControls::m_effect
StereoMatrixEffect * m_effect
Definition
StereoMatrixControls.h:67
lmms::StereoMatrixEffect
Definition
StereoMatrix.h:37
lmms::StereoMatrixEffect::StereoMatrixEffect
StereoMatrixEffect(Model *parent, const Descriptor::SubPluginFeatures::Key *_key)
Definition
StereoMatrix.cpp:56
lmms::gui::EffectControlDialog
Definition
EffectControlDialog.h:42
lmms::gui::StereoMatrixControlDialog
Definition
StereoMatrixControlDialog.h:40
lmms
Definition
RemotePluginBase.cpp:34
Generated on
for lmms by
1.18.0