X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Ftrace.hpp;h=677f366b477f7b1caaaae3bfb03a523ff3a51a0d;hp=7d0b8a09deb51b6d693782b4e4d4de19ad3fe2a2;hb=725568aca067f8024c6567a10973cd119483a5bd;hpb=7a01bd3654ed046216308fa64edfd79be7cd525f diff --git a/pv/view/trace.hpp b/pv/view/trace.hpp index 7d0b8a09..677f366b 100644 --- a/pv/view/trace.hpp +++ b/pv/view/trace.hpp @@ -29,7 +29,7 @@ #include -#include "rowitem.hpp" +#include "tracetreeitem.hpp" class QFormLayout; @@ -41,7 +41,7 @@ class Popup; namespace view { -class Trace : public RowItem +class Trace : public TraceTreeItem { Q_OBJECT @@ -78,7 +78,7 @@ public: * @param rect the rectangle of the viewport area. * @return Returns the rectangle of the hit-box. */ - QRectF hit_box_rect(const QRectF &rect) const; + QRectF hit_box_rect(const ViewItemPaintParams &pp) const; /** * Paints the signal label.