X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fview%2Fmarginwidget.hpp;h=6e98e4b083a3e2562835a1a111abb11284238e5b;hb=819e2e95555b2b3c2190f24a3cfa82250d1f34e5;hp=b4f0eb72c45e84abc4703a5b3e46f8031aca7e0a;hpb=f106fc3a2d824745744d5c96039966434d56af64;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();