lmms
Cross-platform music production software
Loading...
Searching...
No Matches
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
34class QGridLayout;
35class QScrollArea;
36
37namespace lmms
38{
39
40class LadspaControls;
41
42namespace gui
43{
44
45class LedCheckBox;
46
47
49{
50 Q_OBJECT
51public:
53
54private slots:
56
57private:
60 bool needsLinkColumn() const;
61
65 void arrangeControls(QWidget * parent, QGridLayout* gridLayout);
66
68 QWidget * createMatrixWidget();
69
72
73private:
74 QScrollArea* m_scrollArea;
76};
77
78} // namespace gui
79
80} // namespace lmms
81
82#endif
Definition LadspaControls.h:44
EffectControlDialog(EffectControls *controls)
Definition EffectControlDialog.cpp:33
QScrollArea * m_scrollArea
Definition LadspaMatrixControlDialog.h:74
ch_cnt_t getChannelCount() const
Definition LadspaMatrixControlDialog.cpp:213
QWidget * createMatrixWidget()
Creates a widget that holds the widgets of the current controls in a matrix arrangement.
Definition LadspaMatrixControlDialog.cpp:173
void arrangeControls(QWidget *parent, QGridLayout *gridLayout)
Arranges widgets for the current controls in a grid/matrix layout.
Definition LadspaMatrixControlDialog.cpp:97
LadspaMatrixControlDialog(LadspaControls *ctl)
Definition LadspaMatrixControlDialog.cpp:44
void updateEffectView(LadspaControls *ctl)
Definition LadspaMatrixControlDialog.cpp:185
bool needsLinkColumn() const
Checks if a link column is needed for the current effect controls.
Definition LadspaMatrixControlDialog.cpp:76
LedCheckBox * m_stereoLink
Definition LadspaMatrixControlDialog.h:75
LadspaControls * getLadspaControls() const
Definition LadspaMatrixControlDialog.cpp:208
Definition LedCheckBox.h:37
Definition AudioPortAudio.cpp:209
Definition RemotePluginBase.cpp:34
std::uint16_t ch_cnt_t
Definition LmmsTypes.h:44