(#645) Convert step names to dates for plotting in Result Plot

This commit is contained in:
Magne Sjaastad
2015-11-24 11:35:04 +01:00
parent 419fd28b02
commit c588a1fe69
3 changed files with 77 additions and 8 deletions

View File

@@ -28,6 +28,8 @@
#include "cvfObject.h"
#include <QDateTime>
class RimGeoMechView;
class RigGeoMechCaseData;
class RifGeoMechReaderInterface;
@@ -65,8 +67,12 @@ public:
// Fields:
caf::PdmChildArrayField<RimGeoMechView*> geoMechViews;
static std::vector<QDateTime> dateTimeVectorFromTimeStepStrings(const QStringList& timeStepStrings);
private:
virtual void initAfterRead();
static QString subStringOfDigits(const QString& timeStepString, int numberOfDigitsToFind);
private:
cvf::ref<RigGeoMechCaseData> m_geoMechCaseData;
caf::PdmField<QString> m_caseFileName;