mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4243 Grid Cross Plot: Make legend icons black & white when grouping is enabled and set size from font size
This commit is contained in:
@@ -113,6 +113,8 @@ public:
|
||||
CurveInterpolationEnum interpolationType,
|
||||
int curveThickness,
|
||||
const QColor& curveColor);
|
||||
void setBlackAndWhiteLegendIcon(bool blackAndWhite);
|
||||
QwtGraphic legendIcon(int index, const QSizeF& size) const override;
|
||||
|
||||
protected:
|
||||
void drawCurve(QPainter* p, int style,
|
||||
@@ -138,4 +140,5 @@ private:
|
||||
bool m_showErrorBars;
|
||||
QwtPlotIntervalCurve* m_errorBars;
|
||||
QwtPlot* m_attachedToPlot;
|
||||
bool m_blackAndWhiteLegendIcon;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user