LMMS
Loading...
Searching...
No Matches
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
31namespace lmms
32{
33
34class BoolModel;
35class FloatModel;
36
37class EqControls;
38
39namespace gui
40{
41
42class EqBand;
44
46{
47 Q_OBJECT
48public:
49 EqControlsDialog( EqControls * controls );
50 ~EqControlsDialog() override = default;
51
52 EqBand * setBand( EqControls * controls );
53
54private:
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
63};
64
65
66} // namespace gui
67
68} // namespace lmms
69
70#endif // EQCONTROLSDIALOG_H
Definition AutomatableModel.h:497
Definition EqControls.h:43
Definition AutomatableModel.h:463
EffectControlDialog(EffectControls *controls)
Definition EffectControlDialog.cpp:33
Definition EqParameterWidget.h:48
EqControls * m_controls
Definition EqControlsDialog.h:55
EqControlsDialog(EqControls *controls)
Definition EqControlsDialog.cpp:45
~EqControlsDialog() override=default
EqParameterWidget * m_parameterWidget
Definition EqControlsDialog.h:56
EqBand * setBand(EqControls *controls)
void mouseDoubleClickEvent(QMouseEvent *event) override
Definition EqControlsDialog.cpp:217
int m_originalHeight
Definition EqControlsDialog.h:62
Definition EqParameterWidget.h:73
static const char * name
Definition pugl.h:1582
JHUFF_TBL long freq[]
Definition jchuff.h:50
Definition AudioPortAudio.cpp:223
Definition AudioAlsa.cpp:35