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:
@@ -62,27 +62,27 @@ RimTensorResults::RimTensorResults()
|
||||
{
|
||||
CAF_PDM_InitObject( "Element Tensor Results", ":/CellResult.png", "", "" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &arrowColorLegendConfig, "LegendDefinition", "Color Legend", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &arrowColorLegendConfig, "LegendDefinition", "Color Legend" );
|
||||
this->arrowColorLegendConfig = new RimRegularLegendConfig();
|
||||
arrowColorLegendConfig.uiCapability()->setUiTreeHidden( true );
|
||||
|
||||
CAF_PDM_InitField( &m_resultFieldName, "ResultVariable", QString( "ST" ), "Value", "", "", "" );
|
||||
CAF_PDM_InitField( &m_resultFieldName, "ResultVariable", QString( "ST" ), "Value" );
|
||||
m_resultFieldName.uiCapability()->setUiHidden( true );
|
||||
|
||||
CAF_PDM_InitField( &m_resultFieldNameUiField, "ResultVariableUI", QString( "ST" ), "Value", "", "", "" );
|
||||
CAF_PDM_InitField( &m_resultFieldNameUiField, "ResultVariableUI", QString( "ST" ), "Value" );
|
||||
m_resultFieldNameUiField.xmlCapability()->disableIO();
|
||||
|
||||
CAF_PDM_InitField( &m_showTensors, "ShowTensors", false, "", "", "", "" );
|
||||
CAF_PDM_InitField( &m_showTensors, "ShowTensors", false, "" );
|
||||
|
||||
CAF_PDM_InitField( &m_principal1, "Principal1", true, "Principal 1", "", "", "" );
|
||||
CAF_PDM_InitField( &m_principal2, "Principal2", true, "Principal 2", "", "", "" );
|
||||
CAF_PDM_InitField( &m_principal3, "Principal3", true, "Principal 3", "", "", "" );
|
||||
CAF_PDM_InitField( &m_principal1, "Principal1", true, "Principal 1" );
|
||||
CAF_PDM_InitField( &m_principal2, "Principal2", true, "Principal 2" );
|
||||
CAF_PDM_InitField( &m_principal3, "Principal3", true, "Principal 3" );
|
||||
|
||||
CAF_PDM_InitField( &m_threshold, "Threshold", 0.0f, "Threshold", "", "", "" );
|
||||
CAF_PDM_InitField( &m_threshold, "Threshold", 0.0f, "Threshold" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_vectorColor, "VectorColor", "Color", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_scaleMethod, "ScaleMethod", "Scale Method", "", "", "" );
|
||||
CAF_PDM_InitField( &m_sizeScale, "SizeScale", 1.0f, "Size Scale", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_vectorColor, "VectorColor", "Color" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_scaleMethod, "ScaleMethod", "Scale Method" );
|
||||
CAF_PDM_InitField( &m_sizeScale, "SizeScale", 1.0f, "Size Scale" );
|
||||
CAF_PDM_InitField( &m_rangeMode,
|
||||
"RangeType",
|
||||
RimRegularLegendConfig::RangeModeEnum( RimRegularLegendConfig::RangeModeType::AUTOMATIC_ALLTIMESTEPS ),
|
||||
|
||||
Reference in New Issue
Block a user