X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fview%2Fmarginwidget.hpp;h=6e98e4b083a3e2562835a1a111abb11284238e5b;hb=ec39632d1267a42cb858ac6ad7c98486886a46a0;hp=b4f0eb72c45e84abc4703a5b3e46f8031aca7e0a;hpb=f4433aa958fb9c85ce82ef5545d722625cb64f9e;p=pulseview.git diff --git a/pv/view/marginwidget.hpp b/pv/view/marginwidget.hpp index b4f0eb72..6e98e4b0 100644 --- a/pv/view/marginwidget.hpp +++ b/pv/view/marginwidget.hpp @@ -36,6 +36,13 @@ class MarginWidget : public QWidget public: MarginWidget(pv::view::View &parent); + /** + * The extended area that the margin widget would like to be sized to. + * @remarks This area is the area specified by sizeHint, extended by + * the area to overlap the viewport. + */ + virtual QSize extended_size_hint() const = 0; + public Q_SLOTS: virtual void clear_selection();