- * @param left the x-coordinate of the left edge of the signal.
- * @param right the x-coordinate of the right edge of the signal.
- **/
- void paint_mid(QPainter &p, int left, int right);
+ * @param pp the painting parameters object to paint with..
+ */
+ void paint_mid(QPainter &p, ViewItemPaintParams &pp);
+
+ /**
+ * Paints the foreground layer of the signal with a QPainter
+ * @param p the QPainter to paint into.
+ * @param pp the painting parameters object to paint with.
+ */
+ virtual void paint_fore(QPainter &p, ViewItemPaintParams &pp);