]> sigrok.org Git - pulseview.git/blobdiff - pv/view/viewwidget.hpp
ViewWidget: Moved in drag_items
[pulseview.git] / pv / view / viewwidget.hpp
index 1989fe13e7d9b44925d82d3c852dd29df1995978..3b22441a9e0b16f22df4cb0ffdaa7a30dd131230 100644 (file)
@@ -41,6 +41,12 @@ protected:
         */
        bool accept_drag() const;
 
+       /**
+        * Drag the dragging items by the delta offset.
+        * @param delta the drag offset in pixels.
+        */
+       void drag_items(const QPoint &delta);
+
 protected:
        pv::view::View &view_;
 };