X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fviewwidget.hpp;h=3b22441a9e0b16f22df4cb0ffdaa7a30dd131230;hp=1989fe13e7d9b44925d82d3c852dd29df1995978;hb=1dffa582704bb6acb144a3e89bd6eb0e2ccf4f25;hpb=f15bb3bc4f964eaafdd4c46f29f69ef74572baee diff --git a/pv/view/viewwidget.hpp b/pv/view/viewwidget.hpp index 1989fe13..3b22441a 100644 --- a/pv/view/viewwidget.hpp +++ b/pv/view/viewwidget.hpp @@ -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_; };