]> sigrok.org Git - pulseview.git/blobdiff - pv/view/signal.h
Moved highlight pen into SelectableItem
[pulseview.git] / pv / view / signal.h
index 69c1f09cfd225ba67bb9fcc60ea1d95e3681cfbd..ece2e5a446218591f066a435454004a550b267f3 100644 (file)
@@ -49,7 +49,6 @@ class Signal : public SelectableItem
 
 private:
        static const int LabelHitPadding;
-       static const int LabelHighlightRadius;
 
        static const QPen SignalAxisPen;
 
@@ -87,16 +86,6 @@ public:
         */
        void set_v_offset(int v_offset);
 
-       /**
-        * Returns true if the signal has been selected by the user.
-        */
-       bool selected() const;
-
-       /**
-        * Selects or deselects the signal.
-        */
-       void select(bool select = true);
-
        /**
         * Paints the signal with a QPainter
         * @param p the QPainter to paint into.
@@ -168,8 +157,6 @@ protected:
        QColor _colour;
        int _v_offset;
 
-       bool _selected;
-
        QSizeF _text_size;
 };