20 #ifndef PULSEVIEW_PV_WIDGETS_POPUP_HPP 21 #define PULSEVIEW_PV_WIDGETS_POPUP_HPP 23 #include <QScrollArea> 65 Popup(QWidget *parent);
67 const QPoint& point()
const;
70 void set_position(
const QPoint point,
Position pos);
77 bool space_for_arrow()
const;
79 QPolygon arrow_polygon()
const;
81 QRegion arrow_region()
const;
83 QRect bubble_rect()
const;
85 QRegion bubble_region()
const;
87 QRegion popup_region()
const;
89 void reposition_widget();
92 void closeEvent(QCloseEvent*);
94 void paintEvent(QPaintEvent*);
96 void resizeEvent(QResizeEvent*);
98 void mouseReleaseEvent(QMouseEvent *event);
101 void showEvent(QShowEvent *);
114 #endif // PULSEVIEW_PV_WIDGETS_POPUP_HPP