]> sigrok.org Git - pulseview.git/blobdiff - pv/view/signal.h
Added sr_probe accessor function to pv::view::Signal
[pulseview.git] / pv / view / signal.h
index 81576dd4d19a9ef0a56465a8146c1f70e206ab08..96172d77b3a439b761ccdf93e2de2d34cc14bb11 100644 (file)
@@ -50,6 +50,8 @@ protected:
        Signal(pv::SigSession &session, const sr_probe *const probe);
 
 public:
+       virtual void init_context_bar_actions(QWidget *parent);
+
        /**
         * Sets the name of the signal.
         */
@@ -60,6 +62,8 @@ public:
         */
        bool enabled() const;
 
+       const sr_probe* probe() const;
+
 protected:
 
        /**
@@ -77,8 +81,8 @@ private slots:
 protected:
        const sr_probe *const _probe;
 
-       QWidgetAction _name_action;
-       QComboBox _name_widget;
+       QWidgetAction *_name_action;
+       QComboBox *_name_widget;
        bool _updating_name_widget;
 };