LMMS
Loading...
Searching...
No Matches
AudioFileProcessorView.h
Go to the documentation of this file.
1/*
2 * AudioFileProcessorView.h - View of the AFP
3 *
4 * Copyright (c) 2004-2014 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 LMMS_AUDIO_FILE_PROCESSOR_VIEW_H
26#define LMMS_AUDIO_FILE_PROCESSOR_VIEW_H
27
28#include "InstrumentView.h"
29
30
31namespace lmms
32{
33
34namespace gui
35{
36
38class Knob;
39class PixmapButton;
40class ComboBox;
42
43
45{
46 Q_OBJECT
47public:
48 AudioFileProcessorView(Instrument* instrument, QWidget* parent);
49 virtual ~AudioFileProcessorView() = default;
50
51 void newWaveView();
52
53protected slots:
54 void sampleUpdated();
55 void openAudioFile();
56
57protected:
58 virtual void dragEnterEvent(QDragEnterEvent* dee);
59 virtual void dropEvent(QDropEvent* de);
60 virtual void paintEvent(QPaintEvent*);
61
62 // Private methods
63private:
64 virtual void modelChanged();
65
66 // Private members
67private:
73
79} ;
80
81} // namespace gui
82
83} // namespace lmms
84
85#endif // LMMS_AUDIO_FILE_PROCESSOR_VIEW_H
Definition Instrument.h:52
AudioFileProcessorWaveView * m_waveView
Definition AudioFileProcessorView.h:68
Knob * m_loopKnob
Definition AudioFileProcessorView.h:72
ComboBox * m_interpBox
Definition AudioFileProcessorView.h:78
gui::PixmapButton * m_openAudioFileButton
Definition AudioFileProcessorView.h:74
virtual ~AudioFileProcessorView()=default
virtual void dragEnterEvent(QDragEnterEvent *dee)
Definition AudioFileProcessorView.cpp:150
virtual void modelChanged()
Definition AudioFileProcessorView.cpp:268
Knob * m_startKnob
Definition AudioFileProcessorView.h:70
PixmapButton * m_reverseButton
Definition AudioFileProcessorView.h:75
void newWaveView()
Definition AudioFileProcessorView.cpp:179
virtual void dropEvent(QDropEvent *de)
Definition AudioFileProcessorView.cpp:195
void sampleUpdated()
Definition AudioFileProcessorView.cpp:251
PixmapButton * m_stutterButton
Definition AudioFileProcessorView.h:77
AudioFileProcessorView(Instrument *instrument, QWidget *parent)
Definition AudioFileProcessorView.cpp:49
AutomatableButtonGroup * m_loopGroup
Definition AudioFileProcessorView.h:76
Knob * m_ampKnob
Definition AudioFileProcessorView.h:69
virtual void paintEvent(QPaintEvent *)
Definition AudioFileProcessorView.cpp:217
void openAudioFile()
Definition AudioFileProcessorView.cpp:258
Knob * m_endKnob
Definition AudioFileProcessorView.h:71
Definition AudioFileProcessorWaveView.h:42
Definition AutomatableButton.h:84
Definition ComboBox.h:38
Instrument view with fixed LMMS-default size.
Definition InstrumentView.h:66
Definition Knob.h:47
Definition PixmapButton.h:37
static uintptr_t parent
Definition pugl.h:1644
Definition AudioPortAudio.cpp:223
Definition AudioAlsa.cpp:35