SelectableItem: Renamed to ViewItem
[pulseview.git] / pv / view / rowitem.hpp
index aca4fa83ecbb24bc4f372f25311e643b9a14c13c..e7f55c6268e290e6d102c0baaa2b2e09f87a22c1 100644 (file)
 #include <QPropertyAnimation>
 
 #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<pv::view::RowItem>
 {
        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();