mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#272 Use combo box to switch between predefined and custom cell edge result
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user