]> sigrok.org Git - pulseview.git/blobdiff - pv/view/signal.h
Initialise Trace widgets when the trace is received by the View
[pulseview.git] / pv / view / signal.h
index 81576dd4d19a9ef0a56465a8146c1f70e206ab08..ea336434f4ae5e7df9d39bfa61b610d067bd93f2 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.
         */
@@ -77,8 +79,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;
 };