mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Implement stacked well log curves
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
|
||||
#include "RimPlotCurve.h"
|
||||
|
||||
#include "RiaColorTools.h"
|
||||
#include "RiaCurveDataTools.h"
|
||||
#include "RiaGuiApplication.h"
|
||||
#include "RiaPreferences.h"
|
||||
@@ -770,7 +771,7 @@ void RimPlotCurve::updateCurveAppearance()
|
||||
if ( m_qwtPlotCurve )
|
||||
{
|
||||
QColor fillColor( m_fillColor.value().rByte(), m_fillColor.value().gByte(), m_fillColor.value().bByte() );
|
||||
fillColor.setAlpha( 130 );
|
||||
fillColor = RiaColorTools::blendQColors( fillColor, QColor( Qt::white ), 3, 1 );
|
||||
QBrush fillBrush( fillColor, m_fillStyle() );
|
||||
m_qwtPlotCurve->setAppearance( m_lineStyle(), m_curveInterpolation(), m_curveThickness(), curveColor, fillBrush );
|
||||
m_qwtPlotCurve->setSymbol( symbol );
|
||||
@@ -983,6 +984,22 @@ void RimPlotCurve::resetAppearance()
|
||||
setSymbolSkipDistance( 10 );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
Qt::BrushStyle RimPlotCurve::fillStyle() const
|
||||
{
|
||||
return m_fillStyle();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimPlotCurve::setFillStyle( Qt::BrushStyle brushStyle )
|
||||
{
|
||||
m_fillStyle = brushStyle;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user