Remove all use of .uiCapability()->setUiTreeHidden( true );

This commit is contained in:
Magne Sjaastad 2024-02-02 16:51:55 +01:00
parent 01a082f9fc
commit ce513be638
163 changed files with 0 additions and 319 deletions

View File

@ -44,7 +44,6 @@ RimOilFieldEntry::RimOilFieldEntry()
CAF_PDM_InitFieldNoDefault( &wellsFilePath, "wellsFilePath", "Wells File Path" );
CAF_PDM_InitFieldNoDefault( &wells, "Wells", "" );
wells.uiCapability()->setUiTreeHidden( true );
wells.uiCapability()->setUiTreeChildrenHidden( true );
}

View File

@ -31,7 +31,6 @@ RimOilRegionEntry::RimOilRegionEntry()
CAF_PDM_InitFieldNoDefault( &name, "OilRegionEntry", "OilRegionEntry" );
CAF_PDM_InitFieldNoDefault( &fields, "Fields", "" );
fields.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitField( &selected, "Selected", false, "Selected" );
}

View File

@ -68,7 +68,6 @@ RimWellPathImport::RimWellPathImport()
CAF_PDM_InitField( &west, "UtmWest", 0.0, "West" );
CAF_PDM_InitFieldNoDefault( &regions, "Regions", "" );
regions.uiCapability()->setUiTreeHidden( true );
}
//--------------------------------------------------------------------------------------------------

View File

@ -841,7 +841,6 @@ WellSelectionPage::WellSelectionPage( RimWellPathImport* wellPathImport, QWidget
m_regionsWithVisibleWells = new ObjectGroupWithHeaders;
m_regionsWithVisibleWells->objects.uiCapability()->setUiHidden( true );
m_regionsWithVisibleWells->objects.uiCapability()->setUiTreeHidden( true );
}
//--------------------------------------------------------------------------------------------------
@ -888,7 +887,6 @@ void WellSelectionPage::buildWellTreeView()
{
caf::PdmObjectCollection* regGroup = new caf::PdmObjectCollection;
regGroup->objects.uiCapability()->setUiHidden( true );
regGroup->objects.uiCapability()->setUiTreeHidden( true );
regGroup->setUiName( oilRegion->userDescriptionField()->uiCapability()->uiValue().toString() );
@ -901,7 +899,6 @@ void WellSelectionPage::buildWellTreeView()
{
caf::PdmObjectCollection* fieldGroup = new caf::PdmObjectCollection;
fieldGroup->objects.uiCapability()->setUiHidden( true );
fieldGroup->objects.uiCapability()->setUiTreeHidden( true );
fieldGroup->setUiName( oilField->userDescriptionField()->uiCapability()->uiValue().toString() );

View File

@ -120,7 +120,6 @@ RicSummaryPlotEditorUi::RicSummaryPlotEditorUi()
CAF_PDM_InitFieldNoDefault( &m_curveNameConfig, "SummaryCurveNameConfig", "SummaryCurveNameConfig" );
m_curveNameConfig = new RimSummaryCurveAutoName();
m_curveNameConfig.uiCapability()->setUiTreeHidden( true );
m_curveNameConfig.uiCapability()->setUiTreeChildrenHidden( true );
m_summaryCurveSelectionEditor = std::make_unique<RiuSummaryVectorSelectionWidgetCreator>();

View File

@ -109,7 +109,6 @@ RimAnalysisPlot::RimAnalysisPlot()
CAF_PDM_InitFieldNoDefault( &m_analysisPlotDataSelection, "AnalysisPlotData", "" );
m_analysisPlotDataSelection.uiCapability()->setUiTreeChildrenHidden( true );
m_analysisPlotDataSelection.uiCapability()->setUiTreeHidden( true );
// Time Step Selection
CAF_PDM_InitFieldNoDefault( &m_timeStepFilter, "TimeStepFilter", "Available Time Steps" );
@ -161,13 +160,11 @@ RimAnalysisPlot::RimAnalysisPlot()
CAF_PDM_InitFieldNoDefault( &m_barTextFontSize, "BarTextFontSize", "Font Size" );
CAF_PDM_InitFieldNoDefault( &m_valueAxisProperties, "ValueAxisProperties", "ValueAxisProperties" );
m_valueAxisProperties.uiCapability()->setUiTreeHidden( true );
m_valueAxisProperties = new RimPlotAxisProperties;
m_valueAxisProperties->setNameAndAxis( "Value-Axis", "Value-Axis", RiuQwtPlotTools::fromQwtPlotAxis( QwtAxis::YLeft ) );
m_valueAxisProperties->enableRangeSettings( false );
CAF_PDM_InitFieldNoDefault( &m_plotDataFilterCollection, "PlotDataFilterCollection", "PlotDataFilterCollection" );
m_plotDataFilterCollection.uiCapability()->setUiTreeHidden( true );
m_plotDataFilterCollection = new RimPlotDataFilterCollection;
connectAxisSignals( m_valueAxisProperties() );

View File

@ -36,7 +36,6 @@ RimAnalysisPlotCollection::RimAnalysisPlotCollection()
CAF_PDM_InitObject( "Analysis Plots", ":/AnalysisPlots16x16.png" );
CAF_PDM_InitFieldNoDefault( &m_analysisPlots, "AnalysisPlots", "Analysis Plots" );
m_analysisPlots.uiCapability()->setUiTreeHidden( true );
}
//--------------------------------------------------------------------------------------------------

View File

@ -44,7 +44,6 @@ RimAnalysisPlotDataEntry::RimAnalysisPlotDataEntry()
m_ensemble.uiCapability()->setAutoAddingOptionFromValue( false );
CAF_PDM_InitFieldNoDefault( &m_summaryAddress, "SummaryAddress", "Summary Address" );
m_summaryAddress.uiCapability()->setUiTreeHidden( true );
m_summaryAddress.uiCapability()->setUiTreeChildrenHidden( true );
m_summaryAddress = new RimSummaryAddress;

View File

@ -32,7 +32,6 @@ RimPlotDataFilterCollection::RimPlotDataFilterCollection()
CAF_PDM_InitField( &m_isActive, "IsActive", true, "IsActive" );
m_isActive.uiCapability()->setUiHidden( true );
CAF_PDM_InitFieldNoDefault( &m_filters, "PlotDataFiltersField", "" );
m_filters.uiCapability()->setUiTreeHidden( true );
}
//--------------------------------------------------------------------------------------------------

View File

@ -92,7 +92,6 @@ RimPlotDataFilterItem::RimPlotDataFilterItem()
CAF_PDM_InitFieldNoDefault( &m_filterTarget, "FilterTarget", "Use only the" );
CAF_PDM_InitFieldNoDefault( &m_filterAddress, "FilterAddressField", "Filter Address" );
m_filterAddress.uiCapability()->setUiTreeHidden( true );
m_filterAddress.uiCapability()->setUiTreeChildrenHidden( true );
m_filterAddress = new RimSummaryAddress();

View File

@ -47,10 +47,6 @@ RimAnnotationCollection::RimAnnotationCollection()
CAF_PDM_InitFieldNoDefault( &m_userDefinedPolylineAnnotations, "UserDefinedPolylineAnnotations", "User Defined Polyline Annotations" );
CAF_PDM_InitFieldNoDefault( &m_polylineFromFileAnnotations, "PolylineFromFileAnnotations", "Polylines From File" );
m_reachCircleAnnotations.uiCapability()->setUiTreeHidden( true );
m_userDefinedPolylineAnnotations.uiCapability()->setUiTreeHidden( true );
m_polylineFromFileAnnotations.uiCapability()->setUiTreeHidden( true );
m_reachCircleAnnotations = new RimAnnotationGroupCollection();
m_userDefinedPolylineAnnotations = new RimAnnotationGroupCollection();
m_polylineFromFileAnnotations = new RimAnnotationGroupCollection();

View File

@ -43,7 +43,6 @@ RimAnnotationCollectionBase::RimAnnotationCollectionBase()
CAF_PDM_InitFieldNoDefault( &m_textAnnotations, "TextAnnotations", "Text Annotations" );
m_textAnnotations.uiCapability()->setUiTreeHidden( true );
m_textAnnotations = new RimAnnotationGroupCollection();
m_textAnnotations->uiCapability()->setUiName( RimAnnotationGroupCollection::TEXT_ANNOTATION_UI_NAME );
m_textAnnotations->uiCapability()->setUiIconFromResourceString( ":/TextAnnotation16x16.png" );

View File

@ -49,7 +49,6 @@ RimAnnotationGroupCollection::RimAnnotationGroupCollection()
CAF_PDM_InitFieldNoDefault( &m_annotations, "Annotations", "Annotations" );
m_isActive.uiCapability()->setUiHidden( true );
m_annotations.uiCapability()->setUiTreeHidden( true );
}
//--------------------------------------------------------------------------------------------------

View File

@ -97,11 +97,6 @@ RimAnnotationInViewCollection::RimAnnotationInViewCollection()
CAF_PDM_InitFieldNoDefault( &m_annotationFontSize, "AnnotationFontSize", "Default Font Size" );
m_globalTextAnnotations.uiCapability()->setUiTreeHidden( true );
m_globalReachCircleAnnotations.uiCapability()->setUiTreeHidden( true );
m_globalUserDefinedPolylineAnnotations.uiCapability()->setUiTreeHidden( true );
m_globalPolylineFromFileAnnotations.uiCapability()->setUiTreeHidden( true );
m_globalTextAnnotations = new RimAnnotationGroupCollection();
m_globalReachCircleAnnotations = new RimAnnotationGroupCollection();
m_globalUserDefinedPolylineAnnotations = new RimAnnotationGroupCollection();

View File

