mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Legends (#2749): Clean up enable/showLegend option
* Make public field private ... * Make the option invisible from within the property panel.
This commit is contained in:
@@ -121,8 +121,7 @@ public:
|
||||
|
||||
cvf::ScalarMapper* scalarMapper() { return m_currentScalarMapper.p(); }
|
||||
caf::TitledOverlayFrame* legend();
|
||||
|
||||
caf::PdmField<bool> enableLegend;
|
||||
bool showLegend() const;
|
||||
|
||||
protected:
|
||||
virtual void fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue);
|
||||
@@ -172,6 +171,7 @@ private:
|
||||
cvf::Color3ubArray m_categoryColors;
|
||||
|
||||
// Fields
|
||||
caf::PdmField<bool> m_showLegend;
|
||||
caf::PdmField<int> m_numLevels;
|
||||
caf::PdmField<int> m_precision;
|
||||
caf::PdmField<caf::AppEnum<NumberFormatType> > m_tickNumberFormat;
|
||||
|
||||
Reference in New Issue
Block a user