X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fviews%2Fviewbase.hpp;h=b524c1797d0d1478ba4bd1eac36ee538a400d69a;hp=923d47fb515c2b5d96111f3ec0f074b0e1b339d8;hb=5a20644617a727e5893cd1df3f105135c1ebdedd;hpb=f8a8811b634642c792342c5e69cd1a11231cce9f diff --git a/pv/views/viewbase.hpp b/pv/views/viewbase.hpp index 923d47fb..b524c179 100644 --- a/pv/views/viewbase.hpp +++ b/pv/views/viewbase.hpp @@ -65,6 +65,12 @@ private: public: explicit ViewBase(Session &session, bool is_main_view = false, QWidget *parent = nullptr); + /** + * Resets the view to its default state after construction. It does however + * not reset the signal bases or any other connections with the session. + */ + virtual void reset_view_state(); + Session& session(); const Session& session() const;