mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Improve curve naming
* Add curve name template and handling of string variables * Mark autoName as obsolete field * Use key-value map to populate variable values * Add curve naming methods Auto, Custom and Template
This commit is contained in:
@@ -102,8 +102,10 @@ public:
|
||||
void assignColorFromResultName( const QString& resultName );
|
||||
|
||||
protected:
|
||||
// Overrides from RimWellLogPlotCurve
|
||||
QString createCurveAutoName() override;
|
||||
QString createCurveAutoName() override;
|
||||
QString createCurveNameFromTemplate( const QString& templateText ) override;
|
||||
QStringList supportedCurveNameVariables() const override;
|
||||
|
||||
void onLoadDataAndUpdate( bool updateParentPlot ) override;
|
||||
RiaDefines::PhaseType phaseType() const override;
|
||||
|
||||
@@ -124,6 +126,8 @@ private:
|
||||
std::vector<size_t> sortedIndicesInRftFile();
|
||||
void updateWellChannelNameAndTimeStep();
|
||||
|
||||
std::map<QString, QString> createCurveNameKeyValueMap() const;
|
||||
|
||||
std::vector<double> xValues();
|
||||
std::vector<double> errorValues();
|
||||
std::vector<double> tvDepthValues();
|
||||
|
||||
Reference in New Issue
Block a user