Ruler: Recombined with CursorHeader
[pulseview.git] / pv / view / marginwidget.hpp
index b4f0eb72c45e84abc4703a5b3e46f8031aca7e0a..6e98e4b083a3e2562835a1a111abb11284238e5b 100644 (file)
@@ -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();