@ -47,7 +47,6 @@ RimPolylinesAnnotation::RimPolylinesAnnotation()
CAF_PDM_InitFieldNoDefault( &m_appearance, "Appearance", "Appearance" );
m_appearance = new RimPolylineAppearance();
m_appearance.uiCapability()->setUiTreeHidden( true );
m_appearance.uiCapability()->setUiTreeChildrenHidden( true );
setDeletable( true );

View File

@ -53,7 +53,6 @@ RimReachCircleAnnotation::RimReachCircleAnnotation()
CAF_PDM_InitFieldNoDefault( &m_appearance, "Appearance", "Appearance" );
m_appearance = new RimReachCircleLineAppearance();
m_appearance.uiCapability()->setUiTreeHidden( true );
m_appearance.uiCapability()->setUiTreeChildrenHidden( true );
m_centerPointEventHandler.reset( new RicVec3dPickEventHandler( &m_centerPointXyd ) );

View File

@ -68,7 +68,6 @@ RimTextAnnotation::RimTextAnnotation()
CAF_PDM_InitFieldNoDefault( &m_textAppearance, "TextAppearance", "Text Appearance" );
m_textAppearance = new RimAnnotationTextAppearance();
m_textAppearance.uiCapability()->setUiTreeHidden( true );
m_textAppearance.uiCapability()->setUiTreeChildrenHidden( true );
CAF_PDM_InitFieldNoDefault( &m_nameProxy, "NameProxy", "Name Proxy" );

View File

@ -48,12 +48,10 @@ RimCellFilterCollection::RimCellFilterCollection()
m_isActive.uiCapability()->setUiHidden( true );
CAF_PDM_InitFieldNoDefault( &m_cellFilters, "CellFilters", "Filters" );
m_cellFilters.uiCapability()->setUiTreeHidden( true );
caf::PdmFieldReorderCapability::addToField( &m_cellFilters );
// for backwards project file compatibility with old CellRangeFilterCollection
CAF_PDM_InitFieldNoDefault( &m_rangeFilters_OBSOLETE, "RangeFilters", "Range Filters" );
m_rangeFilters_OBSOLETE.uiCapability()->setUiTreeHidden( true );
m_rangeFilters_OBSOLETE.xmlCapability()->setIOWritable( false );
}

View File

@ -63,7 +63,6 @@ RimEclipsePropertyFilter::RimEclipsePropertyFilter()
// Set to hidden to avoid this item to been displayed as a child item
// Fields in this object are displayed using defineUiOrdering()
m_resultDefinition.uiCapability()->setUiTreeHidden( true );
m_resultDefinition.uiCapability()->setUiTreeChildrenHidden( true );
CAF_PDM_InitField( &m_rangeLabelText, "Dummy_keyword", QString( "Range Type" ), "Range Type" );

View File

@ -41,7 +41,6 @@ RimEclipsePropertyFilterCollection::RimEclipsePropertyFilterCollection()
CAF_PDM_InitObject( "Property Filters", ":/CellFilter_Values.png" );
CAF_PDM_InitFieldNoDefault( &m_propertyFilters, "PropertyFilters", "Property Filters" );
m_propertyFilters.uiCapability()->setUiTreeHidden( true );
}
//--------------------------------------------------------------------------------------------------

View File

@ -49,7 +49,6 @@ RimGeoMechPropertyFilter::RimGeoMechPropertyFilter()
// Set to hidden to avoid this item to been displayed as a child item
// Fields in this object are displayed using defineUiOrdering()
resultDefinition.uiCapability()->setUiTreeHidden( true );
resultDefinition.uiCapability()->setUiTreeChildrenHidden( true );
CAF_PDM_InitField( &lowerBound, "LowerBound", 0.0, "Min" );

View File

@ -37,7 +37,6 @@ RimGeoMechPropertyFilterCollection::RimGeoMechPropertyFilterCollection()
CAF_PDM_InitObject( "Property Filters", ":/CellFilter_Values.png" );
CAF_PDM_InitFieldNoDefault( &propertyFilters, "PropertyFilters", "Property Filters" );
propertyFilters.uiCapability()->setUiTreeHidden( true );
}
//--------------------------------------------------------------------------------------------------

View File

@ -42,7 +42,6 @@ Rim3dWellLogCurveCollection::Rim3dWellLogCurveCollection()
CAF_PDM_InitField( &m_showGrid, "Show3dWellLogGrid", true, "Show Grid" );
CAF_PDM_InitField( &m_showBackground, "Show3dWellLogBackground", false, "Show Background" );
CAF_PDM_InitFieldNoDefault( &m_3dWellLogCurves, "ArrayOf3dWellLogCurves", "" );
m_3dWellLogCurves.uiCapability()->setUiTreeHidden( true );
}
//--------------------------------------------------------------------------------------------------

View File

@ -30,7 +30,6 @@ RimEnsembleFractureStatisticsCollection::RimEnsembleFractureStatisticsCollection
CAF_PDM_InitObject( "Ensemble Fracture Statistics", ":/FractureTemplates16x16.png" );
CAF_PDM_InitFieldNoDefault( &m_fractureGroupStatistics, "FractureGroupStatistics", "" );
m_fractureGroupStatistics.uiCapability()->setUiTreeHidden( true );
}
//--------------------------------------------------------------------------------------------------

View File

@ -109,7 +109,6 @@ RimFishbones::RimFishbones()
CAF_PDM_InitFieldNoDefault( &m_valveLocations, "ValveLocations", "Valve Locations" );
m_valveLocations = new RimMultipleValveLocations();
m_valveLocations->findField( "RangeValveCount" )->uiCapability()->setUiName( "Number of Subs" );
m_valveLocations.uiCapability()->setUiTreeHidden( true );
m_valveLocations.uiCapability()->setUiTreeChildrenHidden( true );
CAF_PDM_InitField( &m_subsOrientationMode,
@ -123,7 +122,6 @@ RimFishbones::RimFishbones()
CAF_PDM_InitField( &m_fixedInstallationRotationAngle, "FixedInstallationRotationAngle", 0.0, " Fixed Angle [deg]" );
CAF_PDM_InitFieldNoDefault( &m_pipeProperties, "PipeProperties", "Pipe Properties" );
m_pipeProperties.uiCapability()->setUiTreeHidden( true );
m_pipeProperties.uiCapability()->setUiTreeChildrenHidden( true );
m_pipeProperties = new RimFishbonesPipeProperties;

View File

@ -46,7 +46,6 @@ RimFishbonesCollection::RimFishbonesCollection()
setName( "Fishbones" );
CAF_PDM_InitFieldNoDefault( &m_fishbones, "FishbonesSubs", "fishbonesSubs" );
m_fishbones.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitField( &m_startMD, "StartMD", HUGE_VAL, "Start MD" );
CAF_PDM_InitField( &m_mainBoreDiameter, "MainBoreDiameter", 0.216, "Main Bore Diameter" );

View File

@ -153,7 +153,6 @@ RimFractureTemplate::RimFractureTemplate()
CAF_PDM_InitFieldNoDefault( &m_fractureContainment, "FractureContainmentField", "Fracture Containment" );
m_fractureContainment = new RimFractureContainment();
m_fractureContainment.uiCapability()->setUiTreeHidden( true );
m_fractureContainment.uiCapability()->setUiTreeChildrenHidden( true );
// Non-Darcy Flow options

View File

@ -49,7 +49,6 @@ RimFractureTemplateCollection::RimFractureTemplateCollection()
"Default unit system for fracture templates" );
CAF_PDM_InitFieldNoDefault( &m_fractureDefinitions, "FractureDefinitions", "" );
m_fractureDefinitions.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitField( &m_nextValidFractureTemplateId, "NextValidFractureTemplateId", 0, "" );
m_nextValidFractureTemplateId.uiCapability()->setUiHidden( true );

View File

@ -49,11 +49,9 @@ RimPerforationCollection::RimPerforationCollection()
setName( "Perforations" );
CAF_PDM_InitScriptableFieldNoDefault( &m_perforations, "Perforations", "Perforations" );
m_perforations.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_nonDarcyParameters, "NonDarcyParameters", "Non-Darcy Parameters" );
m_nonDarcyParameters = new RimNonDarcyPerforationParameters();
m_nonDarcyParameters.uiCapability()->setUiTreeHidden( true );
m_nonDarcyParameters.uiCapability()->setUiTreeChildrenHidden( true );
}

View File

@ -61,7 +61,6 @@ RimPerforationInterval::RimPerforationInterval()
CAF_PDM_InitField( &m_endDate, "EndDate", QDateTime::currentDateTime(), "End Date" );
CAF_PDM_InitFieldNoDefault( &m_valves, "Valves", "Valves" );
m_valves.uiCapability()->setUiTreeHidden( true );
nameField()->uiCapability()->setUiReadOnly( true );

View File

@ -31,7 +31,6 @@ RimSimWellFractureCollection::RimSimWellFractureCollection()
CAF_PDM_InitObject( "Fractures", ":/FractureLayout16x16.png" );
CAF_PDM_InitFieldNoDefault( &simwellFractures, "Fractures", "" );
simwellFractures.uiCapability()->setUiTreeHidden( true );
setDeletable( true );
}

View File

@ -51,7 +51,6 @@ RimValveTemplate::RimValveTemplate()
CAF_PDM_InitFieldNoDefault( &m_aicdParameters, "AICDParameters", "AICD Parameters" );
m_aicdParameters = new RimWellPathAicdParameters;
m_aicdParameters.uiCapability()->setUiTreeHidden( true );
m_aicdParameters.uiCapability()->setUiTreeChildrenHidden( true );
}

View File

