Support copy of property filters to linked views

* Copy and overwrite property filters when linked
When linking property filters between different cases, the property filter settings are copied and the property filter is evaluated per case. The previous implementation worked only for a single case.

* Move field to private
This commit is contained in:
Magne Sjaastad
2022-11-28 14:34:26 +01:00
committed by GitHub
parent 7065d5eaf4
commit 9995af07a1
15 changed files with 216 additions and 88 deletions

View File

@@ -69,6 +69,7 @@ public:
bool isVisibleCellsOveridden() const;
bool isPropertyFilterOveridden() const;
bool isPropertyFilterDuplicationActive() const;
void scheduleCreateDisplayModelAndRedrawForDependentView() const;
void scheduleGeometryRegenForDepViews( RivCellSetEnum geometryType ) const;
@@ -76,6 +77,7 @@ public:
void updateOptionSensitivity();
void removeOverrides();
void updateDisplayNameAndIcon();
void updateDuplicatedPropertyFilters();
void updateCellFilterOverrides( const RimCellFilter* changedFilter );
void applyCellFilterCollectionByUserChoice();
@@ -118,13 +120,12 @@ private:
caf::PdmField<bool> m_showCursor;
caf::PdmField<bool> m_syncTimeStep;
// Overridden properties
caf::PdmField<bool> m_syncCellResult;
caf::PdmField<bool> m_syncLegendDefinitions;
caf::PdmField<bool> m_syncCellFilters;
caf::PdmField<bool> m_syncVisibleCells;
caf::PdmField<bool> m_syncPropertyFilters;
caf::PdmField<bool> m_duplicatePropertyFilters;
cvf::ref<RigCaseToCaseCellMapper> m_caseToCaseCellMapper;
};