System : Move ternaryLegendConfig to private field

This commit is contained in:
Magne Sjaastad
2018-09-24 22:26:14 +02:00
parent 10ef3fcd4d
commit 64a2af653c
3 changed files with 20 additions and 10 deletions

View File

@@ -46,8 +46,9 @@ public:
void updateLegendData(size_t timestep,
RimRegularLegendConfig* legendConfig = nullptr,
RimTernaryLegendConfig* ternaryLegendConfig = nullptr);
RimRegularLegendConfig* legendConfig();
caf::PdmChildField<RimTernaryLegendConfig*> ternaryLegendConfig;
RimTernaryLegendConfig* ternaryLegendConfig();
virtual void setResultVariable(const QString& resultName);
@@ -69,6 +70,7 @@ private:
caf::PdmChildArrayField<RimRegularLegendConfig*> m_legendConfigData;
caf::PdmPtrField<RimRegularLegendConfig*> m_legendConfigPtrField;
caf::PdmChildField<RimTernaryLegendConfig*> m_ternaryLegendConfig;
caf::PdmPointer<RimEclipseView> m_reservoirView;