mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4257 Rename Legend Definition to color legend
This commit is contained in:
parent
421c374fde
commit
ddf8d8515a
@ -70,13 +70,13 @@ Rim2dIntersectionView::Rim2dIntersectionView(void)
|
||||
CAF_PDM_InitFieldNoDefault(&m_intersection, "Intersection", "Intersection", ":/CrossSection16x16.png", "", "");
|
||||
m_intersection.uiCapability()->setUiHidden(true);
|
||||
|
||||
CAF_PDM_InitFieldNoDefault(&m_legendConfig, "LegendDefinition", "Legend Definition", "", "", "");
|
||||
CAF_PDM_InitFieldNoDefault(&m_legendConfig, "LegendDefinition", "Color Legend", "", "", "");
|
||||
m_legendConfig.uiCapability()->setUiHidden(true);
|
||||
m_legendConfig.uiCapability()->setUiTreeChildrenHidden(true);
|
||||
m_legendConfig.xmlCapability()->disableIO();
|
||||
m_legendConfig = new RimRegularLegendConfig();
|
||||
|
||||
CAF_PDM_InitFieldNoDefault(&m_ternaryLegendConfig, "TernaryLegendDefinition", "Ternary Legend Definition", "", "", "");
|
||||
CAF_PDM_InitFieldNoDefault(&m_ternaryLegendConfig, "TernaryLegendDefinition", "Ternary Color Legend", "", "", "");
|
||||
m_ternaryLegendConfig.uiCapability()->setUiTreeHidden(true);
|
||||
m_ternaryLegendConfig.uiCapability()->setUiTreeChildrenHidden(true);
|
||||
m_ternaryLegendConfig.xmlCapability()->disableIO();
|
||||
|
@ -64,7 +64,7 @@ RimCellEdgeColors::RimCellEdgeColors()
|
||||
CAF_PDM_InitField(&useYVariable, "UseYVariable", true, "Use Y Values", "", "", "");
|
||||
CAF_PDM_InitField(&useZVariable, "UseZVariable", true, "Use Z Values", "", "", "");
|
||||
|
||||
CAF_PDM_InitFieldNoDefault(&m_legendConfig, "LegendDefinition", "Legend Definition", ":/Legend.png", "", "");
|
||||
CAF_PDM_InitFieldNoDefault(&m_legendConfig, "LegendDefinition", "Color Legend", ":/Legend.png", "", "");
|
||||
|
||||
CAF_PDM_InitFieldNoDefault(&m_singleVarEdgeResultColors, "SingleVarEdgeResult", "Result Property", ":/CellResult.png", "", "");
|
||||
m_singleVarEdgeResultColors = new RimEclipseCellColors();
|
||||
|
@ -52,15 +52,15 @@ RimEclipseCellColors::RimEclipseCellColors()
|
||||
{
|
||||
CAF_PDM_InitObject("Cell Result", ":/CellResult.png", "", "");
|
||||
|
||||
CAF_PDM_InitFieldNoDefault(&obsoleteField_legendConfig, "LegendDefinition", "Legend Definition", "", "", "");
|
||||
CAF_PDM_InitFieldNoDefault(&obsoleteField_legendConfig, "LegendDefinition", "Color Legend", "", "", "");
|
||||
this->obsoleteField_legendConfig.xmlCapability()->setIOWritable(false);
|
||||
|
||||
CAF_PDM_InitFieldNoDefault(&m_legendConfigData, "ResultVarLegendDefinitionList", "", "", "", "");
|
||||
|
||||
CAF_PDM_InitFieldNoDefault(&m_ternaryLegendConfig, "TernaryLegendDefinition", "Ternary Legend Definition", "", "", "");
|
||||
CAF_PDM_InitFieldNoDefault(&m_ternaryLegendConfig, "TernaryLegendDefinition", "Ternary Color Legend", "", "", "");
|
||||
this->m_ternaryLegendConfig = new RimTernaryLegendConfig();
|
||||
|
||||
CAF_PDM_InitFieldNoDefault(&m_legendConfigPtrField, "LegendDefinitionPtrField", "Legend Definition PtrField", "", "", "");
|
||||
CAF_PDM_InitFieldNoDefault(&m_legendConfigPtrField, "LegendDefinitionPtrField", "Color Legend PtrField", "", "", "");
|
||||
|
||||
// Make sure we have a created legend for the default/undefined result variable
|
||||
changeLegendConfig(this->resultVariable());
|
||||
|
@ -33,7 +33,7 @@ CAF_PDM_SOURCE_INIT(RimGeoMechCellColors, "GeoMechResultSlot");
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimGeoMechCellColors::RimGeoMechCellColors(void)
|
||||
{
|
||||
CAF_PDM_InitFieldNoDefault(&legendConfig, "LegendDefinition", "Legend Definition", "", "", "");
|
||||
CAF_PDM_InitFieldNoDefault(&legendConfig, "LegendDefinition", "Color Legend", "", "", "");
|
||||
this->legendConfig = new RimRegularLegendConfig();
|
||||
legendConfig.uiCapability()->setUiHidden(true);
|
||||
}
|
||||
|
@ -126,7 +126,7 @@ RimRegularLegendConfig::RimRegularLegendConfig()
|
||||
m_localAutoNegClosestToZero(0),
|
||||
m_isAllTimeStepsRangeDisabled(false)
|
||||
{
|
||||
CAF_PDM_InitObject("Legend Definition", ":/Legend.png", "", "");
|
||||
CAF_PDM_InitObject("Color Legend", ":/Legend.png", "", "");
|
||||
CAF_PDM_InitField(&m_showLegend, "ShowLegend", true, "Show Legend", "", "", "");
|
||||
m_showLegend.uiCapability()->setUiHidden(true);
|
||||
CAF_PDM_InitField(&m_numLevels, "NumberOfLevels", 8, "Number of Levels", "", "A hint on how many tick marks you whish.","");
|
||||
|
@ -97,7 +97,7 @@ RimScaleLegendConfig::RimScaleLegendConfig()
|
||||
m_localAutoMin(cvf::UNDEFINED_DOUBLE),
|
||||
m_isAllTimeStepsRangeDisabled(false)
|
||||
{
|
||||
CAF_PDM_InitObject("Legend Definition", ":/Legend.png", "", "");
|
||||
CAF_PDM_InitObject("Color Legend", ":/Legend.png", "", "");
|
||||
CAF_PDM_InitField(&m_showLegend, "ShowLegend", true, "Show Legend", "", "", "");
|
||||
m_showLegend.uiCapability()->setUiHidden(true);
|
||||
CAF_PDM_InitField(&m_numLevels, "NumberOfLevels", 8, "Number of Levels", "", "A hint on how many tick marks you whish.","");
|
||||
|
@ -32,7 +32,7 @@ CAF_PDM_SOURCE_INIT(RimStimPlanLegendConfig, "RimStimPlanLegendConfig");
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimStimPlanLegendConfig::RimStimPlanLegendConfig()
|
||||
{
|
||||
CAF_PDM_InitObject("StimPlan Legend Definition", ":/Legend.png", "", "");
|
||||
CAF_PDM_InitObject("StimPlan Color Legend", ":/Legend.png", "", "");
|
||||
|
||||
CAF_PDM_InitField(&m_name, "Name", QString("StimPlan Legend"), "Name", "", "", "");
|
||||
m_name.uiCapability()->setUiReadOnly(true);
|
||||
|
@ -62,7 +62,7 @@ RimTensorResults::RimTensorResults()
|
||||
{
|
||||
CAF_PDM_InitObject("Element Tensor Results", ":/CellResult.png", "", "");
|
||||
|
||||
CAF_PDM_InitFieldNoDefault(&arrowColorLegendConfig, "LegendDefinition", "Legend Definition", "", "", "");
|
||||
CAF_PDM_InitFieldNoDefault(&arrowColorLegendConfig, "LegendDefinition", "Color Legend", "", "", "");
|
||||
this->arrowColorLegendConfig = new RimRegularLegendConfig();
|
||||
arrowColorLegendConfig.uiCapability()->setUiHidden(true);
|
||||
|
||||
|
@ -46,7 +46,7 @@ CAF_PDM_SOURCE_INIT(RimTernaryLegendConfig, "RimTernaryLegendConfig");
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimTernaryLegendConfig::RimTernaryLegendConfig()
|
||||
{
|
||||
CAF_PDM_InitObject("Ternary Legend Definition", ":/Legend.png", "", "");
|
||||
CAF_PDM_InitObject("Ternary Color Legend", ":/Legend.png", "", "");
|
||||
CAF_PDM_InitField(&m_showLegend, "ShowTernaryLegend", true, "Show Ternary Legend", "", "", "");
|
||||
m_showLegend.uiCapability()->setUiHidden(true);
|
||||
CAF_PDM_InitField(&precision, "Precision", 2, "Significant digits", "", "The number of significant digits displayed in the legend numbers","");
|
||||
|
@ -76,7 +76,7 @@ RimViewController::RimViewController()
|
||||
CAF_PDM_InitField(&m_showCursor, "ShowCursor", true, " Show Cursor", "", "", "");
|
||||
CAF_PDM_InitField(&m_syncTimeStep, "SyncTimeStep", true, "Time Step", "", "", "");
|
||||
CAF_PDM_InitField(&m_syncCellResult, "SyncCellResult", false, "Cell Result", "", "", "");
|
||||
CAF_PDM_InitField(&m_syncLegendDefinitions, "SyncLegendDefinitions", true, " Legend Definition", "", "", "");
|
||||
CAF_PDM_InitField(&m_syncLegendDefinitions, "SyncLegendDefinitions", true, " Color Legend", "", "", "");
|
||||
|
||||
CAF_PDM_InitField(&m_syncVisibleCells, "SyncVisibleCells", false, "Visible Cells", "", "", "");
|
||||
/// We do not support this. Consider to remove sometime
|
||||
|
@ -39,7 +39,7 @@ RimVirtualPerforationResults::RimVirtualPerforationResults()
|
||||
CAF_PDM_InitField(&m_showClosedConnections, "ShowClosedConnections", true, "Show On Closed Connections", "", "", "");
|
||||
CAF_PDM_InitField(&m_geometryScaleFactor, "GeometryScaleFactor", 2.0, "Geometry Scale Factor", "", "", "");
|
||||
|
||||
CAF_PDM_InitFieldNoDefault(&m_legendConfig, "LegendDefinition", "Legend Definition", "", "", "");
|
||||
CAF_PDM_InitFieldNoDefault(&m_legendConfig, "LegendDefinition", "Color Legend", "", "", "");
|
||||
m_legendConfig.uiCapability()->setUiHidden(true);
|
||||
|
||||
m_legendConfig = new RimRegularLegendConfig();
|
||||
|
Loading…
Reference in New Issue
Block a user