mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#7647 PERM and other arrays default colour legend type change
Restore default color legend to "Continuous Logarithmic" instead of "Discrete Logarithmic"
This commit is contained in:
@@ -60,6 +60,8 @@ public:
|
||||
void updateLegendCategorySettings() override;
|
||||
void uiTreeOrdering( caf::PdmUiTreeOrdering& uiTreeOrdering, QString uiConfigName = "" );
|
||||
|
||||
void useDiscreteLogLevels( bool enable );
|
||||
|
||||
protected:
|
||||
// Overridden methods
|
||||
void fieldChangedByUi( const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue ) override;
|
||||
@@ -74,7 +76,8 @@ protected:
|
||||
private:
|
||||
void changeLegendConfig( QString resultVarNameOfNewLegend );
|
||||
void onLegendConfigChanged( const caf::SignalEmitter* emitter, RimLegendConfigChangeType changeType );
|
||||
static RimRegularLegendConfig* createLegendForResult( const QString& resultName, bool isCategoryResult );
|
||||
static RimRegularLegendConfig*
|
||||
createLegendForResult( const QString& resultName, bool useDiscreteLevels, bool isCategoryResult );
|
||||
|
||||
caf::PdmChildArrayField<RimRegularLegendConfig*> m_legendConfigData;
|
||||
caf::PdmPtrField<RimRegularLegendConfig*> m_legendConfigPtrField;
|
||||
@@ -82,6 +85,8 @@ private:
|
||||
|
||||
caf::PdmPointer<RimEclipseView> m_reservoirView;
|
||||
|
||||
bool m_useDiscreteLogLevels;
|
||||
|
||||
// Obsolete
|
||||
caf::PdmChildField<RimRegularLegendConfig*> obsoleteField_legendConfig;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user