mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Added overriden boundingRect method in RiuQwtSymbol to include label.
This commit is contained in:
@@ -59,8 +59,12 @@ public:
|
||||
void renderSymbolLabel(QPainter *painter, const QPointF& position) const;
|
||||
QString label() const { return m_label; }
|
||||
|
||||
void setLabelPosition(LabelPosition labelPosition);
|
||||
|
||||
void setLabelPosition(LabelPosition labelPosition);
|
||||
virtual QRect boundingRect() const override;
|
||||
|
||||
private:
|
||||
QRect labelBoundingRect(const QRect& symbolRect) const;
|
||||
|
||||
private:
|
||||
QString m_label;
|
||||
LabelPosition m_labelPosition;
|
||||
|
||||
Reference in New Issue
Block a user