#5368 Restore selected wells in RimWellMeasurementInView when loading project

This commit is contained in:
Kristian Bendiksen
2020-02-03 17:32:02 +01:00
parent 3a304f984c
commit cdfd2d5648
2 changed files with 44 additions and 0 deletions

View File

@@ -62,6 +62,7 @@ protected:
QString uiConfigName,
caf::PdmUiEditorAttribute* attribute ) override;
void initAfterRead() override;
void fieldChangedByUi( const caf::PdmFieldHandle* changedField,
const QVariant& oldValue,
const QVariant& newValue ) override;
@@ -76,12 +77,16 @@ protected:
const QString& measurementKind );
private:
static QString convertToSerializableString( const std::vector<QString>& strings );
static std::vector<QString> convertFromSerializableString( const QString& string );
caf::PdmChildField<RimRegularLegendConfig*> m_legendConfig;
caf::PdmField<QString> m_measurementKind;
caf::PdmField<std::vector<QString>> m_wells;
caf::PdmField<double> m_lowerBound;
caf::PdmField<double> m_upperBound;
caf::PdmField<std::vector<int>> m_qualityFilter;
caf::PdmField<QString> m_wellsSerialized;
double m_minimumResultValue;
double m_maximumResultValue;