X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fsignal.h;h=ece2e5a446218591f066a435454004a550b267f3;hp=3a7a103df0ecbae171f6ad47ea67791ba8c48525;hb=d09674d4529828b6bd2cbaa027949b953d6bd96a;hpb=e0e90d8091d3e4f20c03de6015bcedc5e4568567 diff --git a/pv/view/signal.h b/pv/view/signal.h index 3a7a103d..ece2e5a4 100644 --- a/pv/view/signal.h +++ b/pv/view/signal.h @@ -45,9 +45,10 @@ namespace view { class Signal : public SelectableItem { + Q_OBJECT + private: static const int LabelHitPadding; - static const int LabelHighlightRadius; static const QPen SignalAxisPen; @@ -85,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. @@ -166,8 +157,6 @@ protected: QColor _colour; int _v_offset; - bool _selected; - QSizeF _text_size; };