mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Various operations on color legends
This commit is contained in:
committed by
Magne Sjaastad
parent
fd475589a5
commit
d39bcb31ab
@@ -41,12 +41,19 @@ public:
|
||||
RimColorLegendCollection();
|
||||
~RimColorLegendCollection() override;
|
||||
|
||||
void appendColorLegend( RimColorLegend* colorLegend );
|
||||
void createStandardColorLegends();
|
||||
|
||||
std::vector<RimColorLegend*> colorLegends() const;
|
||||
void appendCustomColorLegend( RimColorLegend* customColorLegend );
|
||||
|
||||
bool isStandardColorLegend( RimColorLegend* colorLegend );
|
||||
|
||||
void deleteCustomColorLegends();
|
||||
|
||||
std::vector<RimColorLegend*> customColorLegends() const;
|
||||
|
||||
void fieldChangedByUi( const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue ) override;
|
||||
|
||||
private:
|
||||
caf::PdmChildArrayField<RimColorLegend*> m_colorLegends;
|
||||
caf::PdmChildArrayField<RimColorLegend*> m_standardColorLegends; // ResInsight standard (built-in) legends
|
||||
caf::PdmChildArrayField<RimColorLegend*> m_customColorLegends; // user specified legends
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user