projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ViewWidget: Moved in unified accept_drag
[pulseview.git]
/
pv
/
view
/
viewwidget.hpp
diff --git
a/pv/view/viewwidget.hpp
b/pv/view/viewwidget.hpp
index 5c8889e3be4cde76d2b91bc6724dd848d7bcb19a..1989fe13e7d9b44925d82d3c852dd29df1995978 100644
(file)
--- 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_;
};