(#396) Removed toggle field for well log plot collection

This commit is contained in:
Pål Hagen 2015-08-31 10:31:48 +02:00
parent eaff6f88c4
commit 370764ae50
2 changed files with 0 additions and 26 deletions

View File

@ -37,9 +37,6 @@ RimWellLogPlotCollection::RimWellLogPlotCollection()
{
CAF_PDM_InitObject("Well Log Plots", "", "", "");
CAF_PDM_InitField(&show, "Show", true, "Show plots", "", "", "");
show.uiCapability()->setUiHidden(true);
CAF_PDM_InitFieldNoDefault(&wellLogPlots, "WellLogPlots", "", "", "", "");
wellLogPlots.uiCapability()->setUiHidden(true);
}
@ -51,21 +48,6 @@ RimWellLogPlotCollection::~RimWellLogPlotCollection()
{
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimWellLogPlotCollection::fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue)
{
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
caf::PdmFieldHandle* RimWellLogPlotCollection::objectToggleField()
{
return &show;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------

View File

@ -41,14 +41,6 @@ public:
void addWellLogPlot();
protected:
// Overridden PDM methods
virtual void fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue);
private:
virtual caf::PdmFieldHandle* objectToggleField();
private:
caf::PdmField<bool> show;
};