@ -32,7 +32,6 @@ RimValveTemplateCollection::RimValveTemplateCollection()
CAF_PDM_InitFieldNoDefault( &m_valveDefinitions, "ValveDefinitions", "" );
CAF_PDM_InitFieldNoDefault( &m_defaultUnitsForValveTemplates, "ValveUnits", "Default unit system for valve templates" );
m_defaultUnitsForValveTemplates = RiaDefines::EclipseUnitSystem::UNITS_METRIC;
m_valveDefinitions.uiCapability()->setUiTreeHidden( true );
addDefaultValveTemplates();
}

View File

@ -98,7 +98,6 @@ RimWellPathCompletionSettings::RimWellPathCompletionSettings()
CAF_PDM_InitFieldNoDefault( &m_mswParameters, "MswParameters", "Multi Segment Well Parameters" );
m_mswParameters = new RimMswCompletionParameters;
m_mswParameters.uiCapability()->setUiTreeHidden( true );
m_mswParameters.uiCapability()->setUiTreeChildrenHidden( true );
CAF_PDM_InitScriptableFieldNoDefault( &m_mswLinerDiameter, "MswLinerDiameter", "MSW Liner Diameter" );

View File

@ -55,19 +55,15 @@ RimWellPathCompletions::RimWellPathCompletions()
CAF_PDM_InitScriptableFieldNoDefault( &m_perforationCollection, "Perforations", "Perforations" );
m_perforationCollection = new RimPerforationCollection;
m_perforationCollection.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_fishbonesCollection, "Fishbones", "Fishbones" );
m_fishbonesCollection = new RimFishbonesCollection;
m_fishbonesCollection.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_fractureCollection, "Fractures", "Fractures" );
m_fractureCollection = new RimWellPathFractureCollection;
m_fractureCollection.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_stimPlanModelCollection, "StimPlanModels", "StimPlan Models" );
m_stimPlanModelCollection = new RimStimPlanModelCollection;
m_stimPlanModelCollection.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitField( &m_wellNameForExport_OBSOLETE, "WellNameForExport", QString(), "Well Name" );
m_wellNameForExport_OBSOLETE.xmlCapability()->setIOWritable( false );

View File

@ -33,7 +33,6 @@ RimWellPathFractureCollection::RimWellPathFractureCollection()
CAF_PDM_InitObject( "Fractures", ":/FractureLayout16x16.png" );
CAF_PDM_InitFieldNoDefault( &m_fractures, "Fractures", "" );
m_fractures.uiCapability()->setUiTreeHidden( true );
setName( "Fractures" );
nameField()->uiCapability()->setUiHidden( true );

View File

@ -54,7 +54,6 @@ RimWellPathValve::RimWellPathValve()
m_measuredDepth.uiCapability()->setUiEditorTypeName( caf::PdmUiDoubleSliderEditor::uiEditorTypeName() );
m_multipleValveLocations = new RimMultipleValveLocations;
m_multipleValveLocations.uiCapability()->setUiTreeHidden( true );
m_multipleValveLocations.uiCapability()->setUiTreeChildrenHidden( true );
m_editValveTemplate.uiCapability()->setUiLabelPosition( caf::PdmUiItemInfo::HIDDEN );
m_editValveTemplate.uiCapability()->setUiEditorTypeName( caf::PdmUiToolButtonEditor::uiEditorTypeName() );

View File

@ -64,7 +64,6 @@ RimAbstractCorrelationPlot::RimAbstractCorrelationPlot()
CAF_PDM_InitFieldNoDefault( &m_dataSources, "AnalysisPlotData", "" );
m_dataSources.uiCapability()->setUiTreeChildrenHidden( true );
m_dataSources.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_pushButtonSelectSummaryAddress, "SelectAddress", "" );
caf::PdmUiPushButtonEditor::configureEditorForField( &m_pushButtonSelectSummaryAddress );

View File

@ -38,9 +38,6 @@ RimCorrelationPlotCollection::RimCorrelationPlotCollection()
CAF_PDM_InitFieldNoDefault( &m_correlationPlots, "CorrelationPlots", "Correlation Plots" );
CAF_PDM_InitFieldNoDefault( &m_correlationReports, "CorrelationReports", "Correlation Reports" );
m_correlationPlots.uiCapability()->setUiTreeHidden( true );
m_correlationReports.uiCapability()->setUiTreeHidden( true );
}
//--------------------------------------------------------------------------------------------------

View File

@ -98,7 +98,6 @@ RimFaultInViewCollection::RimFaultInViewCollection()
caf::PdmUiNativeCheckBoxEditor::configureFieldForEditor( &m_hideNNCsWhenNoResultIsAvailable );
CAF_PDM_InitFieldNoDefault( &m_faults, "Faults", "Faults" );
m_faults.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitField( &m_showFaultsOutsideFilters_obsolete, "ShowFaultsOutsideFilters", true, "Show Faults Outside Filters" );
m_showFaultsOutsideFilters_obsolete.xmlCapability()->setIOWritable( false );

View File

@ -137,7 +137,6 @@ RimFaultReactivationModel::RimFaultReactivationModel()
CAF_PDM_InitFieldNoDefault( &m_targets, "Targets", "Targets" );
m_targets.uiCapability()->setUiEditorTypeName( caf::PdmUiTableViewEditor::uiEditorTypeName() );
m_targets.uiCapability()->setUiTreeChildrenHidden( true );
m_targets.uiCapability()->setUiTreeHidden( true );
m_targets.uiCapability()->setUiLabelPosition( caf::PdmUiItemInfo::TOP );
m_targets.uiCapability()->setCustomContextMenuEnabled( false );

View File

@ -45,7 +45,6 @@ RimFaultReactivationModelCollection::RimFaultReactivationModelCollection()
CAF_PDM_InitField( &m_userDescription, "UserDescription", QString( "Fault Reactivation Models" ), "Name" );
CAF_PDM_InitFieldNoDefault( &m_models, "FaultReactivationModels", "Models" );
m_models.uiCapability()->setUiTreeHidden( true );
m_models.uiCapability()->setUiHidden( true );
setName( "Fault Reactivation Models" );

View File

@ -38,19 +38,14 @@ RimFlowPlotCollection::RimFlowPlotCollection()
CAF_PDM_InitObject( "Flow Diagnostics Plots", ":/WellAllocPlots16x16.png" );
CAF_PDM_InitFieldNoDefault( &m_flowCharacteristicsPlot, "FlowCharacteristicsPlot", "" );
m_flowCharacteristicsPlot.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_defaultWellConnectivityTable, "DefaultWellConnectivityTable", "" );
m_defaultWellConnectivityTable.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_defaultWellAllocOverTimePlot, "DefaultWellAllocationOverTimePlot", "" );
m_defaultWellAllocOverTimePlot.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_defaultWellAllocPlot, "DefaultWellAllocationPlot", "" );
m_defaultWellAllocPlot.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_wellDistributionPlotCollection, "WellDistributionPlotCollection", "" );
m_wellDistributionPlotCollection.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_storedWellAllocPlots, "StoredWellAllocationPlots", "Stored Well Allocation Plots" );
CAF_PDM_InitFieldNoDefault( &m_storedFlowCharacteristicsPlots, "StoredFlowCharacteristicsPlots", "Stored Flow Characteristics Plots" );

View File

@ -104,7 +104,6 @@ RimWellAllocationPlot::RimWellAllocationPlot()
CAF_PDM_InitField( &m_groupSmallContributions, "GroupSmallContributions", true, "Group Small Contributions" );
CAF_PDM_InitField( &m_smallContributionsThreshold, "SmallContributionsThreshold", 0.005, "Threshold" );
CAF_PDM_InitFieldNoDefault( &m_accumulatedWellFlowPlot, "AccumulatedWellFlowPlot", "Accumulated Well Flow" );
m_accumulatedWellFlowPlot.uiCapability()->setUiTreeHidden( true );
m_accumulatedWellFlowPlot = new RimWellLogPlot;
m_accumulatedWellFlowPlot->setDepthUnit( RiaDefines::DepthUnitType::UNIT_NONE );
m_accumulatedWellFlowPlot->setDepthType( RiaDefines::DepthTypeEnum::CONNECTION_NUMBER );
@ -112,15 +111,12 @@ RimWellAllocationPlot::RimWellAllocationPlot()
m_accumulatedWellFlowPlot->uiCapability()->setUiIconFromResourceString( ":/WellFlowPlot16x16.png" );
CAF_PDM_InitFieldNoDefault( &m_totalWellAllocationPlot, "TotalWellFlowPlot", "Total Well Flow" );
m_totalWellAllocationPlot.uiCapability()->setUiTreeHidden( true );
m_totalWellAllocationPlot = new RimTotalWellAllocationPlot;
CAF_PDM_InitFieldNoDefault( &m_wellAllocationPlotLegend, "WellAllocLegend", "Legend" );
m_wellAllocationPlotLegend.uiCapability()->setUiTreeHidden( true );
m_wellAllocationPlotLegend = new RimWellAllocationPlotLegend;
CAF_PDM_InitFieldNoDefault( &m_tofAccumulatedPhaseFractionsPlot, "TofAccumulatedPhaseFractionsPlot", "TOF Accumulated Phase Fractions" );
m_tofAccumulatedPhaseFractionsPlot.uiCapability()->setUiTreeHidden( true );
m_tofAccumulatedPhaseFractionsPlot = new RimTofAccumulatedPhaseFractionsPlot;
setAsPlotMdiWindow();

View File

@ -70,7 +70,6 @@ RimWellDistributionPlotCollection::RimWellDistributionPlotCollection()
CAF_PDM_InitField( &m_maximumTof, "MaximumTOF", 20.0, "Maximum Time of Flight [0, 200]" );
CAF_PDM_InitFieldNoDefault( &m_plots, "Plots", "" );
m_plots.uiCapability()->setUiTreeHidden( true );
m_plots.uiCapability()->setUiTreeChildrenHidden( true );
CAF_PDM_InitField( &m_showOil, "ShowOil", true, "Show Oil" );

