X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;ds=inline;f=pv%2Fview%2Ftrace.h;h=5cab44040051ba3bc2bb71a0c181ee24f27714c5;hb=7db87de3cf2079f49ad395fba3a0b16f2b0f8ce5;hp=b82aaa6f792871c451be5a706478e499486e82bb;hpb=3c1001230d7dd6ee68d21ed46082f5f97d3b4bfc;p=pulseview.git diff --git a/pv/view/trace.h b/pv/view/trace.h index b82aaa6f..5cab4404 100644 --- a/pv/view/trace.h +++ b/pv/view/trace.h @@ -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. @@ -148,6 +148,8 @@ public: */ QRectF get_label_rect(int right); + bool eventFilter(QObject *obj, QEvent *evt); + protected: /** @@ -175,14 +177,14 @@ protected: void close_popup(); -private slots: +private Q_SLOTS: void on_text_changed(const QString &text); void on_colour_changed(const QColor &colour); void on_popup_closed(); -signals: +Q_SIGNALS: void visibility_changed(); void text_changed(); void colour_changed();