X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fview%2Fviewwidget.hpp;h=1989fe13e7d9b44925d82d3c852dd29df1995978;hb=b434cbaf3208c2037fd5f86001b367b46ba926ba;hp=5c8889e3be4cde76d2b91bc6724dd848d7bcb19a;hpb=40aca27ed83559f7f79873e353f64d2c36a18fce;p=pulseview.git diff --git a/pv/view/viewwidget.hpp b/pv/view/viewwidget.hpp index 5c8889e3..1989fe13 100644 --- a/pv/view/viewwidget.hpp +++ b/pv/view/viewwidget.hpp @@ -35,6 +35,12 @@ class ViewWidget : public QWidget protected: ViewWidget(View &parent); + /** + * Returns true if the selection of row items allows dragging. + * @return Returns true if the drag is acceptable. + */ + bool accept_drag() const; + protected: pv::view::View &view_; };