lmms
Cross-platform music production software
Toggle main menu visibility
Loading...
Searching...
No Matches
plugins
LadspaBrowser
LadspaDescription.h
Go to the documentation of this file.
1
/*
2
* LadspaDescription.h - LADSPA plugin description
3
*
4
* Copyright (c) 2007 Javier Serrano Polo <jasp00/at/users.sourceforge.net>
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
26
#ifndef _LADSPA_DESCRIPTION_H
27
#define _LADSPA_DESCRIPTION_H
28
29
30
#include <QWidget>
31
32
#include "
LadspaManager.h
"
33
34
35
class
QListWidgetItem;
36
class
QScrollArea;
37
38
namespace
lmms::gui
39
{
40
41
42
class
LadspaDescription
:
public
QWidget
43
{
44
Q_OBJECT
45
public
:
46
LadspaDescription
( QWidget * _parent,
LadspaPluginType
_type );
47
~LadspaDescription
()
override
=
default
;
48
49
50
signals:
51
void
doubleClicked
( const ::lmms::ladspa_key_t & );
52
53
54
private
:
55
QScrollArea *
m_scrollArea
;
56
57
QList<ladspa_key_t>
m_pluginKeys
;
58
ladspa_key_t
m_currentSelection
;
59
60
void
update
(
const
ladspa_key_t
& _key );
61
62
63
private
slots:
64
void
rowChanged
(
int
_pluginIndex );
65
void
onDoubleClicked
( QListWidgetItem * _item );
66
67
} ;
68
69
70
}
// namespace lmms::gui
71
72
#endif
LadspaManager.h
lmms::gui::LadspaDescription::LadspaDescription
LadspaDescription(QWidget *_parent, LadspaPluginType _type)
Definition
LadspaDescription.cpp:42
lmms::gui::LadspaDescription::doubleClicked
void doubleClicked(const ::lmms::ladspa_key_t &)
lmms::gui::LadspaDescription::update
void update(const ladspa_key_t &_key)
Definition
LadspaDescription.cpp:115
lmms::gui::LadspaDescription::rowChanged
void rowChanged(int _pluginIndex)
Definition
LadspaDescription.cpp:166
lmms::gui::LadspaDescription::m_scrollArea
QScrollArea * m_scrollArea
Definition
LadspaDescription.h:55
lmms::gui::LadspaDescription::onDoubleClicked
void onDoubleClicked(QListWidgetItem *_item)
Definition
LadspaDescription.cpp:175
lmms::gui::LadspaDescription::m_pluginKeys
QList< ladspa_key_t > m_pluginKeys
Definition
LadspaDescription.h:57
lmms::gui::LadspaDescription::m_currentSelection
ladspa_key_t m_currentSelection
Definition
LadspaDescription.h:58
lmms::gui::LadspaDescription::~LadspaDescription
~LadspaDescription() override=default
lmms::gui
Definition
AudioPortAudio.cpp:209
lmms::ladspa_key_t
QPair< QString, QString > ladspa_key_t
Definition
LadspaManager.h:47
lmms::LadspaPluginType
LadspaPluginType
Definition
LadspaManager.h:66
Generated on
for lmms by
1.18.0