X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Ftrace.hpp;h=407592de63bc7bb2221aadc77388424789533dfe;hb=561ba3ae052a93fe150a2161fcdc361144e68e4f;hp=88b4ea6b032a7d202896e4aa9264bb0ccb3aa7fe;hpb=1573bf16ba50d1c023ad3a9ce596f0ab6eaeacff;p=pulseview.git diff --git a/pv/views/trace/trace.hpp b/pv/views/trace/trace.hpp index 88b4ea6..407592d 100644 --- a/pv/views/trace/trace.hpp +++ b/pv/views/trace/trace.hpp @@ -49,6 +49,16 @@ class Popup; namespace views { namespace trace { +/** + * The Trace class represents a @ref TraceTreeItem which occupies some vertical + * space on the canvas and spans across its entire width, essentially showing + * a time series of values, events, objects or similar. While easily confused + * with @ref Signal, the difference is that Trace may represent anything that + * can be drawn, not just numeric values. One example is a @ref DecodeTrace. + * + * For this reason, Trace is more generic and contains properties and helpers + * that benefit any kind of time series items. + */ class Trace : public TraceTreeItem { Q_OBJECT @@ -134,6 +144,7 @@ private Q_SLOTS: protected: shared_ptr base_; + QPen axis_pen_; private: pv::widgets::Popup *popup_;