Hide UI for ternary saturation legend config

This commit is contained in:
Magne Sjaastad
2014-04-14 08:04:09 +02:00
parent 03ab3d0a34
commit 489b25531f
2 changed files with 70 additions and 10 deletions

View File

@@ -94,6 +94,8 @@ public:
cvf::ScalarMapper* scalarMapper() { return m_currentScalarMapper.p(); }
cvf::OverlayScalarMapperLegend* legend() { return m_legend.p(); }
int linearDiscreteLevelCount() const;
protected:
virtual void fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue);
virtual void initAfterRead();
@@ -104,6 +106,7 @@ private:
cvf::ref<cvf::Color3ubArray> interpolateColorArray(const cvf::Color3ubArray& colorArray, cvf::uint targetColorCount);
double roundToNumSignificantDigits(double value, double precision);
virtual QList<caf::PdmOptionItemInfo> calculateValueOptions( const caf::PdmFieldHandle* fieldNeedingOptions, bool * useOptionsOnly );
private: