#272 Use combo box to switch between predefined and custom cell edge result

This commit is contained in:
Magne Sjaastad
2016-09-09 11:46:49 +02:00
parent 2f5acc38ac
commit 077351cd04
2 changed files with 24 additions and 4 deletions

View File

@@ -60,6 +60,12 @@ public:
Z, NEG_Z
};
enum ResultType
{
PREDEFINED_RESULT,
CUSTOM_RESULT
};
typedef caf::AppEnum<RimCellEdgeColors::EdgeFaceType> EdgeFaceEnum;
void setReservoirView(RimEclipseView* ownerReservoirView);
@@ -114,6 +120,7 @@ private:
bool isUsingSingleVariable() const;
static QString singleVarEdgeResultUiText() { return "Custom Edge Result"; }
caf::PdmField<caf::AppEnum< ResultType > > m_resultType;
caf::PdmChildField<RimLegendConfig*> m_legendConfig;
caf::PdmChildField<RimEclipseCellColors*> m_singleVarEdgeResultColors;