X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fmarginwidget.hpp;fp=pv%2Fview%2Fmarginwidget.hpp;h=bd74801bf4d04a7f71e6a3875e2b8ed5acf652e9;hp=de5c866f3077fcc12acb8028167dc4de0711a69d;hb=3e124bee223688078d60f007cfa078a1dcbfbfb3;hpb=6871ee9fc6c4a87cfa3796b893b91fc5b16c2673 diff --git a/pv/view/marginwidget.hpp b/pv/view/marginwidget.hpp index de5c866f..bd74801b 100644 --- a/pv/view/marginwidget.hpp +++ b/pv/view/marginwidget.hpp @@ -47,6 +47,11 @@ public: virtual QSize extended_size_hint() const = 0; protected: + /** + * Gets the items in the margin widget. + */ + virtual std::vector< std::shared_ptr > items() = 0; + /** * Shows the popup of a the specified @c ViewItem . * @param item The item to show the popup for.