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:
@@ -54,6 +54,28 @@ void caf::AppEnum<RiaDefines::ObjectNamingMethod>::setUp()
|
||||
|
||||
setDefault( RiaDefines::ObjectNamingMethod::AUTO );
|
||||
}
|
||||
|
||||
template <>
|
||||
void caf::AppEnum<Qt::PenStyle>::setUp()
|
||||
{
|
||||
addItem( Qt::PenStyle::NoPen, "NO_PEN", "No Pen" );
|
||||
addItem( Qt::PenStyle::SolidLine, "SOLID_LINE", "Solid Line" );
|
||||
addItem( Qt::PenStyle::DashLine, "DASH_LINE", "Dash Line" );
|
||||
addItem( Qt::PenStyle::DotLine, "DOT_LINE", "Dot Line" );
|
||||
addItem( Qt::PenStyle::DashDotLine, "DASH_DOT_LINE", "Dash Dot Line" );
|
||||
addItem( Qt::PenStyle::DashDotDotLine, "DASH_DOT_DOT_LINE", "Dash Dot Dot Line" );
|
||||
|
||||
setDefault( Qt::PenStyle::SolidLine );
|
||||
}
|
||||
|
||||
template <>
|
||||
void caf::AppEnum<RiaDefines::Orientation>::setUp()
|
||||
{
|
||||
addItem( RiaDefines::Orientation::HORIZONTAL, "HORIZONTAL", "Horizontal" );
|
||||
addItem( RiaDefines::Orientation::VERTICAL, "VERTICAL", "Vertical" );
|
||||
setDefault( RiaDefines::Orientation::VERTICAL );
|
||||
}
|
||||
|
||||
}; // namespace caf
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user