X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fview.hpp;h=ce89a6bc55abb3c37921311e83d3757c31590f3b;hp=9fac1a67f8d400933d4a95b2c2b12eca29c483d0;hb=5ed05b699e5367bae21828f533e3d169b9bab348;hpb=17c7f31c7bb674d5017a8de66a5816e34542abb8 diff --git a/pv/view/view.hpp b/pv/view/view.hpp index 9fac1a6..ce89a6b 100644 --- a/pv/view/view.hpp +++ b/pv/view/view.hpp @@ -29,7 +29,6 @@ #include #include -#include #include #include @@ -54,6 +53,10 @@ namespace pv { class Session; +namespace data { +class Logic; +} + namespace views { namespace TraceView { @@ -92,7 +95,6 @@ private: static const pv::util::Timestamp MinScale; static const int MaxScrollValue; - static const int MaxViewAutoUpdateRate; static const int ScaleUnits[3]; @@ -109,7 +111,7 @@ public: virtual void clear_signals(); - virtual void add_signal(const shared_ptr signal); + void add_signal(const shared_ptr signal); #ifdef ENABLE_DECODE virtual void clear_decode_signals(); @@ -352,9 +354,8 @@ private Q_SLOTS: void signals_changed(); void capture_state_updated(int state); - void data_updated(); - void perform_delayed_view_update(); + virtual void perform_delayed_view_update(); void process_sticky_events(); @@ -419,7 +420,6 @@ private: bool sticky_scrolling_; bool coloured_bg_; bool always_zoom_to_fit_; - QTimer delayed_view_updater_; pv::util::Timestamp tick_period_; pv::util::SIPrefix tick_prefix_;