#ifndef PULSEVIEW_PV_VIEW_FLAG_H
#define PULSEVIEW_PV_VIEW_FLAG_H
+#include <memory>
+
#include "timemarker.hpp"
namespace pv {
namespace view {
-class Flag : public TimeMarker
+class Flag : public TimeMarker,
+ public std::enable_shared_from_this<pv::view::Flag>
{
Q_OBJECT
pv::widgets::Popup* create_popup(QWidget *parent);
+ void delete_pressed();
+
private Q_SLOTS:
void on_text_changed(const QString &text);