X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Fdecodetrace.hpp;h=258509e66ea4ec4869bda2a185e95454f73130d7;hb=7697cd83435e88689936b14c952b8a34d5258b69;hp=215ae0ae95b52d58af1ac1f4a4026491ddcbea27;hpb=9eaa8343da2ee7bb0d7397547ca250a528ccde5a;p=pulseview.git diff --git a/pv/views/trace/decodetrace.hpp b/pv/views/trace/decodetrace.hpp index 215ae0ae..258509e6 100644 --- a/pv/views/trace/decodetrace.hpp +++ b/pv/views/trace/decodetrace.hpp @@ -29,6 +29,7 @@ #include #include +#include #include #include #include @@ -149,6 +150,12 @@ public: shared_ptr base() const; + /** + * Sets the owner this trace in the view trace hierachy. + * @param The new owner of the trace. + */ + virtual void set_owner(TraceTreeItemOwner *owner); + /** * Computes the vertical extents of the contents of this row item. * @return A pair containing the minimum and maximum y-values. @@ -312,7 +319,7 @@ private: QPushButton* stack_button_; unsigned int default_row_height_, annotation_height_; - unsigned int visible_rows_, max_visible_rows_; + unsigned int visible_rows_; int min_useful_label_width_; bool always_show_all_rows_, show_hidden_rows_;