#include <qwavmarker.h>
Public Methods | |
QwavMarker (unsigned long position=0, const QColor &color=Qt::blue, uint width=9) | |
QwavMarker (const QwavMarker &marker) | |
QwavMarker & | operator= (const QwavMarker &m) |
bool | operator== (const QwavMarker &) |
const unsigned long & | position () const |
void | setPosition (unsigned long sample) |
int | id () const |
const QPixmap & | pixmap () const |
Protected Methods | |
QPixmap | makeMarker (int width, const QColor &color) |
|
Constructor. Constructs a marker at position with color. The width parameter is used internally for specifiying the size of the marker.
|
|
Copy constructor. |
|
Returns the unique id of this marker. This id is only valid for a session.
|
|
Assigmnent operator. Copies the position and the id of a marker \m. |
|
Operator==. Compares \m to this marker. Two markers are equal, if only the ids are equal. |
|
Returns the pixmap associated with this marker.
|
|
Returns the position of the marker.
|
|
Sets the position of this marker to \sample.
|