X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fdecodesignal.h;h=c1b53d5711fc87a9abefe8fcd5bd85db5c8896aa;hp=f9113f5bee99298ef5951aafc97657d59d0d7c58;hb=38db1a87b23e84068c7f176d5a189564078a6260;hpb=5ed1adf555e0f0fb36d5b4b36f2be17745b5c8ae diff --git a/pv/view/decodesignal.h b/pv/view/decodesignal.h index f9113f5b..c1b53d57 100644 --- a/pv/view/decodesignal.h +++ b/pv/view/decodesignal.h @@ -46,6 +46,8 @@ public: bool enabled() const; + const boost::shared_ptr& decoder() const; + void set_view(pv::view::View *view); /** @@ -68,14 +70,6 @@ public: void delete_pressed(); -private: - - /** - * When painting into the rectangle, calculate the y - * offset of the zero point. - **/ - int get_nominal_offset(const QRect &rect) const; - private slots: void on_new_decode_data();