X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fview%2Fheader.hpp;h=10335cf5b6faf0cafbfe96f09fcd5ef8bddf4425;hb=115a522abb9dc4071f62a3df77b9501e1f9ff722;hp=ae39bc847490357877ed380ec99456073f849a1f;hpb=f4433aa958fb9c85ce82ef5545d722625cb64f9e;p=pulseview.git diff --git a/pv/view/header.hpp b/pv/view/header.hpp index ae39bc84..10335cf5 100644 --- a/pv/view/header.hpp +++ b/pv/view/header.hpp @@ -45,6 +45,13 @@ public: QSize sizeHint() const; + /** + * The extended area that the header widget would like to be sized to. + * @remarks This area is the area specified by sizeHint, extended by + * the area to overlap the viewport. + */ + QSize extended_size_hint() const; + /** * The horizontal offset, relative to the left edge of the widget, * where the arrows of the trace labels end. @@ -52,7 +59,7 @@ public: static const int BaselineOffset; private: - std::shared_ptr get_mouse_over_row_item( + std::shared_ptr get_mouse_over_item( const QPoint &pt); void clear_selection();