mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2727 Legends : Add RimLegendConfig as base for Regular and Ternary
This commit is contained in:
@@ -19,13 +19,13 @@
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "RimLegendConfig.h"
|
||||
|
||||
#include "cvfBase.h"
|
||||
#include "cvfObject.h"
|
||||
#include "cvfArray.h"
|
||||
|
||||
#include "cafPdmObject.h"
|
||||
#include "cafPdmField.h"
|
||||
|
||||
#include <tuple>
|
||||
|
||||
namespace cvf
|
||||
@@ -53,7 +53,7 @@ class Rim3dView;
|
||||
///
|
||||
///
|
||||
//==================================================================================================
|
||||
class RimRegularLegendConfig: public caf::PdmObject
|
||||
class RimRegularLegendConfig : public RimLegendConfig
|
||||
{
|
||||
CAF_PDM_HEADER_INIT;
|
||||
public:
|
||||
@@ -123,6 +123,9 @@ public:
|
||||
caf::TitledOverlayFrame* legend();
|
||||
bool showLegend() const;
|
||||
|
||||
const caf::TitledOverlayFrame* titledOverlayFrame() const override;
|
||||
caf::TitledOverlayFrame* titledOverlayFrame() override;
|
||||
|
||||
protected:
|
||||
virtual void fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue);
|
||||
virtual void initAfterRead();
|
||||
|
||||
Reference in New Issue
Block a user