X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Ftimemarker.hpp;h=1a2abb3251e7bc3a8a3caa6e4d63b150141ecffd;hp=7c49948b497179a29a32fd22cfcc3e633c2a78f1;hb=558ad6ceb934ab7406d286c1a4ae08da4aba1448;hpb=1573bf16ba50d1c023ad3a9ce596f0ab6eaeacff diff --git a/pv/views/trace/timemarker.hpp b/pv/views/trace/timemarker.hpp index 7c49948b..1a2abb32 100644 --- a/pv/views/trace/timemarker.hpp +++ b/pv/views/trace/timemarker.hpp @@ -41,6 +41,10 @@ namespace trace { class View; +/** + * The TimeMarker class represents items on the @ref Ruler that highlight a + * single point in time to the user. Aside from this, it is generic in nature. + */ class TimeMarker : public TimeItem { Q_OBJECT @@ -74,7 +78,7 @@ public: * Gets the arrow-tip point of the time marker. * @param rect the rectangle of the ruler area. */ - QPoint point(const QRect &rect) const override; + QPoint drag_point(const QRect &rect) const override; /** * Computes the outline rectangle of a label.