X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fdecodesignal.h;h=673d65499509a409ca1266c5fbcd693ed4d97cd4;hp=271937b831d87410d202776f83bfd5c6bc0e0033;hb=9cef95672622f4ecdb21edef9d81a10c789daf1e;hpb=fe08b6e8a85c80ae738757f7d85aa38ef7c4bdc3 diff --git a/pv/view/decodesignal.h b/pv/view/decodesignal.h index 271937b8..673d6549 100644 --- a/pv/view/decodesignal.h +++ b/pv/view/decodesignal.h @@ -37,9 +37,12 @@ class DecodeSignal : public Trace { Q_OBJECT +private: + static const QColor DecodeColours[4]; + public: DecodeSignal(pv::SigSession &session, - boost::shared_ptr decoder); + boost::shared_ptr decoder, int index); void init_context_bar_actions(QWidget *parent); @@ -73,6 +76,9 @@ private: **/ int get_nominal_offset(const QRect &rect) const; +private slots: + void on_new_decode_data(); + private: boost::shared_ptr _decoder;