- /**
- * Set the colour of the signal.
- */
- void set_colour(QColor colour);
-
- /**
- * Paints the signal with a QPainter
- * @param p the QPainter to paint into.
- * @param rect the rectangular area to draw the trace into.
- * @param scale the scale in seconds per pixel.
- * @param offset the time to show at the left hand edge of
- * the view in seconds.
- **/
- virtual void paint(QPainter &p, const QRect &rect, double scale,
- double offset) = 0;
-
-
- /**
- * Paints the signal label into a QGLWidget.
- * @param p the QPainter to paint into.
- * @param rect the rectangular area to draw the label into.
- * @param hover true if the label is being hovered over by the mouse.
- */
- virtual void paint_label(QPainter &p, const QRect &rect,
- bool hover);