]> sigrok.org Git - pulseview.git/blobdiff - pv/views/trace/view.hpp
AnalogSignal: Use setting change handler for threshold display
[pulseview.git] / pv / views / trace / view.hpp
index a42f964e0a173126b2cba892b7c803ae82cf8d89..f0aa491e585fa5f90998e9697a151404d2fb3275 100644 (file)
@@ -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);
@@ -367,8 +369,6 @@ private Q_SLOTS:
 
        void process_sticky_events();
 
-       void on_hover_point_changed();
-
        /**
         * Sets the 'offset_' member and emits the 'offset_changed'
         * signal if needed.