mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#6462 Add reordering to color legend items
This commit is contained in:
@@ -48,6 +48,7 @@ public:
|
||||
QString colorLegendName();
|
||||
|
||||
void setReadOnly( bool doReadOnly );
|
||||
void addReorderCapability();
|
||||
|
||||
void appendColorLegendItem( RimColorLegendItem* colorLegendItem );
|
||||
std::vector<RimColorLegendItem*> colorLegendItems() const;
|
||||
@@ -63,6 +64,9 @@ public:
|
||||
void fieldChangedByUi( const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue ) override;
|
||||
void defineUiTreeOrdering( caf::PdmUiTreeOrdering& uiTreeOrdering, QString uiConfigName ) override;
|
||||
|
||||
private:
|
||||
void orderChanged( const caf::SignalEmitter* emitter );
|
||||
|
||||
private:
|
||||
caf::PdmField<QString> m_colorLegendName;
|
||||
caf::PdmChildArrayField<RimColorLegendItem*> m_colorLegendItems;
|
||||
|
||||
Reference in New Issue
Block a user