lmms
Cross-platform music production software
Toggle main menu visibility
Loading...
Searching...
No Matches
plugins
StereoEnhancer
StereoEnhancerControls.h
Go to the documentation of this file.
1
/*
2
* StereoEnhancerControls.h - controls for StereoEnhancer effect
3
*
4
* Copyright (c) 2008 Tobias Doerffel <tobydox/at/users.sourceforge.net>
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_ENHANCER_CONTROLS_H
26
#define _STEREO_ENHANCER_CONTROLS_H
27
28
#include "
EffectControls.h
"
29
#include "
StereoEnhancerControlDialog.h
"
30
31
namespace
lmms
32
{
33
34
35
class
StereoEnhancerEffect
;
36
37
class
StereoEnhancerControls
:
public
EffectControls
38
{
39
Q_OBJECT
40
public
:
41
StereoEnhancerControls
(
StereoEnhancerEffect
( * _eff ) );
42
~StereoEnhancerControls
()
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
(
"stereoenhancercontrols"
);
49
}
50
51
int
controlCount
()
override
52
{
53
return
( 1 );
54
}
55
56
gui::EffectControlDialog
*
createView
()
override
57
{
58
return
new
gui::StereoEnhancerControlDialog
(
this
);
59
}
60
61
62
private
slots:
63
void
changeWideCoeff
();
64
65
66
private
:
67
StereoEnhancerEffect
*
m_effect
;
68
FloatModel
m_widthModel
;
69
70
friend
class
gui::StereoEnhancerControlDialog
;
71
72
} ;
73
74
75
}
// namespace lmms
76
77
#endif
/*_STEREO_ENHANCER_CONTROLS_H*/
EffectControls.h
StereoEnhancerControlDialog.h
lmms::EffectControls::EffectControls
EffectControls(Effect *_eff)
Definition
EffectControls.h:46
lmms::FloatModel
Definition
AutomatableModel.h:468
lmms::StereoEnhancerControls::saveSettings
void saveSettings(QDomDocument &_doc, QDomElement &_parent) override
Definition
StereoEnhancerControls.cpp:62
lmms::StereoEnhancerControls::nodeName
QString nodeName() const override
Definition
StereoEnhancerControls.h:46
lmms::StereoEnhancerControls::~StereoEnhancerControls
~StereoEnhancerControls() override=default
lmms::StereoEnhancerControls::createView
gui::EffectControlDialog * createView() override
Definition
StereoEnhancerControls.h:56
lmms::StereoEnhancerControls::m_effect
StereoEnhancerEffect * m_effect
Definition
StereoEnhancerControls.h:67
lmms::StereoEnhancerControls::m_widthModel
FloatModel m_widthModel
Definition
StereoEnhancerControls.h:68
lmms::StereoEnhancerControls::loadSettings
void loadSettings(const QDomElement &_this) override
Definition
StereoEnhancerControls.cpp:54
lmms::StereoEnhancerControls::StereoEnhancerControls
StereoEnhancerControls(StereoEnhancerEffect(*_eff))
Definition
StereoEnhancerControls.cpp:34
lmms::StereoEnhancerControls::controlCount
int controlCount() override
Definition
StereoEnhancerControls.h:51
lmms::StereoEnhancerControls::changeWideCoeff
void changeWideCoeff()
Definition
StereoEnhancerControls.cpp:47
lmms::StereoEnhancerEffect
Definition
StereoEnhancer.h:38
lmms::StereoEnhancerEffect::StereoEnhancerEffect
StereoEnhancerEffect(Model *parent, const Descriptor::SubPluginFeatures::Key *_key)
Definition
StereoEnhancer.cpp:56
lmms::gui::EffectControlDialog
Definition
EffectControlDialog.h:42
lmms::gui::StereoEnhancerControlDialog
Definition
StereoEnhancerControlDialog.h:41
lmms
Definition
RemotePluginBase.cpp:34
Generated on
for lmms by
1.18.0