AudioDial.cpp File Reference
#include "AudioDial.h"
#include "base/RangeMapper.h"
#include <cmath>
#include <iostream>
#include <QTimer>
#include <QPainter>
#include <QPixmap>
#include <QColormap>
#include <QMouseEvent>
#include <QPaintEvent>
#include <QInputDialog>
#include <QMenu>
#include "base/Profiler.h"
#include "MenuTitle.h"
Include dependency graph for AudioDial.cpp:

Go to the source code of this file.

Macros

#define AUDIO_DIAL_MIN   (0.25 * M_PI)
 A rotary dial widget. More...
 
#define AUDIO_DIAL_MAX   (1.75 * M_PI)
 
#define AUDIO_DIAL_RANGE   (AUDIO_DIAL_MAX - AUDIO_DIAL_MIN)
 

Macro Definition Documentation

#define AUDIO_DIAL_MIN   (0.25 * M_PI)

A rotary dial widget.

Based on an original design by Thorsten Wilms.

Implemented as a widget for the Rosegarden MIDI and audio sequencer and notation editor by Chris Cannam.

Extracted into a standalone Qt3 widget by Pedro Lopez-Cabanillas and adapted for use in QSynth.

Ported to Qt4 by Chris Cannam.

This file copyright 2003-2006 Chris Cannam, copyright 2005 Pedro Lopez-Cabanillas, copyright 2006 Queen Mary, University of London.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. See the file COPYING included with this distribution for more information.!! Pedro updated his version to use my up/down response code from RG – need to grab that code in preference to this version from Rui

Definition at line 69 of file AudioDial.cpp.

Referenced by AudioDial::paintEvent().

#define AUDIO_DIAL_MAX   (1.75 * M_PI)

Definition at line 70 of file AudioDial.cpp.

Referenced by AudioDial::paintEvent().

#define AUDIO_DIAL_RANGE   (AUDIO_DIAL_MAX - AUDIO_DIAL_MIN)

Definition at line 71 of file AudioDial.cpp.

Referenced by AudioDial::paintEvent().