mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Statistics Contourmap UI updates (#12060)
* Enable time step selections and controls in view * Support loading just what we need for statistics contour maps by using custom reader settings * Close case once done with it unless there are active views. * Add selection of user interface case (for result selection, display of wells, faults...) * Avoid int overflow for nested progresses by using double * Improve auto naming * Misc. UI improvements
This commit is contained in:
@@ -604,13 +604,25 @@ size_t Rim3dView::timeStepCount()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
QString Rim3dView::timeStepName( int frameIdx ) const
|
||||
{
|
||||
if ( this->ownerCase() )
|
||||
if ( ownerCase() )
|
||||
{
|
||||
return this->ownerCase()->timeStepName( frameIdx );
|
||||
return ownerCase()->timeStepName( frameIdx );
|
||||
}
|
||||
return QString( "" );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
QStringList Rim3dView::timeStepStrings() const
|
||||
{
|
||||
if ( ownerCase() )
|
||||
{
|
||||
return ownerCase()->timeStepStrings();
|
||||
}
|
||||
return QStringList();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user