Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Related Pages  

QwavPeakDataLayer Class Reference

View layer that paints the peak data. More...

#include <qwavwavedatalayer.h>

Inheritance diagram for QwavPeakDataLayer:

Inheritance graph
[legend]
Collaboration diagram for QwavPeakDataLayer:

Collaboration graph
[legend]
List of all members.

Public Methods

Constructor & Destructor
 QwavPeakDataLayer ()
 ~QwavPeakDataLayer ()
View layer
virtual void paintLayer (QwavWaveView *v, const QRect &rect)
virtual const string getName (void) const
Layer specific
void setPeakColor (const QColor &c)
const QColor & getPeakColor (void) const

Detailed Description

View layer that paints the peak data.

Author:
Peter Eschler


Constructor & Destructor Documentation

Qwav_BEGIN_NAMESPACE QwavPeakDataLayer::QwavPeakDataLayer  
 

Standard constructor.

Initializes the color used for painting (darkBlue)

QwavPeakDataLayer::~QwavPeakDataLayer  
 

Destructor.


Member Function Documentation

virtual const string QwavPeakDataLayer::getName void    const [inline, virtual]
 

Returns the name of this layer.

Implements QwavViewLayer.

void QwavPeakDataLayer::paintLayer QwavWaveView   v,
const QRect &    rect
[virtual]
 

Paints the layer. Reimplement this in subclasses to draw layer specific content.

Parameters:
v  the painter to paint to

Implements QwavViewLayer.

void QwavPeakDataLayer::setPeakColor const QColor &    c
 

Sets the color used for painting.

Parameters:
c  the color to set


The documentation for this class was generated from the following files:
Generated on Mon Jan 20 00:24:56 2003 for Qwav by doxygen1.2.16