lmms
Cross-platform music production software
Toggle main menu visibility
Loading...
Searching...
No Matches
plugins
Delay
DelayControlsDialog.h
Go to the documentation of this file.
1
/*
2
* delaycontrolsdialog.h - declaration of DelayControlsDialog class.
3
*
4
* Copyright (c) 2014 David French <dave/dot/french3/at/googlemail/dot/com>
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 DELAYCONTROLSDIALOG_H
26
#define DELAYCONTROLSDIALOG_H
27
28
#include "
EffectControlDialog.h
"
29
30
namespace
lmms
31
{
32
33
34
class
DelayControls
;
35
class
FloatModel
;
36
37
namespace
gui
38
{
39
40
class
DelayControlsDialog
:
public
EffectControlDialog
41
{
42
Q_OBJECT
43
public
:
44
DelayControlsDialog
(
DelayControls
* controls );
45
~DelayControlsDialog
()
override
=
default
;
46
};
47
48
class
XyPad
:
public
QWidget
49
{
50
Q_OBJECT
51
public
:
52
XyPad
( QWidget *parent = 0,
FloatModel
*xModel = 0,
FloatModel
*yModel = 0 );
53
~XyPad
()
override
=
default
;
54
55
protected
:
56
void
paintEvent
( QPaintEvent * event )
override
;
57
void
mousePressEvent
(QMouseEvent * event )
override
;
58
void
mouseReleaseEvent
(QMouseEvent * event)
override
;
59
void
mouseMoveEvent
(QMouseEvent * event)
override
;
60
61
private
:
62
FloatModel
*
m_xModel
;
63
FloatModel
*
m_yModel
;
64
bool
m_acceptInput
;
65
};
66
67
68
}
// namespace gui
69
70
}
// namespace lmms
71
72
#endif
// DELAYCONTROLSDIALOG_H
EffectControlDialog.h
lmms::DelayControls
Definition
DelayControls.h:39
lmms::FloatModel
Definition
AutomatableModel.h:468
lmms::gui::DelayControlsDialog::~DelayControlsDialog
~DelayControlsDialog() override=default
lmms::gui::DelayControlsDialog::DelayControlsDialog
DelayControlsDialog(DelayControls *controls)
Definition
DelayControlsDialog.cpp:39
lmms::gui::EffectControlDialog::EffectControlDialog
EffectControlDialog(EffectControls *controls)
Definition
EffectControlDialog.cpp:33
lmms::gui::XyPad::m_yModel
FloatModel * m_yModel
Definition
DelayControlsDialog.h:63
lmms::gui::XyPad::mouseReleaseEvent
void mouseReleaseEvent(QMouseEvent *event) override
Definition
DelayControlsDialog.cpp:126
lmms::gui::XyPad::paintEvent
void paintEvent(QPaintEvent *event) override
Definition
DelayControlsDialog.cpp:97
lmms::gui::XyPad::m_acceptInput
bool m_acceptInput
Definition
DelayControlsDialog.h:64
lmms::gui::XyPad::mouseMoveEvent
void mouseMoveEvent(QMouseEvent *event) override
Definition
DelayControlsDialog.cpp:134
lmms::gui::XyPad::m_xModel
FloatModel * m_xModel
Definition
DelayControlsDialog.h:62
lmms::gui::XyPad::XyPad
XyPad(QWidget *parent=0, FloatModel *xModel=0, FloatModel *yModel=0)
Definition
DelayControlsDialog.cpp:84
lmms::gui::XyPad::mousePressEvent
void mousePressEvent(QMouseEvent *event) override
Definition
DelayControlsDialog.cpp:118
lmms::gui::XyPad::~XyPad
~XyPad() override=default
lmms::gui
Definition
AudioPortAudio.cpp:209
lmms
Definition
RemotePluginBase.cpp:34
Generated on
for lmms by
1.18.0