Renaming in the aftermath of the MDI window control refactorization. Aligned fieldChangedByUi in that respact as well.

This commit is contained in:
Jacob Støren
2017-01-20 11:38:18 +01:00
parent a1aec0b5e0
commit c025c2a3d7
16 changed files with 82 additions and 101 deletions

View File

@@ -86,7 +86,7 @@ RimSummaryPlot::RimSummaryPlot()
CAF_PDM_InitField(&m_isAutoZoom, "AutoZoom", true, "Auto Zoom", "", "", "");
m_isAutoZoom.uiCapability()->setUiHidden(true);
setAsPlotMDI();
setAsPlotMdiWindow();
}
//--------------------------------------------------------------------------------------------------
@@ -94,7 +94,7 @@ RimSummaryPlot::RimSummaryPlot()
//--------------------------------------------------------------------------------------------------
RimSummaryPlot::~RimSummaryPlot()
{
removeWidgetFromMDI();
removeMdiWindowFromMdiArea();
deleteViewWidget();
@@ -483,7 +483,7 @@ void RimSummaryPlot::fieldChangedByUi(const caf::PdmFieldHandle* changedField, c
}
else
{
updateViewerWidgetBasic();
updateMdiWindowVisibility();
}
uiCapability()->updateUiIconFromToggleField();
@@ -491,7 +491,7 @@ void RimSummaryPlot::fieldChangedByUi(const caf::PdmFieldHandle* changedField, c
else if (changedField == &m_userName ||
changedField == &m_showPlotTitle)
{
updateViewerWidgetWindowTitle();
updateMdiWindowTitle();
}
}
@@ -539,7 +539,7 @@ void RimSummaryPlot::defineUiTreeOrdering(caf::PdmUiTreeOrdering& uiTreeOrdering
//--------------------------------------------------------------------------------------------------
void RimSummaryPlot::loadDataAndUpdate()
{
updateViewerWidgetBasic();
updateMdiWindowVisibility();
for (RimSummaryCurveFilter* curveFilter: m_curveFilters)
{
@@ -667,7 +667,7 @@ void RimSummaryPlot::deleteViewWidget()
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimSummaryPlot::updateViewerWidgetWindowTitle()
void RimSummaryPlot::updateMdiWindowTitle()
{
if (m_qwtPlot)
{