]> sigrok.org Git - pulseview.git/blobdiff - pv/signal.h
Added a context menu for set name
[pulseview.git] / pv / signal.h
index b4c4244ca3fc438f7a71441bfc0a7de80fec0674..18ff4b4d619239b233bc3bbad5f92b67efc0874a 100644 (file)
@@ -40,8 +40,16 @@ protected:
        Signal(QString name);
 
 public:
+       /**
+        * Gets the name of this signal.
+        */
        QString get_name() const;
 
+       /**
+        * Sets the name of the signal.
+        */
+       void set_name(QString name);
+
        /**
         * Paints the signal with a QPainter
         * @param p the QPainter to paint into.