mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Summary Curve : Move plot axis above vector selection, plus rename and reorder of Vector Selection
This commit is contained in:
@@ -523,16 +523,15 @@ void RimSummaryCurve::defineUiOrdering(QString uiConfigName, caf::PdmUiOrdering&
|
|||||||
caf::PdmUiGroup* curveDataGroup = uiOrdering.addNewGroupWithKeyword(curveDataGroupName, "Summary Vector Y");
|
caf::PdmUiGroup* curveDataGroup = uiOrdering.addNewGroupWithKeyword(curveDataGroupName, "Summary Vector Y");
|
||||||
curveDataGroup->add(&m_yValuesSummaryCase);
|
curveDataGroup->add(&m_yValuesSummaryCase);
|
||||||
curveDataGroup->add(&m_yValuesSelectedVariableDisplayField);
|
curveDataGroup->add(&m_yValuesSelectedVariableDisplayField);
|
||||||
|
curveDataGroup->add(&m_plotAxis);
|
||||||
|
curveDataGroup->add(&m_yPushButtonSelectSummaryAddress);
|
||||||
|
|
||||||
QString curveVarSelectionGroupName = "Vector Selection";
|
QString curveVarSelectionGroupName = "Vector Selection Filter Y";
|
||||||
if (isCrossPlotCurve()) curveVarSelectionGroupName += " Y";
|
caf::PdmUiGroup* curveVarSelectionGroup = curveDataGroup->addNewGroupWithKeyword("Vector Selection Filter", curveVarSelectionGroupName);
|
||||||
caf::PdmUiGroup* curveVarSelectionGroup = curveDataGroup->addNewGroupWithKeyword(curveVarSelectionGroupName, "Vector Selection Y");
|
|
||||||
curveVarSelectionGroup->setCollapsedByDefault(true);
|
curveVarSelectionGroup->setCollapsedByDefault(true);
|
||||||
m_yValuesSummaryFilter->uiOrdering(uiConfigName, *curveVarSelectionGroup);
|
m_yValuesSummaryFilter->uiOrdering(uiConfigName, *curveVarSelectionGroup);
|
||||||
curveVarSelectionGroup->add(&m_yValuesUiFilterResultSelection);
|
curveVarSelectionGroup->add(&m_yValuesUiFilterResultSelection);
|
||||||
curveVarSelectionGroup->add(&m_yPushButtonSelectSummaryAddress);
|
|
||||||
|
|
||||||
curveDataGroup->add(&m_plotAxis);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isCrossPlotCurve())
|
if (isCrossPlotCurve())
|
||||||
@@ -540,16 +539,14 @@ void RimSummaryCurve::defineUiOrdering(QString uiConfigName, caf::PdmUiOrdering&
|
|||||||
caf::PdmUiGroup* curveDataGroup = uiOrdering.addNewGroup("Summary Vector X");
|
caf::PdmUiGroup* curveDataGroup = uiOrdering.addNewGroup("Summary Vector X");
|
||||||
curveDataGroup->add(&m_xValuesSummaryCase);
|
curveDataGroup->add(&m_xValuesSummaryCase);
|
||||||
curveDataGroup->add(&m_xValuesSelectedVariableDisplayField);
|
curveDataGroup->add(&m_xValuesSelectedVariableDisplayField);
|
||||||
|
curveDataGroup->add(&m_xPushButtonSelectSummaryAddress);
|
||||||
|
|
||||||
caf::PdmUiGroup* curveVarSelectionGroup = curveDataGroup->addNewGroup("Vector Selection X");
|
caf::PdmUiGroup* curveVarSelectionGroup = curveDataGroup->addNewGroupWithKeyword("Vector Selection Filter", "Vector Selection Filter X");
|
||||||
curveVarSelectionGroup->setCollapsedByDefault(true);
|
curveVarSelectionGroup->setCollapsedByDefault(true);
|
||||||
m_xValuesSummaryFilter->uiOrdering(uiConfigName, *curveVarSelectionGroup);
|
m_xValuesSummaryFilter->uiOrdering(uiConfigName, *curveVarSelectionGroup);
|
||||||
curveVarSelectionGroup->add(&m_xValuesUiFilterResultSelection);
|
curveVarSelectionGroup->add(&m_xValuesUiFilterResultSelection);
|
||||||
|
|
||||||
curveVarSelectionGroup->add(&m_xPushButtonSelectSummaryAddress);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
caf::PdmUiGroup* appearanceGroup = uiOrdering.addNewGroup("Appearance");
|
caf::PdmUiGroup* appearanceGroup = uiOrdering.addNewGroup("Appearance");
|
||||||
RimPlotCurve::appearanceUiOrdering(*appearanceGroup);
|
RimPlotCurve::appearanceUiOrdering(*appearanceGroup);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user