mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 18:32:10 -05:00
#8761 Multiplot template support
This commit is contained in:
1 parent
b822996fc3
commit
46a8bd58b2
14 files changed
+970
-4
No files matched your search
@@ -198,6 +198,20 @@ RiaDefines::PhaseType RimSummaryAddress::addressPhaseType() const
|
||||
return RiaDefines::PhaseType::PHASE_NOT_APPLICABLE;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
QString RimSummaryAddress::keywordForCategory( RifEclipseSummaryAddress::SummaryVarCategory category ) const
|
||||
{
|
||||
// Return the keyword text for supported field replacement in plot templates
|
||||
|
||||
if ( category == RifEclipseSummaryAddress::SUMMARY_WELL ) return m_wellName.keyword();
|
||||
if ( category == RifEclipseSummaryAddress::SUMMARY_WELL_GROUP ) return m_wellGroupName.keyword();
|
||||
if ( category == RifEclipseSummaryAddress::SUMMARY_REGION ) return m_regionNumber.keyword();
|
||||
|
||||
return {};
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -63,6 +63,8 @@ public:
|
||||
|
||||
RiaDefines::PhaseType addressPhaseType() const;
|
||||
|
||||
QString keywordForCategory( RifEclipseSummaryAddress::SummaryVarCategory category ) const;
|
||||
|
||||
protected:
|
||||
void defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering ) override;
|
||||
|
||||
|
||||
Reference in new issue
Block a user