classiARSHSlider.html

iARSHSlider Class Reference

#include <iARSControls.h>

Inheritance diagram for iARSHSlider:

classiARSHSlider.png iARSControlElement iARSVSlider List of all members.

Public Slots

void valueChanged (int)
 slot for the slider

Public Member Functions

 iARSHSlider ()
 Default constructor.
 iARSHSlider (QWidget *parent, const char *name)
 Default constructor for VSlider.
 iARSHSlider (QWidget *, const char *, int, int, QString)
 Contructor.
void setValue (XmlRpc::XmlRpcValue)
 Provide setValue Interface as defined in iARSControlElement.
void paintEvent (QPaintEvent *theEvent)
 The overrided paintEvent method.

Protected Attributes

int min
 The minimum value.
int max
 the maximum value
QString name
 The name.
QLabel * valuelabel
 The label used to show the current value.
QSlider * slider
 The slider.

Detailed Description

The iARSHSlider provides a simple horizontal slider with min, max and the current value displayed.


Constructor & Destructor Documentation

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

Contructor.

The constructor

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 iARSHSlider::paintEvent QPaintEvent *  theEvent  ) 
 

The overrided paintEvent method.

The paintEvent method (overwritten) Called when any repainting of the widget is necessary

Parameters:
event The Paintevent

Reimplemented in iARSVSlider.

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

Provide setValue Interface as defined in iARSControlElement.

Called when pd changes the value of the slider.

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

Implements iARSControlElement.

void iARSHSlider::valueChanged int  value  )  [slot]
 

slot for the slider

Signal from Slider 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