MuseScore  3.4
Music composition and notation
effectgui.h
Go to the documentation of this file.
1 //=============================================================================
2 // MuseSynth
3 // Music Software Synthesizer
4 //
5 // Copyright (C) 2013 Werner Schweer
6 //
7 // This program is free software; you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License version 2
9 // as published by the Free Software Foundation and appearing in
10 // the file LICENCE.GPL
11 //=============================================================================
12 
13 #ifndef __EFFECTGUI_H__
14 #define __EFFECTGUI_H__
15 
16 namespace Ms {
17 
18 class Effect;
19 
20 //---------------------------------------------------------
21 // EffectGui
22 //---------------------------------------------------------
23 
24 class EffectGui : public QWidget {
25  Q_OBJECT
27 
28  signals:
29  void valueChanged();
30 
31  public slots:
32  void valueChanged(const QString& name, qreal);
33  void valueChanged(qreal, int);
34 
35  public:
36  EffectGui(Effect*, QWidget* parent = 0);
37  Effect* effect() const { return _effect; }
38  virtual void updateValues() = 0;
39  };
40 
41 }
42 #endif
43 
Definition: effect.h:41
void valueChanged()
virtual void updateValues()=0
Definition: effectgui.h:24
EffectGui(Effect *, QWidget *parent=0)
Definition: effectgui.cpp:22
Effect * effect() const
Definition: effectgui.h:37
Definition: aeolus.cpp:26
Effect * _effect
Definition: effectgui.h:26