]> sigrok.org Git - pulseview.git/blobdiff - pv/view/signal.h
Removed use of LabelMarginWidth
[pulseview.git] / pv / view / signal.h
index ecd13dc92a17493d79f7f84a02a141fc5d6d30cf..bdbd27a35f1b9554cde55dd75b1a441f0b1619b8 100644 (file)
@@ -21,6 +21,8 @@
 #ifndef PULSEVIEW_PV_VIEW_SIGNAL_H
 #define PULSEVIEW_PV_VIEW_SIGNAL_H
 
+#include <boost/shared_ptr.hpp>
+
 #include <QComboBox>
 #include <QWidgetAction>
 
@@ -51,6 +53,8 @@ public:
         */
        void set_name(QString name);
 
+       virtual boost::shared_ptr<pv::data::SignalData> data() const = 0;
+
        /**
         * Returns true if the trace is visible and enabled.
         */
@@ -64,6 +68,8 @@ public:
 
        QMenu* create_context_menu(QWidget *parent);
 
+       void delete_pressed();
+
 private slots:
        void on_disable();