classiARSKnob.html

iARSKnob Class Reference

#include <iARSControls.h>

Inheritance diagram for iARSKnob:

classiARSKnob.png iARSControlElement List of all members.

Public Slots

void valueChanged (int)
 slot for the slider

Public Member Functions

 iARSKnob ()
 Default constructor.
 iARSKnob (QWidget *parent, const char *name)
 Default constructor for Knob.
 iARSKnob (QWidget *, const char *, int, int, QString)
 Contructor.
void setValue (XmlRpc::XmlRpcValue)
 Provide setValue Interface as defined in iARSControlElement.

Protected Attributes

int min
 The minimum value.
int max
 the maximum value
QLabel * label
 Its label.
QLabel * vlabel
 The value label.
QDial * dial
 The dial.
QLCDNumber * lcd
 The LCD number.

Detailed Description

The iARSKnob implements a little dial without ticks but the current value displayed below the knob.


Constructor & Destructor Documentation

iARSKnob::iARSKnob QWidget *  parent,
const char *  name,
int  min,
int  max,
QString  binding
 

Contructor.

The overwritten constructor The constructor is the only thing which needs to be changed for the knob

Parameters:
parent The parent widget the slid will be placed in
name The Name of the Slider (this will be the Label)
min Minumum value
max Maximum value
binding The pd binding

Member Function Documentation

void iARSKnob::setValue XmlRpc::XmlRpcValue  value  )  [virtual]
 

Provide setValue Interface as defined in iARSControlElement.

Called when pd changes the value of the dial.

Parameters:
value The value the dial should be set to (min,max considering)

Implements iARSControlElement.

void iARSKnob::valueChanged int  value  )  [slot]
 

slot for the slider

Signal from Knob for changed values Emit the signal for the Plugin Widget to control the Pd via Pdcomm


The documentation for this class was generated from the following files:
Generated on Thu Nov 25 15:57:06 2004 for iARS(internetAudioRenderingSystem) by  doxygen 1.3.9.1