X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Fview.hpp;h=2b7e4a45c6ef3c71ee08e88f4695b19a5b801a55;hb=572c3bb71a824b15442ed63c600e77517c6ae411;hp=a42f964e0a173126b2cba892b7c803ae82cf8d89;hpb=28ceff251c776bcf99eafae691e70a521af15957;p=pulseview.git diff --git a/pv/views/trace/view.hpp b/pv/views/trace/view.hpp index a42f964e..2b7e4a45 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); @@ -355,6 +357,7 @@ public: private Q_SLOTS: + void on_signal_name_changed(); void on_splitter_moved(); void h_scroll_value_changed(int value); @@ -363,12 +366,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 +421,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_;