#include <qwavviewlayer.h>
Inheritance diagram for QwavViewLayer:
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 |
The QwavViewLayer is the base class of all layers used in a SoneView.
A layer can be de/activated using setActive().
|
Returns the name of this layer. Implemented in QwavAverageLayer, QwavBackgroundLayer, QwavDebugLayer, QwavLinePeakDataLayer, QwavMarkerLayer, QwavPosLayer, QwavSelectionLayer, QwavPeakDataLayer, and QwavZeroLineLayer. |
|
Returns true if this layer is active, else false.
|
|
Paints the layer. Reimplement this in subclasses to draw layer specific content.
Implemented in QwavAverageLayer, QwavBackgroundLayer, QwavDebugLayer, QwavLinePeakDataLayer, QwavMarkerLayer, QwavPosLayer, QwavSelectionLayer, QwavPeakDataLayer, and QwavZeroLineLayer. |
|
Sets this layer activated if b is true. If b is false the layer is deactivated.
|