View File

@ -105,7 +105,6 @@ RimWellPltPlot::RimWellPltPlot()
CAF_PDM_InitObject( "Well Allocation Plot", ":/WellFlowPlot16x16.png" );
CAF_PDM_InitFieldNoDefault( &m_wellLogPlot_OBSOLETE, "WellLog", "WellLog" );
m_wellLogPlot_OBSOLETE.uiCapability()->setUiTreeHidden( true );
m_wellLogPlot_OBSOLETE.xmlCapability()->setIOWritable( false );
CAF_PDM_InitFieldNoDefault( &m_wellPathName, "WellName", "Well Name" );
@ -117,7 +116,6 @@ RimWellPltPlot::RimWellPltPlot()
m_selectedSources.xmlCapability()->disableIO();
CAF_PDM_InitFieldNoDefault( &m_selectedSourcesForIo, "Sources", "Sources" );
m_selectedSourcesForIo.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_selectedTimeSteps, "TimeSteps", "Time Steps" );
m_selectedTimeSteps.uiCapability()->setUiEditorTypeName( caf::PdmUiTreeSelectionEditor::uiEditorTypeName() );

View File

@ -95,7 +95,6 @@ RimWellRftPlot::RimWellRftPlot()
CAF_PDM_InitField( &m_showErrorInObservedData, "ShowErrorObserved", true, "Show Observed Data Error" );
CAF_PDM_InitFieldNoDefault( &m_wellLogPlot_OBSOLETE, "WellLog", "Well Log" );
m_wellLogPlot_OBSOLETE.uiCapability()->setUiTreeHidden( true );
m_wellLogPlot_OBSOLETE.xmlCapability()->setIOWritable( false );
m_depthType = RiaDefines::DepthTypeEnum::TRUE_VERTICAL_DEPTH;

View File

@ -106,7 +106,6 @@ RimGeoMechCase::RimGeoMechCase()
"The Abaqus Based GeoMech Case" );
CAF_PDM_InitScriptableFieldWithScriptKeywordNoDefault( &geoMechViews, "GeoMechViews", "Views", "", "", "", "All GeoMech Views in the Case" );
geoMechViews.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitField( &m_cohesion, "CaseCohesion", 10.0, "Cohesion", "", "Used to calculate the SE:SFI result", "" );
CAF_PDM_InitField( &m_frictionAngleDeg, "FrctionAngleDeg", 30.0, "Friction Angle [Deg]", "", "Used to calculate the SE:SFI result", "" );
@ -147,11 +146,9 @@ RimGeoMechCase::RimGeoMechCase()
CAF_PDM_InitFieldNoDefault( &m_contourMapCollection, "ContourMaps", "2d Contour Maps" );
m_contourMapCollection = new RimGeoMechContourMapViewCollection;
m_contourMapCollection.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_mudWeightWindowParameters, "MudWeightWindowParameters", "Mud Weight Window Parameters" );
m_mudWeightWindowParameters = new RimMudWeightWindowParameters;
m_mudWeightWindowParameters.uiCapability()->setUiTreeHidden( true );
m_displayNameOption = RimCaseDisplayNameTools::DisplayName::CUSTOM;
m_displayNameOption.uiCapability()->setUiHidden( true );

View File

@ -34,7 +34,6 @@ RimGeoMechCellColors::RimGeoMechCellColors()
{
CAF_PDM_InitFieldNoDefault( &legendConfig, "LegendDefinition", "Color Legend" );
legendConfig = new RimRegularLegendConfig();
legendConfig.uiCapability()->setUiTreeHidden( true );
legendConfig->changed.connect( this, &RimGeoMechCellColors::onLegendConfigChanged );
}

View File

@ -13,7 +13,6 @@ RimGeoMechContourMapViewCollection::RimGeoMechContourMapViewCollection()
CAF_PDM_InitObject( "GeoMech Contour Maps", ":/2DMaps16x16.png" );
CAF_PDM_InitFieldNoDefault( &m_contourMapViews, "GeoMechViews", "Contour Maps", ":/CrossSection16x16.png" );
m_contourMapViews.uiCapability()->setUiTreeHidden( true );
}
//--------------------------------------------------------------------------------------------------

View File

@ -37,7 +37,6 @@ RimGeoMechModels::RimGeoMechModels()
CAF_PDM_InitObject( "Geomechanical Models", ":/GeoMechCases48x48.png" );
CAF_PDM_InitFieldNoDefault( &m_cases, "Cases", "" );
m_cases.uiCapability()->setUiTreeHidden( true );
}
//--------------------------------------------------------------------------------------------------

View File

@ -44,7 +44,6 @@ RimGeoMechPartCollection::RimGeoMechPartCollection()
CAF_PDM_InitScriptableObject( "Parts", ":/GeoMechCase24x24.png" );
CAF_PDM_InitScriptableFieldNoDefault( &m_parts, "Parts", "Parts" );
m_parts.uiCapability()->setUiTreeHidden( true );
setDeletable( false );
}

View File

@ -93,22 +93,18 @@ RimGeoMechView::RimGeoMechView()
CAF_PDM_InitFieldNoDefault( &cellResult, "GridCellResult", "Color Result", ":/CellResult.png" );
cellResult = new RimGeoMechCellColors();
cellResult.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_tensorResults, "TensorResults", "Tensor Results" );
m_tensorResults = new RimTensorResults();
m_tensorResults.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_faultReactivationResult, "FaultReactivationResult", "Fault Reactivation Result" );
m_faultReactivationResult = new RimGeoMechFaultReactivationResult();
CAF_PDM_InitFieldNoDefault( &m_propertyFilterCollection, "PropertyFilters", "Property Filters" );
m_propertyFilterCollection = new RimGeoMechPropertyFilterCollection();
m_propertyFilterCollection.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_partsCollection, "Parts", "Parts" );
m_partsCollection = new RimGeoMechPartCollection();
m_partsCollection.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitField( &m_showDisplacement, "ShowDisplacement", false, "Show Displacement" );
CAF_PDM_InitField( &m_displacementScaling, "DisplacementScaling", 1.0, "Scaling Factor" );

View File

@ -31,7 +31,6 @@ RimPlotCellFilterCollection::RimPlotCellFilterCollection()
CAF_PDM_InitObject( "Plot Cell Filters" );
CAF_PDM_InitFieldNoDefault( &m_cellFilters, "CellFilters", "Cell Filters" );
m_cellFilters.uiCapability()->setUiTreeHidden( true );
setName( "Filter Collection" );
}

View File

@ -47,7 +47,6 @@ RimPlotCellPropertyFilter::RimPlotCellPropertyFilter()
// Set to hidden to avoid this item to been displayed as a child item
// Fields in this object are displayed using defineUiOrdering()
m_resultDefinition.uiCapability()->setUiTreeHidden( true );
m_resultDefinition.uiCapability()->setUiTreeChildrenHidden( true );
CAF_PDM_InitField( &m_lowerBound, "LowerBound", 0.0, "Min" );

View File

@ -58,18 +58,15 @@ RimGridCrossPlot::RimGridCrossPlot()
CAF_PDM_InitField( &m_showInfoBox, "ShowInfoBox", true, "Show Info Box" );
CAF_PDM_InitFieldNoDefault( &m_nameConfig, "NameConfig", "Name Config" );
m_nameConfig.uiCapability()->setUiTreeHidden( true );
m_nameConfig.uiCapability()->setUiTreeChildrenHidden( true );
m_nameConfig = new RimGridCrossPlotNameConfig();
CAF_PDM_InitFieldNoDefault( &m_xAxisProperties, "xAxisProperties", "X Axis" );
m_xAxisProperties.uiCapability()->setUiTreeHidden( true );
m_xAxisProperties = new RimPlotAxisProperties;
m_xAxisProperties->setNameAndAxis( "X-Axis", "X-Axis", RiaDefines::PlotAxis::PLOT_AXIS_BOTTOM );
m_xAxisProperties->setEnableTitleTextSettings( false );
CAF_PDM_InitFieldNoDefault( &m_yAxisProperties, "yAxisProperties", "Y Axis" );
m_yAxisProperties.uiCapability()->setUiTreeHidden( true );
m_yAxisProperties = new RimPlotAxisProperties;
m_yAxisProperties->setNameAndAxis( "Y-Axis", "Y-Axis", RiaDefines::PlotAxis::PLOT_AXIS_LEFT );
m_yAxisProperties->setEnableTitleTextSettings( false );
@ -78,7 +75,6 @@ RimGridCrossPlot::RimGridCrossPlot()
connectAxisSignals( m_yAxisProperties() );
CAF_PDM_InitFieldNoDefault( &m_crossPlotDataSets, "CrossPlotCurve", "Cross Plot Data Set" );
m_crossPlotDataSets.uiCapability()->setUiTreeHidden( true );
setDeletable( true );
}

View File

@ -30,7 +30,6 @@ RimGridCrossPlotCollection::RimGridCrossPlotCollection()
CAF_PDM_InitObject( "Grid Cross Plots", ":/SummaryXPlotsLight16x16.png" );
CAF_PDM_InitFieldNoDefault( &m_gridCrossPlots, "GridCrossPlots", "Grid Cross Plots" );
m_gridCrossPlots.uiCapability()->setUiTreeHidden( true );
}
//--------------------------------------------------------------------------------------------------

View File

