return roundf(((time_ - view_.offset()) / view_.scale()).convert_to<float>()) + 0.5f;
}
-const pv::util::Timestamp TimeMarker::delta(const pv::util::Timestamp& other) const
-{
- return other - time_;
-}
-
QPoint TimeMarker::drag_point(const QRect &rect) const
{
(void)rect;
return QRectF(x - h / 2.0f, pp.top(), h, pp.height());
}
+void TimeMarker::set_text(const QString &text)
+{
+ (void)text;
+}
+
void TimeMarker::paint_label(QPainter &p, const QRect &rect, bool hover)
{
if (!enabled())