Legend: Now number format is really based on number of Significant

digits.
Brushed up the labels and organized the ui into two groups. Added some
tooltips as well.
This commit is contained in:
Jacob Støren
2013-09-26 10:44:20 +02:00
parent bef1d8ce7e
commit a283d6ac23
2 changed files with 36 additions and 9 deletions

View File

@@ -98,11 +98,14 @@ public:
protected:
virtual void fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue);
virtual void initAfterRead();
virtual void defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering );
private:
void updateFieldVisibility();
cvf::ref<cvf::Color3ubArray> interpolateColorArray(const cvf::Color3ubArray& colorArray, cvf::uint targetColorCount);
double roundToNumSignificantDigits(double value, double precision);
private:
caf::PdmPointer<RimReservoirView> m_reservoirView;