@ -100,13 +100,11 @@ RimGridCrossPlotDataSet::RimGridCrossPlotDataSet()
CAF_PDM_InitFieldNoDefault( &m_xAxisProperty, "XAxisProperty", "X-Axis Property" );
m_xAxisProperty = new RimEclipseResultDefinition( caf::PdmUiItemInfo::TOP );
m_xAxisProperty.uiCapability()->setUiTreeHidden( true );
m_xAxisProperty.uiCapability()->setUiTreeChildrenHidden( true );
m_xAxisProperty->setTernaryEnabled( false );
CAF_PDM_InitFieldNoDefault( &m_yAxisProperty, "YAxisProperty", "Y-Axis Property" );
m_yAxisProperty = new RimEclipseResultDefinition( caf::PdmUiItemInfo::TOP );
m_yAxisProperty.uiCapability()->setUiTreeHidden( true );
m_yAxisProperty.uiCapability()->setUiTreeChildrenHidden( true );
m_yAxisProperty->setTernaryEnabled( false );
@ -114,18 +112,15 @@ RimGridCrossPlotDataSet::RimGridCrossPlotDataSet()
CAF_PDM_InitFieldNoDefault( &m_groupingProperty, "GroupingProperty", "Data Grouping Property" );
m_groupingProperty = new RimEclipseCellColors;
m_groupingProperty->useDiscreteLogLevels( true );
m_groupingProperty.uiCapability()->setUiTreeHidden( true );
CVF_ASSERT( m_groupingProperty->legendConfig() );
m_groupingProperty->legendConfig()->setMappingMode( RimRegularLegendConfig::MappingType::CATEGORY_INTEGER );
m_groupingProperty->setTernaryEnabled( false );
CAF_PDM_InitFieldNoDefault( &m_nameConfig, "NameConfig", "Name" );
m_nameConfig = new RimGridCrossPlotDataSetNameConfig();
m_nameConfig.uiCapability()->setUiTreeHidden( true );
m_nameConfig.uiCapability()->setUiTreeChildrenHidden( true );
CAF_PDM_InitFieldNoDefault( &m_crossPlotCurves, "CrossPlotCurves", "Curves" );
m_crossPlotCurves.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_crossPlotRegressionCurves, "CrossPlotRegressionCurves", "Regression Curves", ":/regression-curve.svg" );
@ -133,7 +128,6 @@ RimGridCrossPlotDataSet::RimGridCrossPlotDataSet()
CAF_PDM_InitField( &m_customColor, "CustomColor", cvf::Color3f( cvf::Color3f::BLACK ), "Custom Color" );
CAF_PDM_InitFieldNoDefault( &m_plotCellFilterCollection, "PlotCellFilterCollection", "Cell Filters" );
m_plotCellFilterCollection.uiCapability()->setUiTreeHidden( true );
m_plotCellFilterCollection.uiCapability()->setUiTreeChildrenHidden( true );
m_plotCellFilterCollection = new RimPlotCellFilterCollection;

View File

@ -108,7 +108,6 @@ RimGridCrossPlotRegressionCurve::RimGridCrossPlotRegressionCurve()
auto rectAnnotation = new RimPlotRectAnnotation;
rectAnnotation->setName( "Data Selection" );
m_rectAnnotations.push_back( rectAnnotation );
m_rectAnnotations.uiCapability()->setUiTreeHidden( true );
m_rectAnnotations.uiCapability()->setUiTreeChildrenHidden( true );
setCheckState( false );

View File

@ -37,7 +37,6 @@ RimSaturationPressurePlotCollection::RimSaturationPressurePlotCollection()
CAF_PDM_InitObject( "Saturation Pressure Plots", ":/SummaryXPlotsLight16x16.png" );
CAF_PDM_InitFieldNoDefault( &m_saturationPressurePlots, "SaturationPressurePlots", "Saturation Pressure Plots" );
m_saturationPressurePlots.uiCapability()->setUiTreeHidden( true );
}
//--------------------------------------------------------------------------------------------------

View File

@ -56,10 +56,8 @@ RimIntersectionCollection::RimIntersectionCollection()
CAF_PDM_InitScriptableObject( "Intersections", ":/CrossSections16x16.png" );
CAF_PDM_InitFieldNoDefault( &m_intersections, "CrossSections", "Intersections" );
m_intersections.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_intersectionBoxes, "IntersectionBoxes", "IntersectionBoxes" );
m_intersectionBoxes.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitField( &m_isActive, "Active", true, "Active" );
m_isActive.uiCapability()->setUiHidden( true );

View File

@ -60,22 +60,18 @@ RimIntersectionResultDefinition::RimIntersectionResultDefinition()
m_autoName.xmlCapability()->setIOWritable( false );
CAF_PDM_InitFieldNoDefault( &m_eclipseResultDefinition, "EclipseResultDef", "EclipseResultDef" );
m_eclipseResultDefinition.uiCapability()->setUiTreeHidden( true );
m_eclipseResultDefinition.uiCapability()->setUiTreeChildrenHidden( true );
m_eclipseResultDefinition = new RimEclipseResultDefinition;
CAF_PDM_InitFieldNoDefault( &m_geomResultDefinition, "GeoMechResultDef", "GeoMechResultDef" );
m_geomResultDefinition.uiCapability()->setUiTreeHidden( true );
m_geomResultDefinition.uiCapability()->setUiTreeChildrenHidden( true );
m_geomResultDefinition = new RimGeoMechResultDefinition;
CAF_PDM_InitFieldNoDefault( &m_legendConfig, "LegendConfig", "Legend" );
m_legendConfig.uiCapability()->setUiTreeHidden( true );
m_legendConfig.uiCapability()->setUiTreeChildrenHidden( false );
m_legendConfig = new RimRegularLegendConfig;
CAF_PDM_InitFieldNoDefault( &m_ternaryLegendConfig, "TernaryLegendConfig", "Legend" );
m_ternaryLegendConfig.uiCapability()->setUiTreeHidden( true );
m_ternaryLegendConfig.uiCapability()->setUiTreeChildrenHidden( false );
m_ternaryLegendConfig = new RimTernaryLegendConfig;

View File

@ -36,7 +36,6 @@ RimIntersectionResultsDefinitionCollection::RimIntersectionResultsDefinitionColl
m_isActive.uiCapability()->setUiHidden( true );
CAF_PDM_InitFieldNoDefault( &m_intersectionResultsDefs, "IntersectionResultDefinitions", "Data Sources" );
m_intersectionResultsDefs.uiCapability()->setUiTreeHidden( true );
m_intersectionResultsDefs.push_back( new RimIntersectionResultDefinition ); // Add the default result definition
}

View File

@ -72,7 +72,6 @@ RimParameterGroup::RimParameterGroup()
CAF_PDM_InitFieldNoDefault( &m_lists, "ParameterLists", "Parameter Lists" );
m_lists.uiCapability()->setUiHidden( true );
m_lists.uiCapability()->setUiTreeHidden( true );
m_lists.uiCapability()->setUiTreeChildrenHidden( true );
}

View File

@ -34,7 +34,6 @@ RimParameterList::RimParameterList()
CAF_PDM_InitFieldNoDefault( &m_parameterNames, "ParameterNames", "Parameters" );
m_parameterNames.uiCapability()->setUiHidden( true );
m_parameterNames.uiCapability()->setUiTreeHidden( true );
m_parameterNames.uiCapability()->setUiTreeChildrenHidden( true );
CAF_PDM_InitField( &m_name, "Name", QString(), "Name" );

View File

@ -40,9 +40,7 @@ RimPlotTemplateFolderItem::RimPlotTemplateFolderItem()
CAF_PDM_InitFieldNoDefault( &m_folderName, "FolderName", "Folder" );
m_folderName.uiCapability()->setUiReadOnly( true );
CAF_PDM_InitFieldNoDefault( &m_fileNames, "FileNames", "" );
m_fileNames.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_subFolders, "SubFolders", "" );
m_subFolders.uiCapability()->setUiTreeHidden( true );
}
//--------------------------------------------------------------------------------------------------

View File

@ -70,13 +70,11 @@ Rim2dIntersectionView::Rim2dIntersectionView()
m_intersection.uiCapability()->setUiHidden( true );
CAF_PDM_InitFieldNoDefault( &m_legendConfig, "LegendDefinition", "Color Legend" );
m_legendConfig.uiCapability()->setUiTreeHidden( true );
m_legendConfig.uiCapability()->setUiTreeChildrenHidden( true );
m_legendConfig.xmlCapability()->disableIO();
m_legendConfig = new RimRegularLegendConfig();
CAF_PDM_InitFieldNoDefault( &m_ternaryLegendConfig, "TernaryLegendDefinition", "Ternary Color Legend" );
m_ternaryLegendConfig.uiCapability()->setUiTreeHidden( true );
m_ternaryLegendConfig.uiCapability()->setUiTreeChildrenHidden( true );
m_ternaryLegendConfig.xmlCapability()->disableIO();
m_ternaryLegendConfig = new RimTernaryLegendConfig();

View File

@ -32,7 +32,6 @@ Rim2dIntersectionViewCollection::Rim2dIntersectionViewCollection()
CAF_PDM_InitObject( "2D Intersection Views", ":/CrossSection16x16.png" );
CAF_PDM_InitFieldNoDefault( &m_intersectionViews, "IntersectionViews", "Intersection Views", ":/CrossSection16x16.png" );
m_intersectionViews.uiCapability()->setUiTreeHidden( true );
}
//--------------------------------------------------------------------------------------------------

View File

