Trace: Converted on_hover_point_changed signal to direct notification
[pulseview.git] / pv / view / trace.h
index 71ad4953d84dc8f37f6f3c2418ef7a554ee0eda4..7053f9ecbd0757b956c894da83108f9c0b5c82e2 100644 (file)
@@ -112,7 +112,7 @@ public:
        virtual void paint_fore(QPainter &p, int left, int right);
 
        /**
-        * Paints the signal label into a QGLWidget.
+        * Paints the signal label.
         * @param p the QPainter to paint into.
         * @param right the x-coordinate of the right edge of the header
         *      area.
@@ -141,13 +141,15 @@ public:
 
        /**
         * Computes the outline rectangle of a label.
-        * @param p the QPainter to lay out text with.
         * @param right the x-coordinate of the right edge of the header
         *      area.
         * @return Returns the rectangle of the signal label.
         */
        QRectF get_label_rect(int right);
 
+public:
+       virtual void hover_point_changed();
+
 protected:
 
        /**
@@ -173,8 +175,6 @@ protected:
 
        virtual void populate_popup_form(QWidget *parent, QFormLayout *form);
 
-       void close_popup();
-
 private Q_SLOTS:
        void on_text_changed(const QString &text);