]> sigrok.org Git - pulseview.git/blobdiff - pv/view/trace.h
Header: Keep a shared_ptr of the clicked item
[pulseview.git] / pv / view / trace.h
index 7cfa3c2e0681c76663319939f246f983f8a2c31f..83eb826546184e87e91005a7e461cb9e1f8bc5fc 100644 (file)
@@ -66,7 +66,7 @@ public:
        /**
         * Get the colour of the signal.
         */
-       QColor get_colour() const;
+       QColor colour() const;
 
        /**
         * Set the colour of the signal.
@@ -92,7 +92,7 @@ public:
         *      area.
         * @return Returns the rectangle of the signal label.
         */
-       QRectF label_rect(int right);
+       QRectF label_rect(int right) const;
 
 protected:
 
@@ -126,11 +126,6 @@ private Q_SLOTS:
 
        void on_popup_closed();
 
-Q_SIGNALS:
-       void visibility_changed();
-       void text_changed();    
-       void colour_changed();
-
 protected:
        QString _name;
        QColor _colour;