LMMS
Loading...
Searching...
No Matches
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"
30
31namespace lmms
32{
33
34
36
38{
39 Q_OBJECT
40public:
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
57 {
58 return new gui::StereoEnhancerControlDialog( this );
59 }
60
61
62private slots:
63 void changeWideCoeff();
64
65
66private:
69
71
72} ;
73
74
75} // namespace lmms
76
77#endif /*_STEREO_ENHANCER_CONTROLS_H*/
EffectControls(Effect *_eff)
Definition EffectControls.h:46
Definition AutomatableModel.h:463
void saveSettings(QDomDocument &_doc, QDomElement &_parent) override
Definition StereoEnhancerControls.cpp:62
QString nodeName() const override
Definition StereoEnhancerControls.h:46
~StereoEnhancerControls() override=default
gui::EffectControlDialog * createView() override
Definition StereoEnhancerControls.h:56
StereoEnhancerEffect * m_effect
Definition StereoEnhancerControls.h:67
FloatModel m_widthModel
Definition StereoEnhancerControls.h:68
void loadSettings(const QDomElement &_this) override
Definition StereoEnhancerControls.cpp:54
StereoEnhancerControls(StereoEnhancerEffect(*_eff))
Definition StereoEnhancerControls.cpp:34
int controlCount() override
Definition StereoEnhancerControls.h:51
void changeWideCoeff()
Definition StereoEnhancerControls.cpp:47
Definition StereoEnhancer.h:38
Definition EffectControlDialog.h:42
Definition StereoEnhancerControlDialog.h:41
Definition AudioAlsa.cpp:35