mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Depth Track Plots: Optionally show a line in all tracks
* #9378 Depth Track Plots: Optionally show a line in all tracks * Use RiaDefines::Orientation
This commit is contained in:
@@ -906,37 +906,6 @@ void RiuGuiTheme::storeQwtStyleSheetProperty( const QString& plotName,
|
||||
s_qwtPlotItemPropertiesMap[plotName][itemType][itemName].insert( propertyName, value );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
Qt::PenStyle RiuGuiTheme::getPenStyleFromString( const QString& style )
|
||||
{
|
||||
if ( style == "solid" )
|
||||
{
|
||||
return Qt::PenStyle::SolidLine;
|
||||
}
|
||||
else if ( style == "dash" )
|
||||
{
|
||||
return Qt::PenStyle::DashLine;
|
||||
}
|
||||
else if ( style == "dot" )
|
||||
{
|
||||
return Qt::PenStyle::DotLine;
|
||||
}
|
||||
else if ( style == "dash-dot" )
|
||||
{
|
||||
return Qt::PenStyle::DashDotLine;
|
||||
}
|
||||
else if ( style == "dash-dot-dot" )
|
||||
{
|
||||
return Qt::PenStyle::DashDotDotLine;
|
||||
}
|
||||
else
|
||||
{
|
||||
return Qt::PenStyle::NoPen;
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user