mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Use template function
This commit is contained in:
parent
d0a5770626
commit
94786c0760
@ -34,6 +34,7 @@
|
||||
|
||||
#include "RiuMatrixPlotWidget.h"
|
||||
|
||||
#include "cafPdmSetFieldValue.h"
|
||||
#include "cafPdmUiComboBoxEditor.h"
|
||||
#include "cafPdmUiPushButtonEditor.h"
|
||||
#include "cafPdmUiToolButtonEditor.h"
|
||||
@ -767,5 +768,5 @@ void RimSummaryTable::setExcludedRowsUiSelectionsFromTableData()
|
||||
newSelections.push_back( categoryName );
|
||||
}
|
||||
}
|
||||
m_excludedRowsUiField.setValueWithFieldChanged( newSelections );
|
||||
caf::setValueWithFieldChanged( &m_excludedRowsUiField, newSelections );
|
||||
}
|
||||
|
@ -44,6 +44,7 @@
|
||||
#include "RimWellPath.h"
|
||||
#include "RimWellPathCollection.h"
|
||||
|
||||
#include "cafPdmSetFieldValue.h"
|
||||
#include "cafPdmUiCheckBoxEditor.h"
|
||||
#include "cafPdmUiCheckBoxTristateEditor.h"
|
||||
#include "cafPdmUiComboBoxEditor.h"
|
||||
@ -1180,7 +1181,7 @@ void RimWellLogCurveCommonDataSource::selectWell( QString wellName )
|
||||
std::set<QString> sortedWellNames = eclipseCase->sortedSimWellNames();
|
||||
if ( std::count( sortedWellNames.begin(), sortedWellNames.end(), wellName ) > 0 )
|
||||
{
|
||||
m_simWellName.setValueWithFieldChanged( wellName );
|
||||
caf::setValueWithFieldChanged( &m_simWellName, wellName );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -30,6 +30,7 @@
|
||||
#include "cafPdmFieldScriptingCapability.h"
|
||||
#include "cafPdmFieldScriptingCapabilityCvfVec3d.h"
|
||||
#include "cafPdmObjectScriptingCapability.h"
|
||||
#include "cafPdmSetFieldValue.h"
|
||||
#include "cafPdmUiCheckBoxEditor.h"
|
||||
#include "cafPdmUiLineEditor.h"
|
||||
|
||||
@ -210,7 +211,7 @@ void RimWellPathTarget::setDerivedTangent( double azimuthRadians, double inclina
|
||||
void RimWellPathTarget::updateFrom3DManipulator( const cvf::Vec3d& pointXYD )
|
||||
{
|
||||
enableFullUpdate( false );
|
||||
m_targetPointXYD.setValueWithFieldChanged( pointXYD );
|
||||
caf::setValueWithFieldChanged( &m_targetPointXYD, pointXYD );
|
||||
enableFullUpdate( true );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user