classiARSTextfield.html

iARSTextfield Class Reference

#include <iARSControls.h>

Inheritance diagram for iARSTextfield:

classiARSTextfield.png iARSControlElement iARSTextdisplay List of all members.

Public Slots

void returnPressed ()
 slot when return is pressed

Public Member Functions

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

Protected Attributes

QLabel * label
 Its label.
QLineEdit * line
 The edit line.
string s_value
 A string value instead of just integers.

Detailed Description

The iARSTextfield provides a editable textfield for entering numbers or any symbols to be sent to Pd.
Note:
: Currently only working for the Linux version due to a keyboard event problem in the windows implementation of Qt/qnp


Constructor & Destructor Documentation

iARSTextfield::iARSTextfield QWidget *  parent,
const char *  name,
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 textfield will be placed in
name The Name of the textfield (this will be the Label)
binding The pd binding

Member Function Documentation

void iARSTextfield::returnPressed  )  [slot]
 

slot when return is pressed

Signal from the Textfield when enter is confirming the value and setting the value in pd

void iARSTextfield::setValue XmlRpc::XmlRpcValue   )  [virtual]
 

Provide setValue Interface as defined in iARSControlElement.

Called when pd changes the value of the textfield

Parameters:
value The value

Implements iARSControlElement.

Reimplemented in iARSTextdisplay.


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