lmms
Cross-platform music production software
Toggle main menu visibility
Loading...
Searching...
No Matches
plugins
LadspaBrowser
LadspaBrowser.h
Go to the documentation of this file.
1
/*
2
* LadspaBrowser.h - dialog to display information about installed LADSPA
3
* plugins
4
*
5
* Copyright (c) 2006-2008 Danny McRae <khjklujn/at/users.sourceforge.net>
6
* Copyright (c) 2009 Tobias Doerffel <tobydox/at/users.sourceforge.net>
7
*
8
* This file is part of LMMS - https://lmms.io
9
*
10
* This program is free software; you can redistribute it and/or
11
* modify it under the terms of the GNU General Public
12
* License as published by the Free Software Foundation; either
13
* version 2 of the License, or (at your option) any later version.
14
*
15
* This program is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18
* General Public License for more details.
19
*
20
* You should have received a copy of the GNU General Public
21
* License along with this program (see COPYING); if not, write to the
22
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
23
* Boston, MA 02110-1301 USA.
24
*
25
*/
26
27
#ifndef _LADSPA_BROWSER_H
28
#define _LADSPA_BROWSER_H
29
30
#include "
LadspaManager.h
"
31
#include "
ToolPlugin.h
"
32
#include "
ToolPluginView.h
"
33
34
namespace
lmms
35
{
36
37
38
namespace
gui
39
{
40
41
42
class
TabBar
;
43
44
class
LadspaBrowserView
:
public
ToolPluginView
45
{
46
Q_OBJECT
47
public
:
48
LadspaBrowserView
(
ToolPlugin
* _tool );
49
~LadspaBrowserView
()
override
=
default
;
50
51
52
public
slots:
53
void
showPorts
( const ::lmms::ladspa_key_t & _key );
54
55
56
private
:
57
TabBar
*
m_tabBar
;
58
59
QWidget *
createTab
( QWidget * _parent,
const
QString & _txt,
60
LadspaPluginType
_type );
61
62
};
63
64
65
}
// namespace gui
66
67
68
class
LadspaBrowser
:
public
ToolPlugin
69
{
70
public
:
71
LadspaBrowser
();
72
~LadspaBrowser
()
override
=
default
;
73
74
gui::PluginView
*
instantiateView
( QWidget * )
override
75
{
76
return
new
gui::LadspaBrowserView
(
this
);
77
}
78
79
QString
nodeName
()
const override
;
80
81
void
saveSettings
( QDomDocument& doc, QDomElement& element )
override
82
{
83
Q_UNUSED(doc)
84
Q_UNUSED(element)
85
}
86
87
void
loadSettings
(
const
QDomElement& element )
override
88
{
89
Q_UNUSED(element)
90
}
91
92
93
} ;
94
95
96
}
// namespace lmms
97
98
#endif
LadspaManager.h
ToolPlugin.h
ToolPluginView.h
lmms::LadspaBrowser::instantiateView
gui::PluginView * instantiateView(QWidget *) override
Create a view for the model.
Definition
LadspaBrowser.h:74
lmms::LadspaBrowser::loadSettings
void loadSettings(const QDomElement &element) override
Definition
LadspaBrowser.h:87
lmms::LadspaBrowser::LadspaBrowser
LadspaBrowser()
Definition
LadspaBrowser.cpp:76
lmms::LadspaBrowser::saveSettings
void saveSettings(QDomDocument &doc, QDomElement &element) override
Definition
LadspaBrowser.h:81
lmms::LadspaBrowser::~LadspaBrowser
~LadspaBrowser() override=default
lmms::LadspaBrowser::nodeName
QString nodeName() const override
Definition
LadspaBrowser.cpp:84
lmms::ToolPlugin
Definition
ToolPlugin.h:38
lmms::ToolPlugin::ToolPlugin
ToolPlugin(const Descriptor *_descriptor, Model *_parent)
Definition
ToolPlugin.cpp:33
lmms::gui::LadspaBrowserView
Definition
LadspaBrowser.h:45
lmms::gui::LadspaBrowserView::~LadspaBrowserView
~LadspaBrowserView() override=default
lmms::gui::LadspaBrowserView::showPorts
void showPorts(const ::lmms::ladspa_key_t &_key)
Definition
LadspaBrowser.cpp:185
lmms::gui::LadspaBrowserView::LadspaBrowserView
LadspaBrowserView(ToolPlugin *_tool)
Definition
LadspaBrowser.cpp:95
lmms::gui::LadspaBrowserView::createTab
QWidget * createTab(QWidget *_parent, const QString &_txt, LadspaPluginType _type)
Definition
LadspaBrowser.cpp:156
lmms::gui::LadspaBrowserView::m_tabBar
TabBar * m_tabBar
Definition
LadspaBrowser.h:57
lmms::gui::PluginView
Definition
PluginView.h:36
lmms::gui::TabBar
Definition
TabBar.h:43
lmms::gui::ToolPluginView::ToolPluginView
ToolPluginView(ToolPlugin *_toolPlugin)
Definition
ToolPluginView.cpp:39
lmms::gui
Definition
AudioPortAudio.cpp:209
lmms
Definition
RemotePluginBase.cpp:34
lmms::LadspaPluginType
LadspaPluginType
Definition
LadspaManager.h:66
Generated on
for lmms by
1.18.0