MuseScore  3.4
Music composition and notation
midipanknob.h
Go to the documentation of this file.
1 //=============================================================================
2 // Awl
3 // Audio Widget Library
4 //
5 // Copyright (C) 2002-2006 by Werner Schweer and others
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 //
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
14 //
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software
17 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 //=============================================================================
19 
20 #ifndef __AWLMIDIPANKNOB_H__
21 #define __AWLMIDIPANKNOB_H__
22 
23 #include "knob.h"
24 
25 namespace Awl {
26 
27 //---------------------------------------------------------
28 // MidiPanKnob
30 //
34 //---------------------------------------------------------
35 
36 class MidiPanKnob : public Knob {
37  Q_OBJECT
38 
39 // virtual void valueChange();
40 
41  public slots:
42 // virtual void setValue(double v) { AbstractSlider::setValue(v - 64.0f); }
43 
44  public:
45  MidiPanKnob(QWidget* parent = 0);
46 // virtual double value() const { return _value + 64.0f; }
47  };
48 }
49 
50 #endif
51 
MidiPan Knob entry widget.
Definition: midipanknob.h:36
Base class of all dialer type input widgets.
Definition: knob.h:38
Definition: aslider.cpp:23
MidiPanKnob(QWidget *parent=0)
Definition: midipanknob.cpp:28