lmms
Cross-platform music production software
Toggle main menu visibility
Loading...
Searching...
No Matches
plugins
Eq
EqControlsDialog.h
Go to the documentation of this file.
1
/*
2
* eqcontrolsdialog.h - defination of EqControlsDialog class.
3
*
4
* Copyright (c) 2014 David French <dave/dot/french3/at/googlemail/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 EQCONTROLSDIALOG_H
26
#define EQCONTROLSDIALOG_H
27
28
29
#include "
EffectControlDialog.h
"
30
31
namespace
lmms
32
{
33
34
class
BoolModel
;
35
class
FloatModel
;
36
37
class
EqControls
;
38
39
namespace
gui
40
{
41
42
class
EqBand
;
43
class
EqParameterWidget
;
44
45
class
EqControlsDialog
:
public
EffectControlDialog
46
{
47
Q_OBJECT
48
public
:
49
EqControlsDialog
(
EqControls
* controls );
50
~EqControlsDialog
()
override
=
default
;
51
52
EqBand
*
setBand
(
EqControls
* controls );
53
54
private
:
55
EqControls
*
m_controls
;
56
EqParameterWidget
*
m_parameterWidget
;
57
58
void
mouseDoubleClickEvent
(QMouseEvent *event)
override
;
59
60
EqBand
*
setBand
(
int
index,
BoolModel
*active,
FloatModel
*freq,
FloatModel
*res,
FloatModel
*gain, QColor color, QString name,
float
*peakL,
float
*peakR,
BoolModel
*hp12,
BoolModel
*hp24,
BoolModel
*hp48,
BoolModel
*lp12,
BoolModel
*lp24,
BoolModel
*lp48 );
61
62
int
m_originalHeight
;
63
};
64
65
66
}
// namespace gui
67
68
}
// namespace lmms
69
70
#endif
// EQCONTROLSDIALOG_H
EffectControlDialog.h
lmms::BoolModel
Definition
AutomatableModel.h:502
lmms::EqControls
Definition
EqControls.h:43
lmms::FloatModel
Definition
AutomatableModel.h:468
lmms::gui::EffectControlDialog::EffectControlDialog
EffectControlDialog(EffectControls *controls)
Definition
EffectControlDialog.cpp:33
lmms::gui::EqBand
Definition
EqParameterWidget.h:48
lmms::gui::EqControlsDialog::m_controls
EqControls * m_controls
Definition
EqControlsDialog.h:55
lmms::gui::EqControlsDialog::EqControlsDialog
EqControlsDialog(EqControls *controls)
Definition
EqControlsDialog.cpp:45
lmms::gui::EqControlsDialog::~EqControlsDialog
~EqControlsDialog() override=default
lmms::gui::EqControlsDialog::m_parameterWidget
EqParameterWidget * m_parameterWidget
Definition
EqControlsDialog.h:56
lmms::gui::EqControlsDialog::setBand
EqBand * setBand(EqControls *controls)
lmms::gui::EqControlsDialog::mouseDoubleClickEvent
void mouseDoubleClickEvent(QMouseEvent *event) override
Definition
EqControlsDialog.cpp:215
lmms::gui::EqControlsDialog::m_originalHeight
int m_originalHeight
Definition
EqControlsDialog.h:62
lmms::gui::EqParameterWidget
Definition
EqParameterWidget.h:73
lmms::gui
Definition
AudioPortAudio.cpp:209
lmms
Definition
RemotePluginBase.cpp:34
Generated on
for lmms by
1.18.0