]> sigrok.org Git - pulseview.git/blobdiff - pv/view/timemarker.h
Initialise Trace widgets when the trace is received by the View
[pulseview.git] / pv / view / timemarker.h
index 63733f7a5c9a4a9040f4660db5b0ebf152c490c0..328d428f0e52ca547c48840d5a4071e247c78e14 100644 (file)
@@ -51,6 +51,8 @@ protected:
        TimeMarker(View &view, const QColor &colour, double time);
 
 public:
+       virtual void init_context_bar_actions(QWidget *parent);
+       
        /**
         * Gets the time of the marker.
         */
@@ -104,8 +106,8 @@ protected:
 
        QSizeF _text_size;
 
-       QWidgetAction _value_action;
-       QDoubleSpinBox _value_widget;
+       QWidgetAction *_value_action;
+       QDoubleSpinBox *_value_widget;
        bool _updating_value_widget;
 };