X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fwidgets%2Fpopup.h;h=83ad7ee0fbd082ebb533fe7dafa280b6944d6a04;hp=ec123048074ec9074d18b436e3667d9347de9ac3;hb=8dbbc7f0b9ea59d0f0d62225772f8a56eee125f5;hpb=e9213170687cf4afd14e20acdc690ff9381d94ae diff --git a/pv/widgets/popup.h b/pv/widgets/popup.h index ec123048..83ad7ee0 100644 --- a/pv/widgets/popup.h +++ b/pv/widgets/popup.h @@ -52,6 +52,10 @@ public: void set_position(const QPoint point, Position pos); + bool eventFilter(QObject *obj, QEvent *evt); + + void show(); + private: bool space_for_arrow() const; @@ -83,8 +87,8 @@ Q_SIGNALS: void closed(); private: - QPoint _point; - Position _pos; + QPoint point_; + Position pos_; }; } // namespace widgets