X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fviews%2Fviewbase.hpp;h=c8f72ab7a3caf9e6005379bd253e779974c5b73a;hb=b732b48fafdb5d237248a56764e184e10281a712;hp=fdf12a8693d20505d417346b74587dc6d2e43995;hpb=4e86ec7042631d4b54876cba89c01a73abaf7213;p=pulseview.git diff --git a/pv/views/viewbase.hpp b/pv/views/viewbase.hpp index fdf12a8..c8f72ab 100644 --- a/pv/views/viewbase.hpp +++ b/pv/views/viewbase.hpp @@ -96,9 +96,13 @@ public Q_SLOTS: virtual void signals_changed(); virtual void capture_state_updated(int state); virtual void on_new_segment(int new_segment_id); + virtual void on_segment_completed(int new_segment_id); virtual void perform_delayed_view_update(); private Q_SLOTS: + void on_samples_added(QObject* segment, uint64_t start_sample, + uint64_t end_sample); + void on_data_updated(); protected: @@ -110,6 +114,9 @@ protected: unordered_set< shared_ptr > signalbases_; + /// The ID of the currently displayed segment + uint32_t current_segment_; + QTimer delayed_view_updater_; };