* area.
* @return Returns the rectangle of the signal label.
*/
- virtual QRectF label_rect(int right) = 0;
+ virtual QRectF label_rect(int right) const = 0;
public:
virtual void hover_point_changed();
return _popup;
}
-QRectF Trace::label_rect(int right)
+QRectF Trace::label_rect(int right) const
{
using pv::view::View;
* area.
* @return Returns the rectangle of the signal label.
*/
- QRectF label_rect(int right);
+ QRectF label_rect(int right) const;
protected:
(void)hover;
}
-QRectF TraceGroup::label_rect(int right)
+QRectF TraceGroup::label_rect(int right) const
{
(void)right;
return QRectF();
* area.
* @return Returns the rectangle of the signal label.
*/
- QRectF label_rect(int right);
+ QRectF label_rect(int right) const;
/**
* Determines if a point is in the header label rect.