X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Fview.hpp;h=fa54c068965d7245a17fb69fa3af308a03d50df9;hp=a42f964e0a173126b2cba892b7c803ae82cf8d89;hb=526c8c00a61aa5f6ac7e3ee56991db957b45828d;hpb=28ceff251c776bcf99eafae691e70a521af15957 diff --git a/pv/views/trace/view.hpp b/pv/views/trace/view.hpp index a42f964e..fa54c068 100644 --- a/pv/views/trace/view.hpp +++ b/pv/views/trace/view.hpp @@ -269,7 +269,7 @@ public: void restack_all_trace_tree_items(); Q_SIGNALS: - void hover_point_changed(); + void hover_point_changed(const QPoint &hp); void selection_changed(); @@ -347,6 +347,8 @@ private: void resizeEvent(QResizeEvent *event); + void update_hover_point(); + public: void row_item_appearance_changed(bool label, bool content); void time_item_appearance_changed(bool label, bool content); @@ -363,12 +365,12 @@ private Q_SLOTS: void signals_changed(); void capture_state_updated(int state); + void on_segment_changed(int segment); + virtual void perform_delayed_view_update(); void process_sticky_events(); - void on_hover_point_changed(); - /** * Sets the 'offset_' member and emits the 'offset_changed' * signal if needed. @@ -418,6 +420,9 @@ private: vector< shared_ptr > decode_traces_; #endif + /// The ID of the currently displayed segment + int current_segment_; + /// The view time scale in seconds per pixel. double scale_;