LMMS
Loading...
Searching...
No Matches
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
35class QListWidgetItem;
36class QScrollArea;
37
38namespace lmms::gui
39{
40
41
42class LadspaDescription : public QWidget
43{
44 Q_OBJECT
45public:
46 LadspaDescription( QWidget * _parent, LadspaPluginType _type );
47 ~LadspaDescription() override = default;
48
49
50signals:
51 void doubleClicked( const ::lmms::ladspa_key_t & );
52
53
54private:
55 QScrollArea * m_scrollArea;
56
57 QList<ladspa_key_t> m_pluginKeys;
59
60 void update( const ladspa_key_t & _key );
61
62
63private slots:
64 void rowChanged( int _pluginIndex );
65 void onDoubleClicked( QListWidgetItem * _item );
66
67} ;
68
69
70} // namespace lmms::gui
71
72#endif
LadspaDescription(QWidget *_parent, LadspaPluginType _type)
Definition LadspaDescription.cpp:42
void doubleClicked(const ::lmms::ladspa_key_t &)
void update(const ladspa_key_t &_key)
Definition LadspaDescription.cpp:115
void rowChanged(int _pluginIndex)
Definition LadspaDescription.cpp:166
QScrollArea * m_scrollArea
Definition LadspaDescription.h:55
void onDoubleClicked(QListWidgetItem *_item)
Definition LadspaDescription.cpp:175
QList< ladspa_key_t > m_pluginKeys
Definition LadspaDescription.h:57
ladspa_key_t m_currentSelection
Definition LadspaDescription.h:58
~LadspaDescription() override=default
Definition AudioPortAudio.cpp:223
QPair< QString, QString > ladspa_key_t
Definition LadspaManager.h:47
LadspaPluginType
Definition LadspaManager.h:66