@ -67,12 +67,10 @@ RimCase::RimCase()
CAF_PDM_InitFieldNoDefault( &m_activeFormationNames, "DefaultFormationNames", "Formation Names File" );
CAF_PDM_InitFieldNoDefault( &m_timeStepFilter, "TimeStepFilter", "Time Step Filter" );
m_timeStepFilter.uiCapability()->setUiTreeHidden( true );
m_timeStepFilter.uiCapability()->setUiTreeChildrenHidden( true );
m_timeStepFilter = new RimTimeStepFilter;
CAF_PDM_InitFieldNoDefault( &m_2dIntersectionViewCollection, "IntersectionViewCollection", "2D Intersection Views", ":/CrossSections16x16.png" );
m_2dIntersectionViewCollection.uiCapability()->setUiTreeHidden( true );
m_2dIntersectionViewCollection = new Rim2dIntersectionViewCollection();
}

View File

@ -33,7 +33,6 @@ RimCaseCollection::RimCaseCollection()
CAF_PDM_InitObject( "Derived Statistics" );
CAF_PDM_InitFieldNoDefault( &reservoirs, "Reservoirs", "Reservoirs ChildArrayField" );
reservoirs.uiCapability()->setUiTreeHidden( true );
}
//--------------------------------------------------------------------------------------------------

View File

@ -40,7 +40,6 @@ RimColorLegend::RimColorLegend()
CAF_PDM_InitField( &m_colorLegendName, "ColorLegendName", QString( "" ), "Color Legend Name" );
CAF_PDM_InitFieldNoDefault( &m_colorLegendItems, "ColorLegendItems", "" );
m_colorLegendItems.uiCapability()->setUiTreeHidden( true );
setDeletable( true );
}

View File

@ -49,7 +49,6 @@ RimCustomObjectiveFunctionWeight::RimCustomObjectiveFunctionWeight()
m_objectiveValuesSummaryAddressesUiField.uiCapability()->setUiEditorTypeName( caf::PdmUiLineEditor::uiEditorTypeName() );
CAF_PDM_InitFieldNoDefault( &m_objectiveValuesSummaryAddresses, "ObjectiveSummaryAddress", "Summary Address" );
m_objectiveValuesSummaryAddresses.uiCapability()->setUiTreeHidden( true );
m_objectiveValuesSummaryAddresses.uiCapability()->setUiTreeChildrenHidden( true );
CAF_PDM_InitFieldNoDefault( &m_objectiveValuesSelectSummaryAddressPushButton, "SelectObjectiveSummaryAddress", "" );

View File

@ -103,7 +103,6 @@ RimDepthTrackPlot::RimDepthTrackPlot()
CAF_PDM_InitObject( "Depth Track Plot", "", "", "A Plot With a shared Depth Axis and Multiple Tracks" );
CAF_PDM_InitFieldNoDefault( &m_commonDataSource, "CommonDataSource", "Data Source", "", "Change the Data Source of All Curves in the Plot", "" );
m_commonDataSource.uiCapability()->setUiTreeHidden( true );
m_commonDataSource.uiCapability()->setUiTreeChildrenHidden( true );
m_commonDataSource.xmlCapability()->disableIO();
m_commonDataSource = new RimWellLogCurveCommonDataSource;
@ -139,7 +138,6 @@ RimDepthTrackPlot::RimDepthTrackPlot()
CAF_PDM_InitScriptableField( &m_autoZoomMaxDepthFactor, "AutoZoomMaxDepthFactor", 0.0, "Auto Zoom Maximum Factor" );
CAF_PDM_InitFieldNoDefault( &m_depthAnnotations, "DepthAnnotations", "Depth Annotations" );
m_depthAnnotations.uiCapability()->setUiTreeHidden( true );
m_depthAnnotations.uiCapability()->setUiTreeChildrenHidden( true );
CAF_PDM_InitScriptableFieldNoDefault( &m_subTitleFontSize, "SubTitleFontSize", "Track Title Font Size" );
@ -147,7 +145,6 @@ RimDepthTrackPlot::RimDepthTrackPlot()
CAF_PDM_InitScriptableFieldNoDefault( &m_axisValueFontSize, "AxisValueFontSize", "Axis Value Font Size" );
CAF_PDM_InitFieldNoDefault( &m_nameConfig, "NameConfig", "" );
m_nameConfig.uiCapability()->setUiTreeHidden( true );
m_nameConfig.uiCapability()->setUiTreeChildrenHidden( true );
m_nameConfig = new RimWellLogPlotNameConfig();
@ -155,7 +152,6 @@ RimDepthTrackPlot::RimDepthTrackPlot()
CAF_PDM_InitFieldNoDefault( &m_depthEqualization, "DepthEqualization", "Depth Equalization" );
CAF_PDM_InitFieldNoDefault( &m_plots, "Tracks", "Tracks" );
m_plots.uiCapability()->setUiTreeHidden( true );
auto reorderability = caf::PdmFieldReorderCapability::addToField( &m_plots );
reorderability->orderChanged.connect( this, &RimDepthTrackPlot::onPlotsReordered );

View File

@ -92,12 +92,9 @@ RimEclipseCase::RimEclipseCase()
CAF_PDM_InitScriptableObjectWithNameAndComment( "EclipseCase", ":/Case48x48.png", "", "", "Reservoir", "Abstract base class for Eclipse Cases" );
CAF_PDM_InitScriptableFieldWithScriptKeywordNoDefault( &reservoirViews, "ReservoirViews", "Views", "", "", "", "All Eclipse Views in the case" );
reservoirViews.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_matrixModelResults, "MatrixModelResults", "" );
m_matrixModelResults.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_fractureModelResults, "FractureModelResults", "" );
m_fractureModelResults.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitField( &m_flipXAxis, "FlipXAxis", false, "Flip X Axis" );
CAF_PDM_InitField( &m_flipYAxis, "FlipYAxis", false, "Flip Y Axis" );
@ -108,7 +105,6 @@ RimEclipseCase::RimEclipseCase()
CAF_PDM_InitFieldNoDefault( &m_contourMapCollection, "ContourMaps", "2d Contour Maps" );
m_contourMapCollection = new RimEclipseContourMapViewCollection;
m_contourMapCollection.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_inputPropertyCollection, "InputPropertyCollection", "" );
m_inputPropertyCollection = new RimEclipseInputPropertyCollection;
@ -116,17 +112,14 @@ RimEclipseCase::RimEclipseCase()
CAF_PDM_InitFieldNoDefault( &m_resultAddressCollections, "ResultAddressCollections", "Result Addresses" );
m_resultAddressCollections.uiCapability()->setUiHidden( true );
m_resultAddressCollections.uiCapability()->setUiTreeHidden( true );
m_resultAddressCollections.xmlCapability()->disableIO();
// Init
m_matrixModelResults = new RimReservoirCellResultsStorage;
m_matrixModelResults.uiCapability()->setUiTreeHidden( true );
m_matrixModelResults.uiCapability()->setUiTreeChildrenHidden( true );
m_fractureModelResults = new RimReservoirCellResultsStorage;
m_fractureModelResults.uiCapability()->setUiTreeHidden( true );
m_fractureModelResults.uiCapability()->setUiTreeChildrenHidden( true );
setReservoirData( nullptr );

View File

@ -44,10 +44,8 @@ RimEclipseCaseCollection::RimEclipseCaseCollection()
CAF_PDM_InitObject( "Grid Models", ":/Cases16x16.png" );
CAF_PDM_InitFieldNoDefault( &cases, "Reservoirs", "" );
cases.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &caseGroups, "CaseGroups", "" );
caseGroups.uiCapability()->setUiTreeHidden( true );
m_gridCollection = new RigGridManager;
}

View File

@ -66,7 +66,6 @@ RimEclipseContourMapProjection::RimEclipseContourMapProjection()
CAF_PDM_InitField( &m_weightByParameter, "WeightByParameter", false, "Weight by Result Parameter" );
CAF_PDM_InitFieldNoDefault( &m_weightingResult, "WeightingResult", "" );
m_weightingResult.uiCapability()->setUiTreeHidden( true );
m_weightingResult.uiCapability()->setUiTreeChildrenHidden( true );
m_weightingResult = new RimEclipseResultDefinition;
m_weightingResult->findField( "MResultType" )->uiCapability()->setUiName( "Result Type" );

View File

@ -13,7 +13,6 @@ RimEclipseContourMapViewCollection::RimEclipseContourMapViewCollection()
CAF_PDM_InitObject( "Contour Maps", ":/2DMaps16x16.png" );
CAF_PDM_InitFieldNoDefault( &m_contourMapViews, "EclipseViews", "Contour Maps", ":/CrossSection16x16.png" );
m_contourMapViews.uiCapability()->setUiTreeHidden( true );
}
//--------------------------------------------------------------------------------------------------

View File

@ -42,7 +42,6 @@ RimEclipseFaultColors::RimEclipseFaultColors()
CAF_PDM_InitFieldNoDefault( &m_customFaultResultColors, "CustomResultSlot", "Custom Fault Result", ":/CellResult.png" );
m_customFaultResultColors = new RimEclipseCellColors();
m_customFaultResultColors.uiCapability()->setUiTreeHidden( true );
m_customFaultResultColors->enableDeltaResults( true );
}

View File

@ -34,7 +34,6 @@ RimEclipseInputPropertyCollection::RimEclipseInputPropertyCollection()
CAF_PDM_InitObject( "Input Properties", ":/EclipseInput48x48.png" );
CAF_PDM_InitFieldNoDefault( &inputProperties, "InputProperties", "" );
inputProperties.uiCapability()->setUiTreeHidden( true );
}
//--------------------------------------------------------------------------------------------------

View File

@ -32,7 +32,6 @@ RimEclipseResultAddressCollection::RimEclipseResultAddressCollection()
CAF_PDM_InitObject( "Folder", ":/Folder.png", "", "" );
CAF_PDM_InitFieldNoDefault( &m_adresses, "Addresses", "Addresses" );
m_adresses.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_resultType, "ResultType", "Type" );
m_resultType.uiCapability()->setUiHidden( true );

View File

