X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Frowitem.hpp;h=e7f55c6268e290e6d102c0baaa2b2e09f87a22c1;hb=26e3af6b15f083239981729b2c3c109ed1d87ba8;hp=aca4fa83ecbb24bc4f372f25311e643b9a14c13c;hpb=b3f44329f5846bfb800ee53c15c65b2395d3ba0c;p=pulseview.git diff --git a/pv/view/rowitem.hpp b/pv/view/rowitem.hpp index aca4fa8..e7f55c6 100644 --- a/pv/view/rowitem.hpp +++ b/pv/view/rowitem.hpp @@ -26,14 +26,14 @@ #include #include "rowitempaintparams.hpp" -#include "selectableitem.hpp" +#include "viewitem.hpp" namespace pv { namespace view { class RowItemOwner; -class RowItem : public SelectableItem, +class RowItem : public ViewItem, public std::enable_shared_from_this { Q_OBJECT @@ -134,13 +134,6 @@ public: */ virtual void paint_label(QPainter &p, const QRect &rect, bool hover) = 0; - /** - * Computes the outline rectangle of a label. - * @param rect the rectangle of the header area. - * @return Returns the rectangle of the signal label. - */ - virtual QRectF label_rect(const QRectF &rect) const = 0; - public: virtual void hover_point_changed();