X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Fviewitem.hpp;h=5ce3bb608ec68156ba06c53b12409619e9772ec9;hb=3b2ead4fbeb899188564ec9c69c216708311a881;hp=8421d8614914078fc61b7c3a26a3a647f57f99c4;hpb=cbd9ec7f751a5403d1465e966ccecd31b7086e8a;p=pulseview.git diff --git a/pv/views/trace/viewitem.hpp b/pv/views/trace/viewitem.hpp index 8421d86..5ce3bb6 100644 --- a/pv/views/trace/viewitem.hpp +++ b/pv/views/trace/viewitem.hpp @@ -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