mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
More precise view id
This commit is contained in:
parent
c578a43b53
commit
aef0e0a70f
@ -75,8 +75,6 @@ void RicAddStoredFlowCharacteristicsPlotFeature::onActionTriggered( bool isCheck
|
|||||||
sourceObject->copyByXmlSerialization( caf::PdmDefaultObjectFactory::instance() ) );
|
sourceObject->copyByXmlSerialization( caf::PdmDefaultObjectFactory::instance() ) );
|
||||||
CVF_ASSERT( flowCharacteristicsPlot );
|
CVF_ASSERT( flowCharacteristicsPlot );
|
||||||
|
|
||||||
RiaApplication::instance()->project()->assignViewIdToView( flowCharacteristicsPlot );
|
|
||||||
|
|
||||||
flowPlotColl->addFlowCharacteristicsPlotToStoredPlots( flowCharacteristicsPlot );
|
flowPlotColl->addFlowCharacteristicsPlotToStoredPlots( flowCharacteristicsPlot );
|
||||||
flowCharacteristicsPlot->resolveReferencesRecursively();
|
flowCharacteristicsPlot->resolveReferencesRecursively();
|
||||||
|
|
||||||
|
@ -74,7 +74,6 @@ void RicAddStoredWellAllocationPlotFeature::onActionTriggered( bool isChecked )
|
|||||||
RimWellAllocationPlot* wellAllocationPlot = dynamic_cast<RimWellAllocationPlot*>(
|
RimWellAllocationPlot* wellAllocationPlot = dynamic_cast<RimWellAllocationPlot*>(
|
||||||
sourceObject->copyByXmlSerialization( caf::PdmDefaultObjectFactory::instance() ) );
|
sourceObject->copyByXmlSerialization( caf::PdmDefaultObjectFactory::instance() ) );
|
||||||
|
|
||||||
RiaApplication::instance()->project()->assignViewIdToView( wellAllocationPlot );
|
|
||||||
CVF_ASSERT( wellAllocationPlot );
|
CVF_ASSERT( wellAllocationPlot );
|
||||||
|
|
||||||
flowPlotColl->addWellAllocPlotToStoredPlots( wellAllocationPlot );
|
flowPlotColl->addWellAllocPlotToStoredPlots( wellAllocationPlot );
|
||||||
|
@ -68,7 +68,6 @@ void RicNewRftPlotFeature::onActionTriggered( bool isChecked )
|
|||||||
QString wellName = selectedWellName();
|
QString wellName = selectedWellName();
|
||||||
|
|
||||||
RimWellRftPlot* rftPlot = new RimWellRftPlot();
|
RimWellRftPlot* rftPlot = new RimWellRftPlot();
|
||||||
RiaApplication::instance()->project()->assignViewIdToView( rftPlot );
|
|
||||||
|
|
||||||
rftPlot->setSimWellOrWellPathName( wellName );
|
rftPlot->setSimWellOrWellPathName( wellName );
|
||||||
|
|
||||||
|
@ -53,7 +53,6 @@ RimWellBoreStabilityPlot*
|
|||||||
|
|
||||||
RimWellBoreStabilityPlot* plot = new RimWellBoreStabilityPlot();
|
RimWellBoreStabilityPlot* plot = new RimWellBoreStabilityPlot();
|
||||||
plot->setAsPlotMdiWindow();
|
plot->setAsPlotMdiWindow();
|
||||||
RiaApplication::instance()->project()->assignViewIdToView( plot );
|
|
||||||
|
|
||||||
wellLogPlotColl->wellLogPlots().push_back( plot );
|
wellLogPlotColl->wellLogPlots().push_back( plot );
|
||||||
|
|
||||||
@ -88,7 +87,6 @@ RimWellLogPlot* RicNewWellLogPlotFeatureImpl::createWellLogPlot( bool showAfterC
|
|||||||
|
|
||||||
RimWellLogPlot* plot = new RimWellLogPlot();
|
RimWellLogPlot* plot = new RimWellLogPlot();
|
||||||
plot->setAsPlotMdiWindow();
|
plot->setAsPlotMdiWindow();
|
||||||
RiaApplication::instance()->project()->assignViewIdToView( plot );
|
|
||||||
|
|
||||||
wellLogPlotColl->wellLogPlots().push_back( plot );
|
wellLogPlotColl->wellLogPlots().push_back( plot );
|
||||||
|
|
||||||
|
@ -148,7 +148,6 @@ RimWellAllocationPlot* RimFlowPlotCollection::defaultWellAllocPlot()
|
|||||||
{
|
{
|
||||||
m_defaultWellAllocPlot = new RimWellAllocationPlot;
|
m_defaultWellAllocPlot = new RimWellAllocationPlot;
|
||||||
m_defaultWellAllocPlot->setDescription( "Default Flow Diagnostics Plot" );
|
m_defaultWellAllocPlot->setDescription( "Default Flow Diagnostics Plot" );
|
||||||
RiaApplication::instance()->project()->assignViewIdToView( m_defaultWellAllocPlot );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
this->updateConnectedEditors();
|
this->updateConnectedEditors();
|
||||||
@ -164,7 +163,6 @@ RimFlowCharacteristicsPlot* RimFlowPlotCollection::defaultFlowCharacteristicsPlo
|
|||||||
if ( !m_flowCharacteristicsPlot() )
|
if ( !m_flowCharacteristicsPlot() )
|
||||||
{
|
{
|
||||||
m_flowCharacteristicsPlot = new RimFlowCharacteristicsPlot;
|
m_flowCharacteristicsPlot = new RimFlowCharacteristicsPlot;
|
||||||
RiaApplication::instance()->project()->assignViewIdToView( m_flowCharacteristicsPlot );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
this->updateConnectedEditors();
|
this->updateConnectedEditors();
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
#include "RigSimWellData.h"
|
#include "RigSimWellData.h"
|
||||||
#include "RigTofAccumulatedPhaseFractionsCalculator.h"
|
#include "RigTofAccumulatedPhaseFractionsCalculator.h"
|
||||||
|
|
||||||
|
#include "RimProject.h"
|
||||||
#include "RimWellLogPlot.h"
|
#include "RimWellLogPlot.h"
|
||||||
#include "RimWellLogTrack.h"
|
#include "RimWellLogTrack.h"
|
||||||
|
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
|
|
||||||
#include "RigSimWellData.h"
|
#include "RigSimWellData.h"
|
||||||
|
|
||||||
|
#include "RimProject.h"
|
||||||
#include "RimWellLogPlot.h"
|
#include "RimWellLogPlot.h"
|
||||||
#include "RimWellLogTrack.h"
|
#include "RimWellLogTrack.h"
|
||||||
|
|
||||||
|
@ -794,6 +794,8 @@ QImage RimWellAllocationPlot::snapshotWindowContent()
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
void RimWellAllocationPlot::defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering )
|
void RimWellAllocationPlot::defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering )
|
||||||
{
|
{
|
||||||
|
RimViewWindow::defineUiOrdering( uiConfigName, uiOrdering );
|
||||||
|
|
||||||
uiOrdering.add( &m_userName );
|
uiOrdering.add( &m_userName );
|
||||||
uiOrdering.add( &m_showPlotTitle );
|
uiOrdering.add( &m_showPlotTitle );
|
||||||
|
|
||||||
@ -809,6 +811,8 @@ void RimWellAllocationPlot::defineUiOrdering( QString uiConfigName, caf::PdmUiOr
|
|||||||
optionGroup.add( &m_groupSmallContributions );
|
optionGroup.add( &m_groupSmallContributions );
|
||||||
optionGroup.add( &m_smallContributionsThreshold );
|
optionGroup.add( &m_smallContributionsThreshold );
|
||||||
m_smallContributionsThreshold.uiCapability()->setUiReadOnly( !m_groupSmallContributions() );
|
m_smallContributionsThreshold.uiCapability()->setUiReadOnly( !m_groupSmallContributions() );
|
||||||
|
|
||||||
|
uiOrdering.skipRemainingFields( true );
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
@ -975,6 +975,7 @@ void RimWellPltPlot::defineUiTreeOrdering( caf::PdmUiTreeOrdering& uiTreeOrderin
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
void RimWellPltPlot::defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering )
|
void RimWellPltPlot::defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering )
|
||||||
{
|
{
|
||||||
|
RimViewWindow::defineUiOrdering( uiConfigName, uiOrdering );
|
||||||
const QString simWellName = RimWellPlotTools::simWellName( m_wellPathName );
|
const QString simWellName = RimWellPlotTools::simWellName( m_wellPathName );
|
||||||
|
|
||||||
uiOrdering.add( &m_wellPathName );
|
uiOrdering.add( &m_wellPathName );
|
||||||
|
@ -891,6 +891,7 @@ void RimWellRftPlot::defineUiTreeOrdering( caf::PdmUiTreeOrdering& uiTreeOrderin
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
void RimWellRftPlot::defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering )
|
void RimWellRftPlot::defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering )
|
||||||
{
|
{
|
||||||
|
RimViewWindow::defineUiOrdering( uiConfigName, uiOrdering );
|
||||||
uiOrdering.add( &m_wellPathNameOrSimWellName );
|
uiOrdering.add( &m_wellPathNameOrSimWellName );
|
||||||
uiOrdering.add( &m_showStatisticsCurves );
|
uiOrdering.add( &m_showStatisticsCurves );
|
||||||
uiOrdering.add( &m_showEnsembleCurves );
|
uiOrdering.add( &m_showEnsembleCurves );
|
||||||
|
@ -62,7 +62,6 @@ RimGridCrossPlot* RimGridCrossPlotCollection::createGridCrossPlot()
|
|||||||
{
|
{
|
||||||
RimGridCrossPlot* plot = new RimGridCrossPlot();
|
RimGridCrossPlot* plot = new RimGridCrossPlot();
|
||||||
plot->setAsPlotMdiWindow();
|
plot->setAsPlotMdiWindow();
|
||||||
RiaApplication::instance()->project()->assignViewIdToView( plot );
|
|
||||||
|
|
||||||
// plot->setDescription(QString("Summary Cross Plot %1").arg(m_gridCrossPlots.size()));
|
// plot->setDescription(QString("Summary Cross Plot %1").arg(m_gridCrossPlots.size()));
|
||||||
addGridCrossPlot( plot );
|
addGridCrossPlot( plot );
|
||||||
|
@ -92,7 +92,6 @@ std::vector<RimSaturationPressurePlot*>
|
|||||||
{
|
{
|
||||||
RimSaturationPressurePlot* plot = new RimSaturationPressurePlot();
|
RimSaturationPressurePlot* plot = new RimSaturationPressurePlot();
|
||||||
plot->setAsPlotMdiWindow();
|
plot->setAsPlotMdiWindow();
|
||||||
RiaApplication::instance()->project()->assignViewIdToView( plot );
|
|
||||||
|
|
||||||
// As discussed with Liv Merete, it is not any use for creation of different plots for matrix/fracture. For
|
// As discussed with Liv Merete, it is not any use for creation of different plots for matrix/fracture. For
|
||||||
// now, use hardcoded value for MATRIX
|
// now, use hardcoded value for MATRIX
|
||||||
|
@ -275,7 +275,6 @@ void RimEclipseCase::initAfterRead()
|
|||||||
RimEclipseView* RimEclipseCase::createAndAddReservoirView()
|
RimEclipseView* RimEclipseCase::createAndAddReservoirView()
|
||||||
{
|
{
|
||||||
RimEclipseView* rimEclipseView = new RimEclipseView();
|
RimEclipseView* rimEclipseView = new RimEclipseView();
|
||||||
RiaApplication::instance()->project()->assignViewIdToView( rimEclipseView );
|
|
||||||
|
|
||||||
rimEclipseView->setEclipseCase( this );
|
rimEclipseView->setEclipseCase( this );
|
||||||
|
|
||||||
@ -312,7 +311,6 @@ RimEclipseView* RimEclipseCase::createCopyAndAddView( const RimEclipseView* sour
|
|||||||
RimEclipseView* rimEclipseView = dynamic_cast<RimEclipseView*>(
|
RimEclipseView* rimEclipseView = dynamic_cast<RimEclipseView*>(
|
||||||
sourceView->xmlCapability()->copyByXmlSerialization( caf::PdmDefaultObjectFactory::instance() ) );
|
sourceView->xmlCapability()->copyByXmlSerialization( caf::PdmDefaultObjectFactory::instance() ) );
|
||||||
CVF_ASSERT( rimEclipseView );
|
CVF_ASSERT( rimEclipseView );
|
||||||
RiaApplication::instance()->project()->assignViewIdToView( rimEclipseView );
|
|
||||||
rimEclipseView->setEclipseCase( this );
|
rimEclipseView->setEclipseCase( this );
|
||||||
|
|
||||||
caf::PdmDocument::updateUiIconStateRecursively( rimEclipseView );
|
caf::PdmDocument::updateUiIconStateRecursively( rimEclipseView );
|
||||||
|
@ -198,7 +198,6 @@ void RimGeoMechCase::reloadDataAndUpdate()
|
|||||||
RimGeoMechView* RimGeoMechCase::createAndAddReservoirView()
|
RimGeoMechView* RimGeoMechCase::createAndAddReservoirView()
|
||||||
{
|
{
|
||||||
RimGeoMechView* gmv = new RimGeoMechView();
|
RimGeoMechView* gmv = new RimGeoMechView();
|
||||||
RiaApplication::instance()->project()->assignViewIdToView( gmv );
|
|
||||||
|
|
||||||
gmv->setGeoMechCase( this );
|
gmv->setGeoMechCase( this );
|
||||||
|
|
||||||
@ -215,7 +214,6 @@ RimGeoMechView* RimGeoMechCase::createCopyAndAddView( const RimGeoMechView* sour
|
|||||||
sourceView->xmlCapability()->copyByXmlSerialization( caf::PdmDefaultObjectFactory::instance() ) );
|
sourceView->xmlCapability()->copyByXmlSerialization( caf::PdmDefaultObjectFactory::instance() ) );
|
||||||
CVF_ASSERT( rimGeoMechView );
|
CVF_ASSERT( rimGeoMechView );
|
||||||
|
|
||||||
RiaApplication::instance()->project()->assignViewIdToView( rimGeoMechView );
|
|
||||||
rimGeoMechView->setGeoMechCase( this );
|
rimGeoMechView->setGeoMechCase( this );
|
||||||
|
|
||||||
caf::PdmDocument::updateUiIconStateRecursively( rimGeoMechView );
|
caf::PdmDocument::updateUiIconStateRecursively( rimGeoMechView );
|
||||||
|
@ -100,6 +100,9 @@ CAF_PDM_SOURCE_INIT( RimProject, "ResInsightProject" );
|
|||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
RimProject::RimProject( void )
|
RimProject::RimProject( void )
|
||||||
|
: m_nextValidCaseId( 0 )
|
||||||
|
, m_nextValidCaseGroupId( 0 )
|
||||||
|
, m_nextValidViewId( 0 )
|
||||||
{
|
{
|
||||||
CAF_PDM_InitObject( "Project", "", "", "" );
|
CAF_PDM_InitObject( "Project", "", "", "" );
|
||||||
|
|
||||||
@ -242,6 +245,10 @@ void RimProject::close()
|
|||||||
mainWindowTreeViewState = "";
|
mainWindowTreeViewState = "";
|
||||||
plotWindowCurrentModelIndexPath = "";
|
plotWindowCurrentModelIndexPath = "";
|
||||||
plotWindowTreeViewState = "";
|
plotWindowTreeViewState = "";
|
||||||
|
|
||||||
|
m_nextValidCaseId = 0;
|
||||||
|
m_nextValidCaseGroupId = 0;
|
||||||
|
m_nextValidViewId = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
@ -468,17 +475,15 @@ void RimProject::assignCaseIdToCase( RimCase* reservoirCase )
|
|||||||
{
|
{
|
||||||
if ( reservoirCase )
|
if ( reservoirCase )
|
||||||
{
|
{
|
||||||
int nextValidCaseId = 0;
|
|
||||||
|
|
||||||
std::vector<RimCase*> cases;
|
std::vector<RimCase*> cases;
|
||||||
this->descendantsIncludingThisOfType( cases );
|
this->descendantsIncludingThisOfType( cases );
|
||||||
|
|
||||||
for ( RimCase* rimCase : cases )
|
for ( RimCase* rimCase : cases )
|
||||||
{
|
{
|
||||||
nextValidCaseId = std::max( nextValidCaseId, rimCase->caseId() + 1 );
|
m_nextValidCaseId = std::max( m_nextValidCaseId, rimCase->caseId() + 1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
reservoirCase->caseId = nextValidCaseId;
|
reservoirCase->caseId = m_nextValidCaseId++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -489,17 +494,15 @@ void RimProject::assignIdToCaseGroup( RimIdenticalGridCaseGroup* caseGroup )
|
|||||||
{
|
{
|
||||||
if ( caseGroup )
|
if ( caseGroup )
|
||||||
{
|
{
|
||||||
int nextValidCaseGroupId = 0;
|
|
||||||
|
|
||||||
std::vector<RimIdenticalGridCaseGroup*> identicalCaseGroups;
|
std::vector<RimIdenticalGridCaseGroup*> identicalCaseGroups;
|
||||||
this->descendantsIncludingThisOfType( identicalCaseGroups );
|
this->descendantsIncludingThisOfType( identicalCaseGroups );
|
||||||
|
|
||||||
for ( RimIdenticalGridCaseGroup* existingCaseGroup : identicalCaseGroups )
|
for ( RimIdenticalGridCaseGroup* existingCaseGroup : identicalCaseGroups )
|
||||||
{
|
{
|
||||||
nextValidCaseGroupId = std::max( nextValidCaseGroupId, existingCaseGroup->groupId() + 1 );
|
m_nextValidCaseGroupId = std::max( m_nextValidCaseGroupId, existingCaseGroup->groupId() + 1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
caseGroup->groupId = nextValidCaseGroupId;
|
caseGroup->groupId = m_nextValidCaseGroupId++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -510,17 +513,15 @@ void RimProject::assignViewIdToView( RimViewWindow* view )
|
|||||||
{
|
{
|
||||||
if ( view )
|
if ( view )
|
||||||
{
|
{
|
||||||
int nextValidViewId = 0;
|
|
||||||
|
|
||||||
std::vector<RimViewWindow*> viewWindows;
|
std::vector<RimViewWindow*> viewWindows;
|
||||||
this->descendantsIncludingThisOfType( viewWindows );
|
this->descendantsIncludingThisOfType( viewWindows );
|
||||||
|
|
||||||
for ( RimViewWindow* existingView : viewWindows )
|
for ( RimViewWindow* existingView : viewWindows )
|
||||||
{
|
{
|
||||||
nextValidViewId = std::max( nextValidViewId, existingView->id() + 1 );
|
m_nextValidViewId = std::max( m_nextValidViewId, existingView->id() + 1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
view->setId( nextValidViewId );
|
view->setId( m_nextValidViewId++ );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -201,6 +201,10 @@ private:
|
|||||||
caf::PdmField<bool> m_subWindowsTiled3DWindow;
|
caf::PdmField<bool> m_subWindowsTiled3DWindow;
|
||||||
caf::PdmField<bool> m_subWindowsTiledPlotWindow;
|
caf::PdmField<bool> m_subWindowsTiledPlotWindow;
|
||||||
|
|
||||||
|
int m_nextValidCaseId;
|
||||||
|
int m_nextValidCaseGroupId;
|
||||||
|
int m_nextValidViewId;
|
||||||
|
|
||||||
caf::PdmChildArrayField<RimEclipseCase*> casesObsolete; // obsolete
|
caf::PdmChildArrayField<RimEclipseCase*> casesObsolete; // obsolete
|
||||||
caf::PdmChildArrayField<RimIdenticalGridCaseGroup*> caseGroupsObsolete; // obsolete
|
caf::PdmChildArrayField<RimIdenticalGridCaseGroup*> caseGroupsObsolete; // obsolete
|
||||||
};
|
};
|
||||||
|
@ -53,6 +53,7 @@ RimViewWindow::RimViewWindow( void )
|
|||||||
// Obsolete field
|
// Obsolete field
|
||||||
CAF_PDM_InitFieldNoDefault( &obsoleteField_windowGeometry, "WindowGeometry", "", "", "", "" );
|
CAF_PDM_InitFieldNoDefault( &obsoleteField_windowGeometry, "WindowGeometry", "", "", "", "" );
|
||||||
RiaFieldhandleTools::disableWriteAndSetFieldHidden( &obsoleteField_windowGeometry );
|
RiaFieldhandleTools::disableWriteAndSetFieldHidden( &obsoleteField_windowGeometry );
|
||||||
|
RiaApplication::instance()->project()->assignViewIdToView( this );
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
@ -285,10 +286,6 @@ void RimViewWindow::initAfterRead()
|
|||||||
setAsMdiWindow( mainWindowID );
|
setAsMdiWindow( mainWindowID );
|
||||||
setMdiWindowGeometry( wg );
|
setMdiWindowGeometry( wg );
|
||||||
}
|
}
|
||||||
if ( m_viewId() == -1 )
|
|
||||||
{
|
|
||||||
RiaApplication::instance()->project()->assignViewIdToView( this );
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
@ -184,7 +184,14 @@ void RimWellLogPlot::updateZoom()
|
|||||||
{
|
{
|
||||||
static_cast<RimWellLogTrack*>( plot )->setVisibleYRange( m_minVisibleDepth(), m_maxVisibleDepth() );
|
static_cast<RimWellLogTrack*>( plot )->setVisibleYRange( m_minVisibleDepth(), m_maxVisibleDepth() );
|
||||||
}
|
}
|
||||||
m_viewer->updateVerticalScrollBar( m_minVisibleDepth(), m_maxVisibleDepth(), m_minAvailableDepth, m_maxAvailableDepth );
|
|
||||||
|
if ( m_viewer )
|
||||||
|
{
|
||||||
|
m_viewer->updateVerticalScrollBar( m_minVisibleDepth(),
|
||||||
|
m_maxVisibleDepth(),
|
||||||
|
m_minAvailableDepth,
|
||||||
|
m_maxAvailableDepth );
|
||||||
|
}
|
||||||
|
|
||||||
RimGridPlotWindow::updateZoom();
|
RimGridPlotWindow::updateZoom();
|
||||||
}
|
}
|
||||||
@ -554,11 +561,10 @@ void RimWellLogPlot::fieldChangedByUi( const caf::PdmFieldHandle* changedField,
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
void RimWellLogPlot::defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering )
|
void RimWellLogPlot::defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering )
|
||||||
{
|
{
|
||||||
RimGridPlotWindow::defineUiOrdering( uiConfigName, uiOrdering );
|
RimViewWindow::defineUiOrdering( uiConfigName, uiOrdering );
|
||||||
|
|
||||||
uiOrderingForDepthAxis( uiOrdering );
|
uiOrderingForDepthAxis( uiOrdering );
|
||||||
createPlotSettingsUiGroup( uiOrdering );
|
createPlotSettingsUiGroup( uiOrdering );
|
||||||
|
|
||||||
uiOrdering.skipRemainingFields( true );
|
uiOrdering.skipRemainingFields( true );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -89,7 +89,6 @@ RimSummaryPlot* RimSummaryCrossPlotCollection::createSummaryPlot()
|
|||||||
{
|
{
|
||||||
RimSummaryPlot* plot = new RimSummaryCrossPlot();
|
RimSummaryPlot* plot = new RimSummaryCrossPlot();
|
||||||
plot->setAsPlotMdiWindow();
|
plot->setAsPlotMdiWindow();
|
||||||
RiaApplication::instance()->project()->assignViewIdToView( plot );
|
|
||||||
|
|
||||||
plot->setDescription( QString( "Summary Cross Plot %1" ).arg( m_summaryCrossPlots.size() ) );
|
plot->setDescription( QString( "Summary Cross Plot %1" ).arg( m_summaryCrossPlots.size() ) );
|
||||||
|
|
||||||
|
@ -50,7 +50,6 @@ RimSummaryPlot* RimSummaryPlotCollection::createSummaryPlotWithAutoTitle()
|
|||||||
{
|
{
|
||||||
RimSummaryPlot* plot = new RimSummaryPlot();
|
RimSummaryPlot* plot = new RimSummaryPlot();
|
||||||
plot->setAsPlotMdiWindow();
|
plot->setAsPlotMdiWindow();
|
||||||
RiaApplication::instance()->project()->assignViewIdToView( plot );
|
|
||||||
|
|
||||||
plot->enableAutoPlotTitle( true );
|
plot->enableAutoPlotTitle( true );
|
||||||
summaryPlots.push_back( plot );
|
summaryPlots.push_back( plot );
|
||||||
@ -65,7 +64,6 @@ RimSummaryPlot* RimSummaryPlotCollection::createNamedSummaryPlot( const QString&
|
|||||||
{
|
{
|
||||||
RimSummaryPlot* plot = new RimSummaryPlot();
|
RimSummaryPlot* plot = new RimSummaryPlot();
|
||||||
plot->setAsPlotMdiWindow();
|
plot->setAsPlotMdiWindow();
|
||||||
RiaApplication::instance()->project()->assignViewIdToView( plot );
|
|
||||||
|
|
||||||
summaryPlots.push_back( plot );
|
summaryPlots.push_back( plot );
|
||||||
plot->setDescription( name );
|
plot->setDescription( name );
|
||||||
|
@ -120,7 +120,7 @@ RiuTofAccumulatedPhaseFractionsPlot::~RiuTofAccumulatedPhaseFractionsPlot()
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
QSize RiuTofAccumulatedPhaseFractionsPlot::sizeHint() const
|
QSize RiuTofAccumulatedPhaseFractionsPlot::sizeHint() const
|
||||||
{
|
{
|
||||||
return QSize( 350, 250 );
|
return QSize( 370, 250 );
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user