X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fwidgets%2Fpopup.h;h=2fdb23c0b3b0bbd16da05162ce95dfb3a1ddac96;hp=e7c867acbad82ed0b49f4ea81d29ac0b4e71d35a;hb=ff30bdbafa900626fdcdf5e282d6eb56e4d4b68a;hpb=0bce86095e332bedff9643e3dfbe409259e2df5f diff --git a/pv/widgets/popup.h b/pv/widgets/popup.h index e7c867a..2fdb23c 100644 --- a/pv/widgets/popup.h +++ b/pv/widgets/popup.h @@ -52,7 +52,13 @@ public: void set_position(const QPoint point, Position pos); + bool eventFilter(QObject *obj, QEvent *evt); + + void show(); + private: + bool space_for_arrow() const; + QPolygon arrow_polygon() const; QRegion arrow_region() const; @@ -77,7 +83,7 @@ private: protected: void showEvent(QShowEvent *e); -signals: +Q_SIGNALS: void closed(); private: