#811 Setting default legend type for category results

This commit is contained in:
Jacob Støren
2016-09-06 14:03:02 +02:00
parent 3e8873c870
commit e4e3c37f89
6 changed files with 49 additions and 2 deletions

View File

@@ -63,7 +63,8 @@ public:
bool hasCategoryResult() { return m_resultPositionType() == RIG_FORMATION_NAMES; }
protected:
virtual void updateLegendCategorySettings() {};
private:
virtual QList<caf::PdmOptionItemInfo> calculateValueOptions(const caf::PdmFieldHandle* fieldNeedingOptions,
bool * useOptionsOnly);
@@ -82,6 +83,7 @@ private:
friend class RimGeoMechPropertyFilter; // Property filter needs the ui fields
friend class RimWellLogExtractionCurve; // Curve needs the ui fields
friend class RimGeoMechCellColors; // Needs the ui fields
caf::PdmField<caf::AppEnum<RigFemResultPosEnum> > m_resultPositionTypeUiField;
caf::PdmField<QString> m_resultVariableUiField;