]> sigrok.org Git - pulseview.git/blobdiff - pv/data/decodesignal.hpp
DecodeSignal: Use better colors and names for decoder output signals
[pulseview.git] / pv / data / decodesignal.hpp
index f02f0921eba142809a2e096794c0f8128af3ed44..333e953b2d63e66c415b403092ad48cc2975b0f5 100644 (file)
@@ -103,6 +103,16 @@ public:
        DecodeSignal(pv::Session &session);
        virtual ~DecodeSignal();
 
+       /**
+        * Sets the name of the signal.
+        */
+       virtual void set_name(QString name);
+
+       /**
+        * Set the color of the signal.
+        */
+       virtual void set_color(QColor color);
+
        bool is_decode_signal() const;
        const vector< shared_ptr<Decoder> >& decoder_stack() const;