]> sigrok.org Git - pulseview.git/blobdiff - pv/widgets/popup.h
Use a generic approach when adding the "close on enter" hook for popups
[pulseview.git] / pv / widgets / popup.h
index ec123048074ec9074d18b436e3667d9347de9ac3..2fdb23c0b3b0bbd16da05162ce95dfb3a1ddac96 100644 (file)
@@ -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;