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

QwavViewLayer Class Reference

Abstract baseclass of all view layers. More...

#include <qwavviewlayer.h>

Inheritance diagram for QwavViewLayer:

Inheritance graph
[legend]
List of all members.

Public Methods

 QwavViewLayer ()
virtual ~QwavViewLayer ()
virtual void paintLayer (QwavWaveView *v, const QRect &rect)=0
virtual const string getName () const=0
void setActive (bool)
bool isActive () const

Detailed Description

Abstract baseclass of all view layers.

Author:
Peter Eschler

The QwavViewLayer is the base class of all layers used in a SoneView.

A layer can be de/activated using setActive().


Member Function Documentation

virtual const string QwavViewLayer::getName   const [pure virtual]
 

Returns the name of this layer.

Implemented in QwavAverageLayer, QwavBackgroundLayer, QwavDebugLayer, QwavLinePeakDataLayer, QwavMarkerLayer, QwavPosLayer, QwavSelectionLayer, QwavPeakDataLayer, and QwavZeroLineLayer.

bool QwavViewLayer::isActive   const [inline]
 

Returns true if this layer is active, else false.

Returns:
true if this layer is active, else false
See also:
setActive

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

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

Parameters:
v  the painter to paint to

Implemented in QwavAverageLayer, QwavBackgroundLayer, QwavDebugLayer, QwavLinePeakDataLayer, QwavMarkerLayer, QwavPosLayer, QwavSelectionLayer, QwavPeakDataLayer, and QwavZeroLineLayer.

void QwavViewLayer::setActive bool    b [inline]
 

Sets this layer activated if b is true. If b is false the layer is deactivated.

Parameters:
b 
See also:
isActive


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