#1618 Changing proxy fields from double to QString to have more control over the output and limit accuracy of numbers printed.

This commit is contained in:
astridkbjorke
2017-06-29 11:28:30 +02:00
parent dad066adf0
commit e7043db156
2 changed files with 22 additions and 5 deletions

View File

@@ -106,7 +106,9 @@ private:
cvf::Vec3d fracturePositionForUi() const;
double wellFractureAzimuthDiff() const;
QString wellFractureAzimuthDiffText() const;
QString wellAzimuthAtFracturePositionText() const;
virtual cvf::BoundingBox boundingBoxInDomainCoords() override;
protected:
@@ -114,8 +116,8 @@ protected:
caf::PdmProxyValueField<cvf::Vec3d> m_uiAnchorPosition;
caf::PdmField< RiaEclipseUnitTools::UnitSystemType > m_fractureUnit;
caf::PdmProxyValueField<double> m_uiWellPathAzimuth;
caf::PdmProxyValueField<double> m_uiWellFractureAzimuthDiff;
caf::PdmProxyValueField<QString> m_uiWellPathAzimuth;
caf::PdmProxyValueField<QString> m_uiWellFractureAzimuthDiff;
caf::PdmField<QString> m_wellFractureAzimuthAngleWarning;