X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Ftracegroup.h;h=a9f5558f4a381893dcae3d05c9bf36d9a9742243;hb=a5d93c27b5bd6b95000e29c6cddac56ab254b289;hp=0d246cee3c05471c88dbe4f99425eafcea395230;hpb=0067d80499d36944277e6fed2d7ad5394c85c03f;p=pulseview.git diff --git a/pv/view/tracegroup.h b/pv/view/tracegroup.h index 0d246ce..a9f5558 100644 --- a/pv/view/tracegroup.h +++ b/pv/view/tracegroup.h @@ -31,6 +31,10 @@ class TraceGroup : public RowItem, public RowItemOwner { Q_OBJECT +private: + static const int Padding; + static const int Width; + public: /** * Virtual destructor @@ -62,6 +66,12 @@ public: */ virtual const pv::view::View* view() const; + /** + * Computes the vertical extents of the contents of this row item. + * @return A pair containing the minimum and maximum y-values. + */ + std::pair v_extents() const; + /** * Paints the signal label. * @param p the QPainter to paint into.