X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Ftracegroup.hpp;h=2a78f22c25cbed08e6836507f48e2fb5a4c0d901;hp=f89ea437f33c8026ad1ab9898055bf145b9867d8;hb=f9abacf20c85333a3a6be785049e7658967e3104;hpb=2b81ae4682ade4109ffa442794de36ceb32045eb diff --git a/pv/view/tracegroup.hpp b/pv/view/tracegroup.hpp index f89ea437..2a78f22c 100644 --- a/pv/view/tracegroup.hpp +++ b/pv/view/tracegroup.hpp @@ -81,15 +81,14 @@ public: * area. * @param hover true if the label is being hovered over by the mouse. */ - void paint_label(QPainter &p, int right, bool hover); + void paint_label(QPainter &p, const QRect &rect, bool hover); /** * Computes the outline rectangle of a label. - * @param right the x-coordinate of the right edge of the header - * area. + * @param rect the rectangle of the header area. * @return Returns the rectangle of the signal label. */ - QRectF label_rect(int right) const; + QRectF label_rect(const QRectF &rect) const; /** * Determines if a point is in the header label rect. @@ -120,7 +119,7 @@ public: void ungroup(); public: - void appearance_changed(bool label, bool content); + void row_item_appearance_changed(bool label, bool content); void extents_changed(bool horz, bool vert);