X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fselectableitem.h;h=a062fa04223627fe9ac8a211c1887b58aba7d86b;hp=fa728c72745924f764c692a88b5fdb91c868aff0;hb=7ccd5a64548bccac7c172f9d5649f936044a5fa1;hpb=a28a212c7a9a3470e300911fe8aa62833a62d26a diff --git a/pv/view/selectableitem.h b/pv/view/selectableitem.h index fa728c72..a062fa04 100644 --- a/pv/view/selectableitem.h +++ b/pv/view/selectableitem.h @@ -49,7 +49,7 @@ public: public: /** - * Returns true if the signal has been selected by the user. + * Returns true if the item has been selected by the user. */ bool selected() const; @@ -63,6 +63,8 @@ public: virtual pv::widgets::Popup* create_popup(QWidget *parent) = 0; + virtual void delete_pressed(); + protected: static QPen highlight_pen();