mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Set a sensible font size for Plot symbol labels (i.e. "P10", "P90" etc)
This commit is contained in:
@@ -60,7 +60,10 @@ public:
|
||||
SYMBOL_RIGHT_TRIANGLE
|
||||
};
|
||||
|
||||
RiuQwtSymbol( PointSymbolEnum riuStyle, const QString& label, LabelPosition labelPosition = LabelAboveSymbol );
|
||||
RiuQwtSymbol( PointSymbolEnum riuStyle,
|
||||
const QString& label,
|
||||
LabelPosition labelPosition = LabelAboveSymbol,
|
||||
int labelFontSizePt = 8 );
|
||||
void renderSymbols( QPainter* painter, const QPointF* points, int numPoints ) const override;
|
||||
void renderSymbolLabel( QPainter* painter, const QPointF& position, const QString& label ) const;
|
||||
QString globalLabel() const;
|
||||
@@ -79,5 +82,6 @@ private:
|
||||
|
||||
private:
|
||||
QString m_globalLabel;
|
||||
int m_labelFontSizePx;
|
||||
LabelPosition m_labelPosition;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user