mirror of
https://github.com/OPM/ResInsight.git
synced 2024-12-28 01:41:42 -06:00
Improve user interface
Add icon for well target generator Improve uiOrdering for RimRegularGridCase
This commit is contained in:
parent
edd61109b5
commit
e027bad961
@ -88,6 +88,26 @@ void RimRegularGridCase::createModel()
|
||||
computeCachedData();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimRegularGridCase::defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering )
|
||||
{
|
||||
uiOrdering.add( &m_caseUserDescription );
|
||||
uiOrdering.add( &m_displayNameOption );
|
||||
uiOrdering.add( &m_caseId );
|
||||
|
||||
auto group = uiOrdering.addNewGroup( "Regular Grid Definition" );
|
||||
group->add( &m_minimum );
|
||||
group->add( &m_maximum );
|
||||
|
||||
group->add( &m_cellCountI );
|
||||
group->add( &m_cellCountJ );
|
||||
group->add( &m_cellCountK );
|
||||
|
||||
uiOrdering.skipRemainingFields();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@ -46,6 +46,8 @@ public:
|
||||
void createModel();
|
||||
|
||||
private:
|
||||
void defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering ) override;
|
||||
|
||||
void setupBeforeSave() override;
|
||||
QString cacheFileName() const;
|
||||
|
||||
|
@ -84,7 +84,7 @@ void caf::AppEnum<RigWellTargetCandidatesGenerator::VolumesType>::setUp()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimWellTargetCandidatesGenerator::RimWellTargetCandidatesGenerator()
|
||||
{
|
||||
CAF_PDM_InitObject( "Well Target Candidates Generator" );
|
||||
CAF_PDM_InitObject( "Well Target Candidates Generator", ":/WellTargets.png" );
|
||||
|
||||
CAF_PDM_InitField( &m_timeStep, "TimeStep", 0, "Time Step" );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user