Merge RowItem() into ViewItem()
[pulseview.git] / pv / views / trace / viewitem.hpp
index 8421d8614914078fc61b7c3a26a3a647f57f99c4..c445f609063df6386579d6fa6cebf74fd4a11c19 100644 (file)
@@ -53,7 +53,6 @@ public:
 public:
        ViewItem();
 
-public:
        /**
         * Returns true if the item is visible and enabled.
         */
@@ -77,7 +76,7 @@ public:
        /**
         * Returns true if the item may be dragged/moved.
         */
-       virtual bool is_draggable() const;
+       virtual bool is_draggable(QPoint pos) const;
 
        /**
         * Returns true if the item is being dragged.
@@ -151,7 +150,6 @@ public:
         */
        virtual void paint_fore(QPainter &p, ViewItemPaintParams &pp);
 
-public:
        /**
         * Gets the text color.
         * @remarks This color is computed by comparing the lightness
@@ -169,6 +167,8 @@ public:
 
        virtual void delete_pressed();
 
+       virtual void hover_point_changed(const QPoint &hp);
+
 protected:
        static QPen highlight_pen();