projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
View: Fix snap-to-edge when using all signals
[pulseview.git]
/
pv
/
views
/
trace
/
viewwidget.hpp
diff --git
a/pv/views/trace/viewwidget.hpp
b/pv/views/trace/viewwidget.hpp
index e4fb73c8255debedb73963acddc0984e635a0433..f4928e67f885bcd948c10ae0b72a7da03bff5d5b 100644
(file)
--- a/
pv/views/trace/viewwidget.hpp
+++ b/
pv/views/trace/viewwidget.hpp
@@
-22,6
+22,7
@@
#include <memory>
#include <memory>
+#include <QPoint>
#include <QWidget>
using std::shared_ptr;
#include <QWidget>
using std::shared_ptr;
@@
-49,7
+50,7
@@
protected:
* if no view item is being hovered over.
* @remarks the default implementation does nothing.
*/
* if no view item is being hovered over.
* @remarks the default implementation does nothing.
*/
- virtual void item_hover(const shared_ptr<ViewItem> &item);
+ virtual void item_hover(const shared_ptr<ViewItem> &item
, QPoint pos
);
/**
* Indicates the event an a view item has been clicked.
/**
* Indicates the event an a view item has been clicked.