projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RowItem: Pass rect into label_rect
[pulseview.git]
/
pv
/
view
/
tracegroup.hpp
diff --git
a/pv/view/tracegroup.hpp
b/pv/view/tracegroup.hpp
index f89ea437f33c8026ad1ab9898055bf145b9867d8..4f631d0da23927bca35b836f244155f4b01c8774 100644
(file)
--- 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.
*/
* area.
* @param hover true if the label is being hovered over by the mouse.
*/
- void paint_label(QPainter &p,
int righ
t, bool hover);
+ void paint_label(QPainter &p,
const QRect &rec
t, bool hover);
/**
* Computes the outline rectangle of a label.
/**
* 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.
*/
* @return Returns the rectangle of the signal label.
*/
- QRectF label_rect(
int righ
t) const;
+ QRectF label_rect(
const QRectF &rec
t) const;
/**
* Determines if a point is in the header label rect.
/**
* Determines if a point is in the header label rect.