projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MarginWidget: Added item() method
[pulseview.git]
/
pv
/
view
/
marginwidget.hpp
diff --git
a/pv/view/marginwidget.hpp
b/pv/view/marginwidget.hpp
index de5c866f3077fcc12acb8028167dc4de0711a69d..bd74801bf4d04a7f71e6a3875e2b8ed5acf652e9 100644
(file)
--- a/
pv/view/marginwidget.hpp
+++ b/
pv/view/marginwidget.hpp
@@
-47,6
+47,11
@@
public:
virtual QSize extended_size_hint() const = 0;
protected:
virtual QSize extended_size_hint() const = 0;
protected:
+ /**
+ * Gets the items in the margin widget.
+ */
+ virtual std::vector< std::shared_ptr<pv::view::ViewItem> > items() = 0;
+
/**
* Shows the popup of a the specified @c ViewItem .
* @param item The item to show the popup for.
/**
* Shows the popup of a the specified @c ViewItem .
* @param item The item to show the popup for.