mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#8420 Janitor: Remove empty parameters in initialization macros
This commit is contained in:
@@ -60,7 +60,7 @@ Rim3dWellLogCurve::Rim3dWellLogCurve()
|
||||
: m_minCurveDataValue( -std::numeric_limits<float>::infinity() )
|
||||
, m_maxCurveDataValue( std::numeric_limits<float>::infinity() )
|
||||
{
|
||||
CAF_PDM_InitObject( "3d Well Log Curve", ":/WellLogCurve16x16.png", "", "" );
|
||||
CAF_PDM_InitObject( "3d Well Log Curve", ":/WellLogCurve16x16.png" );
|
||||
|
||||
CAF_PDM_InitField( &m_showCurve, "Show3dWellLogCurve", true, "Show 3d Well Log Curve" );
|
||||
m_showCurve.uiCapability()->setUiHidden( true );
|
||||
|
||||
@@ -64,7 +64,7 @@ CAF_PDM_SOURCE_INIT( Rim3dWellLogExtractionCurve, "Rim3dWellLogExtractionCurve"
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
Rim3dWellLogExtractionCurve::Rim3dWellLogExtractionCurve()
|
||||
{
|
||||
CAF_PDM_InitObject( "3d Well Log Extraction Curve", ":/WellLogCurve16x16.png", "", "" );
|
||||
CAF_PDM_InitObject( "3d Well Log Extraction Curve", ":/WellLogCurve16x16.png" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_case, "CurveCase", "Case" );
|
||||
m_case.uiCapability()->setUiTreeChildrenHidden( true );
|
||||
|
||||
@@ -39,7 +39,7 @@ CAF_PDM_SOURCE_INIT( Rim3dWellLogFileCurve, "Rim3dWellLogFileCurve" );
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
Rim3dWellLogFileCurve::Rim3dWellLogFileCurve()
|
||||
{
|
||||
CAF_PDM_InitObject( "3d Well Log File Curve", ":/WellLogCurve16x16.png", "", "" );
|
||||
CAF_PDM_InitObject( "3d Well Log File Curve", ":/WellLogCurve16x16.png" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_wellLogChannelName, "CurveWellLogChannel", "Well Log Channel" );
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ CAF_PDM_SOURCE_INIT( Rim3dWellLogRftCurve, "Rim3dWellLogRftCurve" );
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
Rim3dWellLogRftCurve::Rim3dWellLogRftCurve()
|
||||
{
|
||||
CAF_PDM_InitObject( "3d Well Log RFT Curve", ":/WellLogCurve16x16.png", "", "" );
|
||||
CAF_PDM_InitObject( "3d Well Log RFT Curve", ":/WellLogCurve16x16.png" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_eclipseResultCase, "eclipseResultCase", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_timeStep, "timeStep", "" );
|
||||
|
||||
@@ -94,7 +94,7 @@ RimEnsembleWellLogCurveSet::RimEnsembleWellLogCurveSet()
|
||||
: filterChanged( this )
|
||||
|
||||
{
|
||||
CAF_PDM_InitObject( "Ensemble Curve Set", ":/EnsembleCurveSet16x16.png", "", "" );
|
||||
CAF_PDM_InitObject( "Ensemble Curve Set", ":/EnsembleCurveSet16x16.png" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_curves, "EnsembleCurveSet", "Ensemble Curve Set" );
|
||||
m_curves.uiCapability()->setUiHidden( true );
|
||||
|
||||
@@ -29,7 +29,7 @@ CAF_PDM_SOURCE_INIT( RimEnsembleWellLogsCollection, "EnsembleWellLogsCollection"
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimEnsembleWellLogsCollection::RimEnsembleWellLogsCollection()
|
||||
{
|
||||
CAF_PDM_InitObject( "Ensemble Well Logs", ":/LasFile16x16.png", "", "" );
|
||||
CAF_PDM_InitObject( "Ensemble Well Logs", ":/LasFile16x16.png" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_ensembleWellLogs, "EnsembleWellLogsCollection", "" );
|
||||
m_ensembleWellLogs.uiCapability()->setUiTreeHidden( true );
|
||||
|
||||
@@ -44,7 +44,7 @@ CAF_PDM_XML_ABSTRACT_SOURCE_INIT( RimWellLogCurve, "WellLogPlotCurve" );
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimWellLogCurve::RimWellLogCurve()
|
||||
{
|
||||
CAF_PDM_InitObject( "WellLogCurve", ":/WellLogCurve16x16.png", "", "" );
|
||||
CAF_PDM_InitObject( "WellLogCurve", ":/WellLogCurve16x16.png" );
|
||||
|
||||
m_qwtPlotCurve->setXAxis( QwtPlot::xTop );
|
||||
m_qwtCurveErrorBars->setXAxis( QwtPlot::xTop );
|
||||
|
||||
@@ -94,7 +94,7 @@ void AppEnum<RimWellLogExtractionCurve::TrajectoryType>::setUp()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimWellLogExtractionCurve::RimWellLogExtractionCurve()
|
||||
{
|
||||
CAF_PDM_InitScriptableObject( "Well Log Curve", RimWellLogCurve::wellLogCurveIconName(), "", "" );
|
||||
CAF_PDM_InitScriptableObject( "Well Log Curve", RimWellLogCurve::wellLogCurveIconName() );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_trajectoryType, "TrajectoryType", "Trajectory Type" );
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ const QDateTime RimWellLogFile::DEFAULT_DATE_TIME = RiaQDateTimeTools::createUtc
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimWellLogFile::RimWellLogFile()
|
||||
{
|
||||
CAF_PDM_InitObject( "Well LAS File Info", ":/LasFile16x16.png", "", "" );
|
||||
CAF_PDM_InitObject( "Well LAS File Info", ":/LasFile16x16.png" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_wellName, "WellName", "" );
|
||||
m_wellName.uiCapability()->setUiReadOnly( true );
|
||||
@@ -86,10 +86,7 @@ RimWellLogFile::RimWellLogFile()
|
||||
CAF_PDM_InitField( &m_wellFlowCondition,
|
||||
"WellFlowCondition",
|
||||
caf::AppEnum<RimWellLogFile::WellFlowCondition>( RimWellLogFile::WELL_FLOW_COND_STANDARD ),
|
||||
"Well Flow Rates",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
"Well Flow Rates" );
|
||||
|
||||
CAF_PDM_InitField( &m_invalidDateMessage, "InvalidDateMessage", QString( "Invalid or no date" ), "" );
|
||||
m_invalidDateMessage.uiCapability()->setUiReadOnly( true );
|
||||
|
||||
@@ -52,7 +52,7 @@ CAF_PDM_SOURCE_INIT( RimWellLogFileCurve, "WellLogFileCurve" );
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimWellLogFileCurve::RimWellLogFileCurve()
|
||||
{
|
||||
CAF_PDM_InitObject( "Well Log File Curve", RimWellLogCurve::wellLogCurveIconName(), "", "" );
|
||||
CAF_PDM_InitObject( "Well Log File Curve", RimWellLogCurve::wellLogCurveIconName() );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_wellPath, "CurveWellPath", "Well Path" );
|
||||
m_wellPath.uiCapability()->setUiTreeChildrenHidden( true );
|
||||
|
||||
@@ -46,7 +46,7 @@ CAF_PDM_SOURCE_INIT( RimWellLogPlotCollection, "WellLogPlotCollection" );
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimWellLogPlotCollection::RimWellLogPlotCollection()
|
||||
{
|
||||
CAF_PDM_InitScriptableObject( "Well Log Plots", ":/WellLogPlots16x16.png", "", "" );
|
||||
CAF_PDM_InitScriptableObject( "Well Log Plots", ":/WellLogPlots16x16.png" );
|
||||
|
||||
CAF_PDM_InitScriptableFieldNoDefault( &m_wellLogPlots, "WellLogPlots", "" );
|
||||
m_wellLogPlots.uiCapability()->setUiTreeHidden( true );
|
||||
|
||||
@@ -94,7 +94,7 @@ CAF_PDM_SOURCE_INIT( RimWellLogRftCurve, "WellLogRftCurve" );
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimWellLogRftCurve::RimWellLogRftCurve()
|
||||
{
|
||||
CAF_PDM_InitObject( "Well Log RFT Curve", RimWellLogCurve::wellLogCurveIconName(), "", "" );
|
||||
CAF_PDM_InitObject( "Well Log RFT Curve", RimWellLogCurve::wellLogCurveIconName() );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_eclipseResultCase, "CurveEclipseResultCase", "Eclipse Result Case" );
|
||||
m_eclipseResultCase.uiCapability()->setUiTreeChildrenHidden( true );
|
||||
|
||||
@@ -174,7 +174,7 @@ RimWellLogTrack::RimWellLogTrack()
|
||||
, m_availableDepthRangeMax( RI_LOGPLOTTRACK_MAXX_DEFAULT )
|
||||
|
||||
{
|
||||
CAF_PDM_InitScriptableObject( "Track", ":/WellLogTrack16x16.png", "", "" );
|
||||
CAF_PDM_InitScriptableObject( "Track", ":/WellLogTrack16x16.png" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_description, "TrackDescription", "Name" );
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ CAF_PDM_SOURCE_INIT( RimWellLogWbsCurve, "RimWellLogWbsCurve" );
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimWellLogWbsCurve::RimWellLogWbsCurve()
|
||||
{
|
||||
CAF_PDM_InitObject( "Well Bore Stability Curve", RimWellLogCurve::wellLogCurveIconName(), "", "" );
|
||||
CAF_PDM_InitObject( "Well Bore Stability Curve", RimWellLogCurve::wellLogCurveIconName() );
|
||||
|
||||
CAF_PDM_InitField( &m_smoothCurve, "SmoothCurve", false, "Smooth Curve" );
|
||||
CAF_PDM_InitField( &m_smoothingThreshold, "SmoothingThreshold", 0.002, "Smoothing Threshold" );
|
||||
|
||||
Reference in New Issue
Block a user