void TimeMarker::paint_fore(QPainter &p, ViewItemPaintParams &pp) { if (!enabled()) return; const float x = get_x(); p.setPen(color_.darker()); p.drawLine(QPointF(x, pp.top()), QPointF(x, pp.bottom())); }
void TriggerMarker::paint_fore(QPainter &p, ViewItemPaintParams &pp) { if (!enabled()) return; QPen pen(Color); pen.setStyle(Qt::DashLine); const float x = get_x(); p.setPen(pen); p.drawLine(QPointF(x, pp.top()), QPointF(x, pp.bottom())); }