LMMS
Loading...
Searching...
No Matches
EnvelopeAndLfoView.h
Go to the documentation of this file.
1/*
2 * EnvelopeAndLfoView.h - declaration of class EnvelopeAndLfoView which
3 * is used by envelope/lfo/filter-tab of instrument track
4 *
5 * Copyright (c) 2004-2009 Tobias Doerffel <tobydox/at/users.sourceforge.net>
6 *
7 * This file is part of LMMS - https://lmms.io
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public
11 * License as published by the Free Software Foundation; either
12 * version 2 of the License, or (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public
20 * License along with this program (see COPYING); if not, write to the
21 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
22 * Boston, MA 02110-1301 USA.
23 *
24 */
25
26#ifndef LMMS_GUI_ENVELOPE_AND_LFO_VIEW_H
27#define LMMS_GUI_ENVELOPE_AND_LFO_VIEW_H
28
29#include <QWidget>
30
31#include "ModelView.h"
32
33namespace lmms
34{
35
37
38namespace gui
39{
40
42class Knob;
43class LedCheckBox;
44class PixmapButton;
45class TempoSyncKnob;
46class EnvelopeGraph;
47class LfoGraph;
48
49
50
51class EnvelopeAndLfoView : public QWidget, public ModelView
52{
53 Q_OBJECT
54public:
55 EnvelopeAndLfoView( QWidget * _parent );
56 ~EnvelopeAndLfoView() override;
57
58
59protected:
60 void modelChanged() override;
61
62 void dragEnterEvent( QDragEnterEvent * _dee ) override;
63 void dropEvent( QDropEvent * _de ) override;
64
65
66protected slots:
67 void lfoUserWaveChanged();
68
69
70private:
72
73 // envelope stuff
82
83 // LFO stuff
91
94} ;
95
96} // namespace gui
97
98} // namespace lmms
99
100#endif // LMMS_GUI_ENVELOPE_AND_LFO_VIEW_H
Definition EnvelopeAndLfoParameters.h:47
Definition AutomatableButton.h:84
Knob * m_lfoPredelayKnob
Definition EnvelopeAndLfoView.h:85
EnvelopeGraph * m_envelopeGraph
Definition EnvelopeAndLfoView.h:74
Knob * m_predelayKnob
Definition EnvelopeAndLfoView.h:75
LedCheckBox * m_x100Cb
Definition EnvelopeAndLfoView.h:92
AutomatableButtonGroup * m_lfoWaveBtnGrp
Definition EnvelopeAndLfoView.h:90
EnvelopeAndLfoView(QWidget *_parent)
Definition EnvelopeAndLfoView.cpp:51
Knob * m_decayKnob
Definition EnvelopeAndLfoView.h:78
LfoGraph * m_lfoGraph
Definition EnvelopeAndLfoView.h:84
LedCheckBox * m_controlEnvAmountCb
Definition EnvelopeAndLfoView.h:93
~EnvelopeAndLfoView() override
Definition EnvelopeAndLfoView.cpp:195
Knob * m_releaseKnob
Definition EnvelopeAndLfoView.h:80
Knob * m_lfoAmountKnob
Definition EnvelopeAndLfoView.h:88
Knob * m_sustainKnob
Definition EnvelopeAndLfoView.h:79
Knob * m_lfoAttackKnob
Definition EnvelopeAndLfoView.h:86
EnvelopeAndLfoParameters * m_params
Definition EnvelopeAndLfoView.h:71
void dropEvent(QDropEvent *_de) override
Definition EnvelopeAndLfoView.cpp:238
PixmapButton * m_userLfoBtn
Definition EnvelopeAndLfoView.h:89
Knob * m_amountKnob
Definition EnvelopeAndLfoView.h:81
void dragEnterEvent(QDragEnterEvent *_dee) override
Definition EnvelopeAndLfoView.cpp:228
void modelChanged() override
Definition EnvelopeAndLfoView.cpp:203
Knob * m_attackKnob
Definition EnvelopeAndLfoView.h:76
void lfoUserWaveChanged()
Definition EnvelopeAndLfoView.cpp:267
Knob * m_holdKnob
Definition EnvelopeAndLfoView.h:77
TempoSyncKnob * m_lfoSpeedKnob
Definition EnvelopeAndLfoView.h:87
Definition EnvelopeGraph.h:43
Definition Knob.h:47
Definition LedCheckBox.h:37
Definition LfoGraph.h:43
ModelView(Model *model, QWidget *widget)
Definition ModelView.cpp:33
Definition PixmapButton.h:37
Definition TempoSyncKnob.h:41
Definition AudioPortAudio.cpp:223
Definition AudioAlsa.cpp:35