X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fviews%2Fviewbase.hpp;h=d3111dc79cdfbc5929f260d8f0181a2238f592a9;hb=7a8a02cac266dbfd5d802b270a54d906a5f151d7;hp=af885751f170a17ea75a617a11276aa32c681568;hpb=e77de61fbc19633c77cc196332ae79c26d9ca35d;p=pulseview.git diff --git a/pv/views/viewbase.hpp b/pv/views/viewbase.hpp index af885751..d3111dc7 100644 --- a/pv/views/viewbase.hpp +++ b/pv/views/viewbase.hpp @@ -66,13 +66,14 @@ class ViewBase : public QWidget { Q_OBJECT -private: +public: static const int MaxViewAutoUpdateRate; public: explicit ViewBase(Session &session, bool is_main_view = false, QMainWindow *parent = nullptr); virtual ViewType get_type() const = 0; + bool is_main_view() const; /** * Resets the view to its default state after construction. It does however