* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef PULSEVIEW_PV_MARGINWIDGET_HPP
-#define PULSEVIEW_PV_MARGINWIDGET_HPP
+#ifndef PULSEVIEW_PV_VIEWS_TRACE_MARGINWIDGET_HPP
+#define PULSEVIEW_PV_VIEWS_TRACE_MARGINWIDGET_HPP
#include <memory>
*/
void show_popup(const shared_ptr<ViewItem> &item);
-protected:
+protected Q_SLOTS:
virtual void contextMenuEvent(QContextMenuEvent *event);
virtual void keyPressEvent(QKeyEvent *event);
+
+ virtual void on_popup_closed();
};
} // namespace trace
} // namespace views
} // namespace pv
-#endif // PULSEVIEW_PV_MARGINWIDGET_HPP
+#endif // PULSEVIEW_PV_VIEWS_TRACE_MARGINWIDGET_HPP