LMMS
Loading...
Searching...
No Matches
VstEffectControlDialog.h
Go to the documentation of this file.
1/*
2 * VstEffectControlDialog.h - dialog for displaying GUI of VST-effect-plugin
3 *
4 * Copyright (c) 2006-2010 Tobias Doerffel <tobydox/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#ifndef _VST_EFFECT_CONTROL_DIALOG_H
26#define _VST_EFFECT_CONTROL_DIALOG_H
27
28#include "EffectControlDialog.h"
29
30#include <QSharedPointer>
31
32class QPushButton;
33class QLabel;
34
35namespace lmms
36{
37
39class VstPlugin;
40
41namespace gui
42{
43
44class PixmapButton;
45
46
48{
49 Q_OBJECT
50public:
52 ~VstEffectControlDialog() override;
53
54protected:
55 void paintEvent( QPaintEvent * _pe ) override;
56 void showEvent( QShowEvent* _se ) override;
57
58private:
59 QWidget * m_pluginWidget;
60
61 QPushButton * m_togglePluginButton;
63 QPushButton* m_rolLPresetButton;
64 QPushButton* m_rolRPresetButton;
67
68 QSharedPointer<VstPlugin> m_plugin;
69
70 QLabel * tbLabel;
71
72public slots:
73 void togglePluginUI( bool checked );
74} ;
75
76
77} // namespace gui
78
79} // namespace lmms
80
81#endif
Definition VstEffectControls.h:54
Definition VstPlugin.h:44
EffectControlDialog(EffectControls *controls)
Definition EffectControlDialog.cpp:33
Definition PixmapButton.h:37
PixmapButton * m_savePresetButton
Definition VstEffectControlDialog.h:66
QPushButton * m_rolRPresetButton
Definition VstEffectControlDialog.h:64
QPushButton * m_rolLPresetButton
Definition VstEffectControlDialog.h:63
void paintEvent(QPaintEvent *_pe) override
Definition VstEffectControlDialog.cpp:231
void togglePluginUI(bool checked)
Definition VstEffectControlDialog.cpp:266
QLabel * tbLabel
Definition VstEffectControlDialog.h:70
QPushButton * m_togglePluginButton
Definition VstEffectControlDialog.h:61
~VstEffectControlDialog() override
Definition VstEffectControlDialog.cpp:255
QWidget * m_pluginWidget
Definition VstEffectControlDialog.h:59
PixmapButton * m_openPresetButton
Definition VstEffectControlDialog.h:62
VstEffectControlDialog(VstEffectControls *_controls)
Definition VstEffectControlDialog.cpp:44
QSharedPointer< VstPlugin > m_plugin
Definition VstEffectControlDialog.h:68
void showEvent(QShowEvent *_se) override
Definition VstEffectControlDialog.cpp:241
PixmapButton * m_managePluginButton
Definition VstEffectControlDialog.h:65
Definition AudioPortAudio.cpp:223
Definition AudioAlsa.cpp:35