Main Page   Class Hierarchy   Compound List   File List   Compound Members  

WaveForm Class Reference

#include <GUIAudio.h>

List of all members.

Public Member Functions

 WaveForm (VowelSample *sample, QWidget *parent=0, const char *name=0)
 ~WaveForm (void)
QSizePolicy sizePolicy () const
QSize minimumSiteHint () const

Protected Member Functions

void paintEvent (QPaintEvent *)

Private Attributes

QPainter * painter


Detailed Description

Wrapper class from audio raw data to a GUI visualization

The audio data handling is encapsulated using this class, providing a widget for the GUI to use. Hence, the GUI is relieved from the effort to understand the audio class.


Constructor & Destructor Documentation

WaveForm::WaveForm VowelSample   sample,
QWidget *    parent = 0,
const char *    name = 0
 

Constructor which draws the waveform diagramm for a given sample.

Parameters:
sample The VowelSample the diagramm is created from.
parent The standard QT parent widget.
name The widgets' name.

WaveForm::~WaveForm void   
 

Default destructor.


Member Function Documentation

QSize WaveForm::minimumSiteHint   const
 

Specify the minimum size necessary to display the waveform.

void WaveForm::paintEvent QPaintEvent *    [protected]
 

QT paintEvent method, used to redraw the modified screen content.

QSizePolicy WaveForm::sizePolicy   const
 

The size policy for this widget, denying resizing.


Member Data Documentation

QPainter* WaveForm::painter [private]
 

The QT painter needed to (re-) draw the canvas. Initialized once upon object construction and used from there.


The documentation for this class was generated from the following file:
Generated on Mon Feb 24 19:37:47 2003 by doxygen1.3-rc3