X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Ftriggermarker.hpp;h=9137f28c1f5b96886c032709bd6d3d32caf06580;hp=09017c0b882a10e57c2219c4e756e38adaa06687;hb=99c4952654ae218a6b45ca61066deb4f81f68416;hpb=1573bf16ba50d1c023ad3a9ce596f0ab6eaeacff diff --git a/pv/views/trace/triggermarker.hpp b/pv/views/trace/triggermarker.hpp index 09017c0b..9137f28c 100644 --- a/pv/views/trace/triggermarker.hpp +++ b/pv/views/trace/triggermarker.hpp @@ -26,12 +26,16 @@ namespace pv { namespace views { namespace trace { +/** + * The TriggerMarker class is used to show to the user at what point in time + * a trigger occured. It is not editable by the user. + */ class TriggerMarker : public TimeItem { Q_OBJECT public: - static const QColor Colour; + static const QColor Color; public: /** @@ -67,7 +71,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; /** * Paints the foreground layer of the item with a QPainter