mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#8250 Use variadic macros and remove obsolete parameters
This commit is contained in:
@@ -78,24 +78,24 @@ Rim3dOverlayInfoConfig::Rim3dOverlayInfoConfig()
|
||||
{
|
||||
CAF_PDM_InitObject( "Info Box", ":/InfoBox16x16.png", "", "" );
|
||||
|
||||
CAF_PDM_InitField( &m_active, "Active", true, "Active", "", "", "" );
|
||||
CAF_PDM_InitField( &m_active, "Active", true, "Active" );
|
||||
m_active.uiCapability()->setUiHidden( true );
|
||||
m_active = RiaPreferences::current()->showInfoBox();
|
||||
|
||||
CAF_PDM_InitField( &m_showAnimProgress, "ShowAnimProgress", true, "Animation progress", "", "", "" );
|
||||
CAF_PDM_InitField( &m_showCaseInfo, "ShowInfoText", true, "Case Info", "", "", "" );
|
||||
CAF_PDM_InitField( &m_showResultInfo, "ShowResultInfo", true, "Result Info", "", "", "" );
|
||||
CAF_PDM_InitField( &m_showHistogram, "ShowHistogram", true, "Histogram", "", "", "" );
|
||||
CAF_PDM_InitField( &m_showVolumeWeightedMean, "ShowVolumeWeightedMean", true, "Mobile Volume Weighted Mean", "", "", "" );
|
||||
CAF_PDM_InitField( &m_showVersionInfo, "ShowVersionInfo", true, "Version Info", "", "", "" );
|
||||
CAF_PDM_InitField( &m_showAnimProgress, "ShowAnimProgress", true, "Animation progress" );
|
||||
CAF_PDM_InitField( &m_showCaseInfo, "ShowInfoText", true, "Case Info" );
|
||||
CAF_PDM_InitField( &m_showResultInfo, "ShowResultInfo", true, "Result Info" );
|
||||
CAF_PDM_InitField( &m_showHistogram, "ShowHistogram", true, "Histogram" );
|
||||
CAF_PDM_InitField( &m_showVolumeWeightedMean, "ShowVolumeWeightedMean", true, "Mobile Volume Weighted Mean" );
|
||||
CAF_PDM_InitField( &m_showVersionInfo, "ShowVersionInfo", true, "Version Info" );
|
||||
|
||||
caf::AppEnum<RimHistogramCalculator::StatisticsTimeRangeType> defaultTimeRange =
|
||||
RimHistogramCalculator::StatisticsTimeRangeType::CURRENT_TIMESTEP;
|
||||
CAF_PDM_InitField( &m_statisticsTimeRange, "StatisticsTimeRange", defaultTimeRange, "Statistics Time Range", "", "", "" );
|
||||
CAF_PDM_InitField( &m_statisticsTimeRange, "StatisticsTimeRange", defaultTimeRange, "Statistics Time Range" );
|
||||
|
||||
caf::AppEnum<RimHistogramCalculator::StatisticsCellRangeType> defaultCellRange =
|
||||
RimHistogramCalculator::StatisticsCellRangeType::VISIBLE_CELLS;
|
||||
CAF_PDM_InitField( &m_statisticsCellRange, "StatisticsCellRange", defaultCellRange, "Statistics Cell Range", "", "", "" );
|
||||
CAF_PDM_InitField( &m_statisticsCellRange, "StatisticsCellRange", defaultCellRange, "Statistics Cell Range" );
|
||||
|
||||
m_histogramCalculator.reset( new RimHistogramCalculator );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user