@ -93,7 +93,6 @@ RimEclipseResultCase::RimEclipseResultCase()
m_unitSystem.uiCapability()->setUiReadOnly( true );
CAF_PDM_InitFieldNoDefault( &m_flowDiagSolutions, "FlowDiagSolutions", "Flow Diagnostics Solutions" );
m_flowDiagSolutions.uiCapability()->setUiTreeHidden( true );
m_flowDiagSolutions.uiCapability()->setUiTreeChildrenHidden( true );
m_flipXAxis.xmlCapability()->setIOWritable( true );

View File

@ -34,7 +34,6 @@ RimEclipseStatisticsCaseCollection::RimEclipseStatisticsCaseCollection()
CAF_PDM_InitObject( "Derived Statistics" );
CAF_PDM_InitFieldNoDefault( &cases, "Reservoirs", "" );
cases.uiCapability()->setUiTreeHidden( true );
}
//--------------------------------------------------------------------------------------------------

View File

@ -146,52 +146,40 @@ RimEclipseView::RimEclipseView()
CAF_PDM_InitScriptableFieldWithScriptKeywordNoDefault( &m_cellResult, "GridCellResult", "CellResult", "Cell Result", ":/CellResult.png" );
m_cellResult = new RimEclipseCellColors();
m_cellResult.uiCapability()->setUiTreeHidden( true );
m_cellResult->enableDeltaResults( true );
CAF_PDM_InitFieldNoDefault( &m_cellEdgeResult, "GridCellEdgeResult", "Cell Edge Result", ":/EdgeResult_1.png" );
m_cellEdgeResult = new RimCellEdgeColors();
m_cellEdgeResult.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_elementVectorResult, "ElementVectorResult", "Vector Result", ":/CellResult.png" );
m_elementVectorResult = new RimElementVectorResult;
m_elementVectorResult.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_faultResultSettings, "FaultResultSettings", "Fault Result" );
m_faultResultSettings = new RimEclipseFaultColors();
m_faultResultSettings.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_fractureColors, "StimPlanColors", "Fracture" );
m_fractureColors = new RimStimPlanColors();
m_fractureColors.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_virtualPerforationResult, "VirtualPerforationResult", "" );
m_virtualPerforationResult = new RimVirtualPerforationResults();
m_virtualPerforationResult.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_wellCollection, "WellCollection", "Simulation Wells" );
m_wellCollection = new RimSimWellInViewCollection;
m_wellCollection.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_faultCollection, "FaultCollection", "Faults" );
m_faultCollection = new RimFaultInViewCollection;
m_faultCollection.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_faultReactivationModelCollection, "FaultReactivationModelCollection", "Fault Reactivation Models" );
m_faultReactivationModelCollection = new RimFaultReactivationModelCollection;
m_faultReactivationModelCollection.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_annotationCollection, "AnnotationCollection", "Annotations" );
m_annotationCollection = new RimAnnotationInViewCollection;
m_annotationCollection.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_streamlineCollection, "StreamlineCollection", "Streamlines" );
m_streamlineCollection = new RimStreamlineInViewCollection();
m_streamlineCollection.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_propertyFilterCollection, "PropertyFilters", "Property Filters" );
m_propertyFilterCollection = new RimEclipsePropertyFilterCollection();
m_propertyFilterCollection.uiCapability()->setUiTreeHidden( true );
// Visualization fields
CAF_PDM_InitField( &m_showInactiveCells, "ShowInactiveCells", false, "Show Inactive Cells" );

View File

@ -75,7 +75,6 @@ RimElementVectorResult::RimElementVectorResult()
CAF_PDM_InitFieldNoDefault( &m_legendConfig, "LegendDefinition", "Color Legend" );
m_legendConfig = new RimRegularLegendConfig();
m_legendConfig.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitField( &m_showOil, "ShowOil", true, "Oil" );
CAF_PDM_InitField( &m_showGas, "ShowGas", true, "Gas" );

View File

@ -33,7 +33,6 @@ RimEnsembleFractureStatisticsPlotCollection::RimEnsembleFractureStatisticsPlotCo
CAF_PDM_InitObject( "Ensemble Fracture Statistics Plots", ":/WellLogPlots16x16.png" );
CAF_PDM_InitFieldNoDefault( &m_ensembleFractureStatisticsPlots, "EnsembleFractureStatisticsPlots", "" );
m_ensembleFractureStatisticsPlots.uiCapability()->setUiTreeHidden( true );
}
//--------------------------------------------------------------------------------------------------

View File

@ -32,7 +32,6 @@ RimFormationNamesCollection::RimFormationNamesCollection()
CAF_PDM_InitObject( "Formations", ":/FormationCollection16x16.png" );
CAF_PDM_InitFieldNoDefault( &m_formationNamesList, "FormationNamesList", "Formations" );
m_formationNamesList.uiCapability()->setUiTreeHidden( true );
setDeletable( true );
}

View File

@ -156,8 +156,6 @@ RimGridInfoCollection::RimGridInfoCollection()
m_isActive.uiCapability()->setUiHidden( true );
CAF_PDM_InitFieldNoDefault( &m_gridInfos, "GridInfos", "Grid Infos" );
m_gridInfos.uiCapability()->setUiTreeHidden( true );
}
//--------------------------------------------------------------------------------------------------

View File

@ -62,7 +62,6 @@ RimGridStatisticsPlot::RimGridStatisticsPlot()
CAF_PDM_InitFieldNoDefault( &m_property, "Property", "Property" );
m_property = new RimEclipseResultDefinition( caf::PdmUiItemInfo::TOP );
m_property.uiCapability()->setUiTreeHidden( true );
m_property.uiCapability()->setUiTreeChildrenHidden( true );
m_property->setTernaryEnabled( false );

View File

@ -33,7 +33,6 @@ RimGridStatisticsPlotCollection::RimGridStatisticsPlotCollection()
CAF_PDM_InitObject( "Grid Statistics Plots", ":/WellLogPlots16x16.png" );
CAF_PDM_InitFieldNoDefault( &m_gridStatisticsPlots, "GridStatisticsPlots", "" );
m_gridStatisticsPlots.uiCapability()->setUiTreeHidden( true );
}
//--------------------------------------------------------------------------------------------------

View File

@ -59,15 +59,12 @@ RimGridTimeHistoryCurve::RimGridTimeHistoryCurve()
m_geometrySelectionText.uiCapability()->setUiReadOnly( true );
CAF_PDM_InitFieldNoDefault( &m_eclipseResultDefinition, "EclipseResultDefinition", "Eclipse Result Definition" );
m_eclipseResultDefinition.uiCapability()->setUiTreeHidden( true );
m_eclipseResultDefinition.uiCapability()->setUiTreeChildrenHidden( true );
CAF_PDM_InitFieldNoDefault( &m_geoMechResultDefinition, "GeoMechResultDefinition", "GeoMech Result Definition" );
m_geoMechResultDefinition.uiCapability()->setUiTreeHidden( true );
m_geoMechResultDefinition.uiCapability()->setUiTreeChildrenHidden( true );
CAF_PDM_InitFieldNoDefault( &m_geometrySelectionItem, "GeometrySelectionItem", "Geometry Selection" );
m_geometrySelectionItem.uiCapability()->setUiTreeHidden( true );
m_geometrySelectionItem.uiCapability()->setUiTreeChildrenHidden( true );
CAF_PDM_InitField( &m_plotAxis, "PlotAxis", caf::AppEnum<RiaDefines::PlotAxis>( RiaDefines::PlotAxis::PLOT_AXIS_LEFT ), "Axis" );

View File

@ -66,25 +66,20 @@ RimGridView::RimGridView()
: cellVisibilityChanged( this )
{
CAF_PDM_InitFieldNoDefault( &m_overrideCellFilterCollection, "CellFiltersControlled", "Cell Filters (controlled)" );
m_overrideCellFilterCollection.uiCapability()->setUiTreeHidden( true );
m_overrideCellFilterCollection.xmlCapability()->disableIO();
CAF_PDM_InitFieldNoDefault( &m_intersectionCollection, "CrossSections", "Intersections" );
m_intersectionCollection.uiCapability()->setUiTreeHidden( true );
m_intersectionCollection = new RimIntersectionCollection();
CAF_PDM_InitFieldNoDefault( &m_intersectionResultDefCollection, "IntersectionResultDefColl", "Intersection Results" );
m_intersectionResultDefCollection.uiCapability()->setUiTreeHidden( true );
m_intersectionResultDefCollection = new RimIntersectionResultsDefinitionCollection;
CAF_PDM_InitFieldNoDefault( &m_surfaceResultDefCollection, "ReservoirSurfaceResultDefColl", "Surface Results" );
m_surfaceResultDefCollection.uiCapability()->setUiTreeHidden( true );
m_surfaceResultDefCollection = new RimIntersectionResultsDefinitionCollection;
m_surfaceResultDefCollection->uiCapability()->setUiName( "Surface Results" );
m_surfaceResultDefCollection->uiCapability()->setUiIcon( caf::IconProvider( ":/ReservoirSurface16x16.png" ) );
CAF_PDM_InitFieldNoDefault( &m_gridCollection, "GridCollection", "GridCollection" );
m_gridCollection.uiCapability()->setUiTreeHidden( true );
m_gridCollection = new RimGridCollection();
m_previousGridModeMeshLinesWasFaults = false;
@ -92,22 +87,17 @@ RimGridView::RimGridView()
CAF_PDM_InitFieldNoDefault( &m_overlayInfoConfig, "OverlayInfoConfig", "Info Box" );
m_overlayInfoConfig = new Rim3dOverlayInfoConfig();
m_overlayInfoConfig->setReservoirView( this );
m_overlayInfoConfig.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_wellMeasurementCollection, "WellMeasurements", "Well Measurements" );
m_wellMeasurementCollection = new RimWellMeasurementInViewCollection;
m_wellMeasurementCollection.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_surfaceCollection, "SurfaceInViewCollection", "Surface Collection Field" );
m_surfaceCollection.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_seismicSectionCollection, "SeismicSectionCollection", "Seismic Collection Field" );
m_seismicSectionCollection.uiCapability()->setUiTreeHidden( true );
m_seismicSectionCollection = new RimSeismicSectionCollection();
CAF_PDM_InitFieldNoDefault( &m_cellFilterCollection, "RangeFilters", "Cell Filter Collection Field" );
m_cellFilterCollection = new RimCellFilterCollection();
m_cellFilterCollection.uiCapability()->setUiTreeHidden( true );
m_surfaceVizModel = new cvf::ModelBasicList;
m_surfaceVizModel->setName( "SurfaceModel" );

