lmms
Cross-platform music production software
Toggle main menu visibility
Loading...
Searching...
No Matches
plugins
SpectrumAnalyzer
SaControlsDialog.h
Go to the documentation of this file.
1
/*
2
* SaControlsDialog.h - declatation of SaControlsDialog class.
3
*
4
* Copyright (c) 2019 Martin Pavelek <he29/dot/HS/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 SACONTROLSDIALOG_H
26
#define SACONTROLSDIALOG_H
27
28
#include "
EffectControlDialog.h
"
29
30
namespace
lmms
31
{
32
class
SaControls
;
33
class
SaProcessor
;
34
}
35
36
37
namespace
lmms::gui
38
{
39
40
class
SaSpectrumView
;
41
class
SaWaterfallView
;
42
44
class
SaControlsDialog
:
public
EffectControlDialog
45
{
46
Q_OBJECT
47
public
:
48
explicit
SaControlsDialog
(
SaControls
*controls,
SaProcessor
*processor);
49
~SaControlsDialog
()
override
=
default
;
50
51
QSize
sizeHint
()
const override
;
52
53
private
:
54
SaControls
*
m_controls
;
55
SaProcessor
*
m_processor
;
56
57
// Pointers to created widgets are needed to keep track of their sizeHint() changes.
58
// Config widget is a plain QWidget so it has just a fixed height instead.
59
const
int
m_configHeight
= 75;
60
SaSpectrumView
*
m_spectrum
;
61
SaWaterfallView
*
m_waterfall
;
62
};
63
64
65
}
// namespace lmms::gui
66
67
#endif
// SACONTROLSDIALOG_H
EffectControlDialog.h
lmms::SaControls
Definition
SaControls.h:48
lmms::SaProcessor
Receives audio data, runs FFT analysis and stores the result.
Definition
SaProcessor.h:50
lmms::gui::EffectControlDialog::EffectControlDialog
EffectControlDialog(EffectControls *controls)
Definition
EffectControlDialog.cpp:33
lmms::gui::SaControlsDialog::SaControlsDialog
SaControlsDialog(SaControls *controls, SaProcessor *processor)
Definition
SaControlsDialog.cpp:51
lmms::gui::SaControlsDialog::m_configHeight
const int m_configHeight
Definition
SaControlsDialog.h:59
lmms::gui::SaControlsDialog::m_spectrum
SaSpectrumView * m_spectrum
Definition
SaControlsDialog.h:60
lmms::gui::SaControlsDialog::m_processor
SaProcessor * m_processor
Definition
SaControlsDialog.h:55
lmms::gui::SaControlsDialog::sizeHint
QSize sizeHint() const override
Definition
SaControlsDialog.cpp:342
lmms::gui::SaControlsDialog::m_controls
SaControls * m_controls
Definition
SaControlsDialog.h:54
lmms::gui::SaControlsDialog::m_waterfall
SaWaterfallView * m_waterfall
Definition
SaControlsDialog.h:61
lmms::gui::SaControlsDialog::~SaControlsDialog
~SaControlsDialog() override=default
lmms::gui::SaSpectrumView
Widget that displays a spectrum curve and frequency / amplitude grid.
Definition
SaSpectrumView.h:51
lmms::gui::SaWaterfallView
Definition
SaWaterfallView.h:47
lmms::gui
Definition
AudioPortAudio.cpp:209
lmms
Definition
RemotePluginBase.cpp:34
Generated on
for lmms by
1.18.0