LMMS
Loading...
Searching...
No Matches
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
30namespace lmms
31{
32
33
34class DelayControls;
35class FloatModel;
36
37namespace gui
38{
39
41{
42 Q_OBJECT
43public:
45 ~DelayControlsDialog() override = default;
46};
47
48class XyPad : public QWidget
49{
50 Q_OBJECT
51public:
52 XyPad( QWidget *parent = 0, FloatModel *xModel = 0, FloatModel *yModel = 0 );
53 ~XyPad() override = default;
54
55protected:
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
61private:
65};
66
67
68} // namespace gui
69
70} // namespace lmms
71
72#endif // DELAYCONTROLSDIALOG_H
Definition DelayControls.h:39
Definition AutomatableModel.h:463
~DelayControlsDialog() override=default
DelayControlsDialog(DelayControls *controls)
Definition DelayControlsDialog.cpp:39
EffectControlDialog(EffectControls *controls)
Definition EffectControlDialog.cpp:33
FloatModel * m_yModel
Definition DelayControlsDialog.h:63
void mouseReleaseEvent(QMouseEvent *event) override
Definition DelayControlsDialog.cpp:129
void paintEvent(QPaintEvent *event) override
Definition DelayControlsDialog.cpp:100
bool m_acceptInput
Definition DelayControlsDialog.h:64
void mouseMoveEvent(QMouseEvent *event) override
Definition DelayControlsDialog.cpp:137
FloatModel * m_xModel
Definition DelayControlsDialog.h:62
XyPad(QWidget *parent=0, FloatModel *xModel=0, FloatModel *yModel=0)
Definition DelayControlsDialog.cpp:87
void mousePressEvent(QMouseEvent *event) override
Definition DelayControlsDialog.cpp:121
~XyPad() override=default
static uintptr_t parent
Definition pugl.h:1644
Definition AudioPortAudio.cpp:223
Definition AudioAlsa.cpp:35