/**
* Returns the session of the onwer.
*/
- pv::SigSession& session();
+ pv::Session& session();
/**
* Returns the session of the onwer.
*/
- const pv::SigSession& session() const;
+ const pv::Session& session() const;
/**
* Returns the view of the owner.
* 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.