]> sigrok.org Git - pulseview.git/blobdiff - pv/view/logicsignal.h
Added selection_changed signal to Ruler and Header
[pulseview.git] / pv / view / logicsignal.h
index a9c24b44da7bd13b27896ffc5cdc2e2173f54fad..927e96ab079e0daeda534eb706bab4e2ea8764d3 100644 (file)
@@ -45,9 +45,10 @@ private:
        static const QColor SignalColours[10];
 
 public:
-       LogicSignal(QString name,
-               boost::shared_ptr<pv::data::Logic> data,
-               int probe_index);
+       LogicSignal(const sr_probe *const probe,
+               boost::shared_ptr<pv::data::Logic> data);
+
+       virtual ~LogicSignal();
 
        /**
         * Paints the signal with a QPainter
@@ -70,7 +71,6 @@ private:
                float x_offset, float y_offset);
 
 private:
-       int _probe_index;
        boost::shared_ptr<pv::data::Logic> _data;
 };