mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-21 22:13:25 -06:00
Make plot titles work well in RFT/PLT again
This commit is contained in:
parent
e6a92cc3be
commit
c0f7f4e056
@ -857,7 +857,7 @@ QList<caf::PdmOptionItemInfo> RimWellPltPlot::calculateValueOptions(const caf::P
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimWellPltPlot::fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue)
|
||||
{
|
||||
RimViewWindow::fieldChangedByUi(changedField, oldValue, newValue);
|
||||
RimWellLogPlot::fieldChangedByUi(changedField, oldValue, newValue);
|
||||
|
||||
if (changedField == &m_wellPathName)
|
||||
{
|
||||
|
@ -717,7 +717,7 @@ QList<caf::PdmOptionItemInfo> RimWellRftPlot::calculateValueOptions(const caf::P
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimWellRftPlot::fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue)
|
||||
{
|
||||
RimViewWindow::fieldChangedByUi(changedField, oldValue, newValue);
|
||||
RimWellLogPlot::fieldChangedByUi(changedField, oldValue, newValue);
|
||||
|
||||
if (changedField == &m_wellPathNameOrSimWellName)
|
||||
{
|
||||
|
@ -583,9 +583,11 @@ void RimWellLogPlot::uiOrderingForDepthAxis(caf::PdmUiOrdering& uiOrdering)
|
||||
void RimWellLogPlot::uiOrderingForPlotSettings(caf::PdmUiOrdering& uiOrdering)
|
||||
{
|
||||
caf::PdmUiGroup* titleAndLegendsGroup = uiOrdering.addNewGroup("Title and Legends");
|
||||
titleAndLegendsGroup->add(&m_showTitleInPlot);
|
||||
titleAndLegendsGroup->add(&m_showTrackLegends);
|
||||
titleAndLegendsGroup->add(&m_trackLegendsHorizontal);
|
||||
titleAndLegendsGroup->add(&m_showTitleInPlot);
|
||||
m_nameConfig->uiOrdering("", *titleAndLegendsGroup);
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -747,9 +749,6 @@ void RimWellLogPlot::defineUiOrdering(QString uiConfigName, caf::PdmUiOrdering&
|
||||
uiOrderingForDepthAxis(uiOrdering);
|
||||
uiOrderingForPlotSettings(uiOrdering);
|
||||
|
||||
caf::PdmUiGroup* nameGroup = uiOrdering.addNewGroup("Plot Name");
|
||||
m_nameConfig->uiOrdering(uiConfigName, *nameGroup);
|
||||
|
||||
uiOrdering.skipRemainingFields(true);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user