lmms
Cross-platform music production software
Toggle main menu visibility
Loading...
Searching...
No Matches
plugins
LadspaEffect
LadspaMatrixControlDialog.h
Go to the documentation of this file.
1
/*
2
* LadspaMatrixControlDialog.h - Dialog for displaying and editing control port
3
* values for LADSPA plugins in a matrix display
4
*
5
* Copyright (c) 2015 Michael Gregorius <michaelgregorius/at/web[dot]de>
6
*
7
* This file is part of LMMS - http://lmms.io
8
*
9
* This program is free software; you can redistribute it and/or
10
* modify it under the terms of the GNU General Public
11
* License as published by the Free Software Foundation; either
12
* version 2 of the License, or (at your option) any later version.
13
*
14
* This program is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
* General Public License for more details.
18
*
19
* You should have received a copy of the GNU General Public
20
* License along with this program (see COPYING); if not, write to the
21
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
22
* Boston, MA 02110-1301 USA.
23
*
24
*/
25
26
#ifndef LADSPA_MATRIX_CONTROL_DIALOG_H
27
#define LADSPA_MATRIX_CONTROL_DIALOG_H
28
29
#include "
EffectControlDialog.h
"
30
31
#include "
LmmsTypes.h
"
32
33
34
class
QGridLayout;
35
class
QScrollArea;
36
37
namespace
lmms
38
{
39
40
class
LadspaControls
;
41
42
namespace
gui
43
{
44
45
class
LedCheckBox
;
46
47
48
class
LadspaMatrixControlDialog
:
public
EffectControlDialog
49
{
50
Q_OBJECT
51
public
:
52
LadspaMatrixControlDialog
(
LadspaControls
* ctl);
53
54
private
slots:
55
void
updateEffectView
(
LadspaControls
* ctl);
56
57
private
:
60
bool
needsLinkColumn
()
const
;
61
65
void
arrangeControls
(QWidget * parent, QGridLayout* gridLayout);
66
68
QWidget *
createMatrixWidget
();
69
70
LadspaControls
*
getLadspaControls
()
const
;
71
ch_cnt_t
getChannelCount
()
const
;
72
73
private
:
74
QScrollArea*
m_scrollArea
;
75
LedCheckBox
*
m_stereoLink
;
76
};
77
78
}
// namespace gui
79
80
}
// namespace lmms
81
82
#endif
EffectControlDialog.h
LmmsTypes.h
lmms::LadspaControls
Definition
LadspaControls.h:44
lmms::gui::EffectControlDialog::EffectControlDialog
EffectControlDialog(EffectControls *controls)
Definition
EffectControlDialog.cpp:33
lmms::gui::LadspaMatrixControlDialog::m_scrollArea
QScrollArea * m_scrollArea
Definition
LadspaMatrixControlDialog.h:74
lmms::gui::LadspaMatrixControlDialog::getChannelCount
ch_cnt_t getChannelCount() const
Definition
LadspaMatrixControlDialog.cpp:213
lmms::gui::LadspaMatrixControlDialog::createMatrixWidget
QWidget * createMatrixWidget()
Creates a widget that holds the widgets of the current controls in a matrix arrangement.
Definition
LadspaMatrixControlDialog.cpp:173
lmms::gui::LadspaMatrixControlDialog::arrangeControls
void arrangeControls(QWidget *parent, QGridLayout *gridLayout)
Arranges widgets for the current controls in a grid/matrix layout.
Definition
LadspaMatrixControlDialog.cpp:97
lmms::gui::LadspaMatrixControlDialog::LadspaMatrixControlDialog
LadspaMatrixControlDialog(LadspaControls *ctl)
Definition
LadspaMatrixControlDialog.cpp:44
lmms::gui::LadspaMatrixControlDialog::updateEffectView
void updateEffectView(LadspaControls *ctl)
Definition
LadspaMatrixControlDialog.cpp:185
lmms::gui::LadspaMatrixControlDialog::needsLinkColumn
bool needsLinkColumn() const
Checks if a link column is needed for the current effect controls.
Definition
LadspaMatrixControlDialog.cpp:76
lmms::gui::LadspaMatrixControlDialog::m_stereoLink
LedCheckBox * m_stereoLink
Definition
LadspaMatrixControlDialog.h:75
lmms::gui::LadspaMatrixControlDialog::getLadspaControls
LadspaControls * getLadspaControls() const
Definition
LadspaMatrixControlDialog.cpp:208
lmms::gui::LedCheckBox
Definition
LedCheckBox.h:37
lmms::gui
Definition
AudioPortAudio.cpp:209
lmms
Definition
RemotePluginBase.cpp:34
lmms::ch_cnt_t
std::uint16_t ch_cnt_t
Definition
LmmsTypes.h:44
Generated on
for lmms by
1.18.0