X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Fviewitem.hpp;h=53ed2a60cbe891c578ba30c65eb50adb5da34c48;hp=89a57e5edeb248b2dab9b59618cab71b9d268667;hb=119c5c232ef47e92ef6a5cc9f8b7c4c31dc2f387;hpb=be843692f664e44d26458063042cc5d41a13df57 diff --git a/pv/views/trace/viewitem.hpp b/pv/views/trace/viewitem.hpp index 89a57e5..53ed2a6 100644 --- a/pv/views/trace/viewitem.hpp +++ b/pv/views/trace/viewitem.hpp @@ -59,6 +59,11 @@ public: */ virtual bool enabled() const = 0; + /** + * Returns true if the item may be selected. + */ + virtual bool is_selectable(QPoint pos) const; + /** * Returns true if the item has been selected by the user. */ @@ -72,7 +77,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.