View File

@ -63,10 +63,8 @@ RimIdenticalGridCaseGroup::RimIdenticalGridCaseGroup()
groupId.capability<caf::PdmAbstractFieldScriptingCapability>()->setIOWriteable( false );
CAF_PDM_InitFieldNoDefault( &statisticsCaseCollection, "StatisticsCaseCollection", "statisticsCaseCollection ChildArrayField" );
statisticsCaseCollection.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &caseCollection, "CaseCollection", "Source Cases ChildArrayField" );
caseCollection.uiCapability()->setUiTreeHidden( true );
caseCollection = new RimCaseCollection;
caseCollection->uiCapability()->setUiName( "Source Cases" );

View File

@ -84,52 +84,36 @@ RimMainPlotCollection::RimMainPlotCollection()
m_show.uiCapability()->setUiHidden( true );
CAF_PDM_InitFieldNoDefault( &m_wellLogPlotCollection, "WellLogPlotCollection", "" );
m_wellLogPlotCollection.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_rftPlotCollection, "RftPlotCollection", "" );
m_rftPlotCollection.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_pltPlotCollection, "PltPlotCollection", "" );
m_pltPlotCollection.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_summaryMultiPlotCollection, "SummaryMultiPlotCollection", "Multi Summary Plots" );
m_summaryMultiPlotCollection.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_analysisPlotCollection, "AnalysisPlotCollection", "Analysis Plots" );
m_analysisPlotCollection.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_correlationPlotCollection, "CorrelationPlotCollection", "Correlation Plots" );
m_correlationPlotCollection.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_summaryCrossPlotCollection_OBSOLETE, "SummaryCrossPlotCollection", "Summary Cross Plots" );
m_summaryCrossPlotCollection_OBSOLETE.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_summaryTableCollection, "SummaryTableCollection", "Summary Tables" );
m_summaryTableCollection.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_flowPlotCollection, "FlowPlotCollection", "Flow Diagnostics Plots" );
m_flowPlotCollection.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_gridCrossPlotCollection, "Rim3dCrossPlotCollection", "3d Cross Plots" );
m_gridCrossPlotCollection.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_saturationPressurePlotCollection, "RimSaturationPressurePlotCollection", "Saturation Pressure Plots" );
m_saturationPressurePlotCollection.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_multiPlotCollection, "RimMultiPlotCollection", "Multi Plots" );
m_multiPlotCollection.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_stimPlanModelPlotCollection, "StimPlanModelPlotCollection", "" );
m_stimPlanModelPlotCollection.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_vfpPlotCollection, "VfpPlotCollection", "" );
m_vfpPlotCollection.uiCapability()->setUiTreeHidden( true );
#ifdef USE_QTCHARTS
CAF_PDM_InitFieldNoDefault( &m_gridStatisticsPlotCollection, "GridStatisticsPlotCollection", "" );
m_gridStatisticsPlotCollection.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_ensembleFractureStatisticsPlotCollection, "EnsembleFractureStatisticsPlotCollection", "" );
m_ensembleFractureStatisticsPlotCollection.uiCapability()->setUiTreeHidden( true );
#endif
m_wellLogPlotCollection = new RimWellLogPlotCollection();
@ -152,7 +136,6 @@ RimMainPlotCollection::RimMainPlotCollection()
#endif
CAF_PDM_InitFieldNoDefault( &m_summaryPlotCollection_OBSOLETE, "SummaryPlotCollection", "Summary Plots" );
m_summaryPlotCollection_OBSOLETE.uiCapability()->setUiTreeHidden( true );
m_summaryPlotCollection_OBSOLETE.xmlCapability()->setIOWritable( false );
m_summaryPlotCollection_OBSOLETE = new RimSummaryPlotCollection();
}

View File

@ -57,7 +57,6 @@ RimMultiPlot::RimMultiPlot()
CAF_PDM_InitField( &m_plotWindowTitle, "PlotDescription", QString( "" ), "Name" );
CAF_PDM_InitFieldNoDefault( &m_plots, "Plots", "" );
m_plots.uiCapability()->setUiTreeHidden( true );
auto reorderability = caf::PdmFieldReorderCapability::addToField( &m_plots );
reorderability->orderChanged.connect( this, &RimMultiPlot::onPlotsReordered );

View File

@ -32,7 +32,6 @@ RimMultiPlotCollection::RimMultiPlotCollection()
CAF_PDM_InitObject( "Multi Plots", ":/MultiPlot16x16.png" );
CAF_PDM_InitFieldNoDefault( &m_multiPlots, "MultiPlots", "Plots Reports" );
m_multiPlots.uiCapability()->setUiTreeHidden( true );
caf::PdmFieldReorderCapability::addToField( &m_multiPlots );
}

View File

@ -56,9 +56,6 @@ RimObservedDataCollection::RimObservedDataCollection()
CAF_PDM_InitFieldNoDefault( &m_observedDataArray, "ObservedDataArray", "" );
CAF_PDM_InitFieldNoDefault( &m_observedFmuRftArray, "ObservedFmuRftDataArray", "" );
CAF_PDM_InitFieldNoDefault( &m_observedPressureDepthArray, "PressureDepthDataArray", "" );
m_observedDataArray.uiCapability()->setUiTreeHidden( true );
m_observedFmuRftArray.uiCapability()->setUiTreeHidden( true );
m_observedPressureDepthArray.uiCapability()->setUiTreeHidden( true );
}
//--------------------------------------------------------------------------------------------------

View File

@ -101,7 +101,6 @@ RimPlotAxisProperties::RimPlotAxisProperties()
CAF_PDM_InitFieldNoDefault( &m_valuesFontSize, "ValueDeltaFontSize", "Font Size" );
CAF_PDM_InitFieldNoDefault( &m_annotations, "Annotations", "" );
m_annotations.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_majorTickmarkCount, "MajorTickmarkCount", "Major Tickmark Count" );

View File

@ -127,7 +127,6 @@ RimPlotCurve::RimPlotCurve()
CAF_PDM_InitFieldNoDefault( &m_curveAppearance, "PlotCurveAppearance", "PlotCurveAppearance" );
m_curveAppearance = new RimPlotCurveAppearance;
m_curveAppearance.uiCapability()->setUiTreeHidden( true );
m_curveAppearance.uiCapability()->setUiTreeChildrenHidden( true );
m_curveAppearance->appearanceChanged.connect( this, &RimPlotCurve::onCurveAppearanceChanged );
m_curveAppearance->fillColorChanged.connect( this, &RimPlotCurve::onFillColorChanged );

View File

@ -42,7 +42,6 @@ RimPltPlotCollection::RimPltPlotCollection()
CAF_PDM_InitObject( "PLT Plots", ":/WellAllocPlots16x16.png" );
CAF_PDM_InitFieldNoDefault( &m_pltPlots, "PltPlots", "" );
m_pltPlots.uiCapability()->setUiTreeHidden( true );
}
//--------------------------------------------------------------------------------------------------

View File

@ -145,26 +145,21 @@ RimProject::RimProject()
m_globalPathList.uiCapability()->setUiHidden( true );
CAF_PDM_InitFieldNoDefault( &oilFields, "OilFields", "Oil Fields" );
oilFields.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &colorLegendCollection, "ColorLegendCollection", "Color Legend Collection" );
colorLegendCollection = new RimColorLegendCollection();
colorLegendCollection->createStandardColorLegends();
CAF_PDM_InitFieldNoDefault( &scriptCollection, "ScriptCollection", "Octave Scripts", ":/octave.png" );
scriptCollection.uiCapability()->setUiTreeHidden( true );
scriptCollection.xmlCapability()->disableIO();
CAF_PDM_InitFieldNoDefault( &wellPathImport, "WellPathImport", "WellPathImport" );
wellPathImport = new RimWellPathImport();
wellPathImport.uiCapability()->setUiTreeHidden( true );
wellPathImport.uiCapability()->setUiTreeChildrenHidden( true );
CAF_PDM_InitFieldNoDefault( &m_mainPlotCollection, "MainPlotCollection", "Plots" );
m_mainPlotCollection.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &viewLinkerCollection, "LinkedViews", "Linked Views", ":/LinkView.svg" );
viewLinkerCollection.uiCapability()->setUiTreeHidden( true );
viewLinkerCollection = new RimViewLinkerCollection;
CAF_PDM_InitFieldNoDefault( &calculationCollection, "CalculationCollection", "Calculation Collection" );
@ -204,7 +199,6 @@ RimProject::RimProject()
CAF_PDM_InitFieldNoDefault( &m_dialogData, "DialogData", "DialogData" );
m_dialogData = new RimDialogData();
m_dialogData.uiCapability()->setUiTreeHidden( true );
m_dialogData.uiCapability()->setUiTreeChildrenHidden( true );
// Obsolete fields. The content is moved to OilFields and friends

Some files were not shown because too many files have changed in this diff Show More