#5777 Well Measurements : Add icons

This commit is contained in:
Magne Sjaastad 2020-04-09 14:15:05 +02:00 committed by Gaute Lindkvist
parent 00d9dda6c4
commit 8cdaf098c5
7 changed files with 7 additions and 5 deletions

View File

@ -69,4 +69,5 @@ void RicImportWellMeasurementsFeature::onActionTriggered( bool isChecked )
void RicImportWellMeasurementsFeature::setupActionLook( QAction* actionToSetup )
{
actionToSetup->setText( "Import Measurements" );
actionToSetup->setIcon( QIcon( ":/WellMeasurement16x16.png" ) );
}

View File

@ -29,7 +29,7 @@ CAF_PDM_SOURCE_INIT( RimWellMeasurement, "WellMeasurement" );
//--------------------------------------------------------------------------------------------------
RimWellMeasurement::RimWellMeasurement()
{
CAF_PDM_InitObject( "RimWellMeasurement", "", "", "" );
CAF_PDM_InitObject( "RimWellMeasurement", ":/WellMeasurement16x16.png", "", "" );
CAF_PDM_InitFieldNoDefault( &m_wellName, "WellName", "Well Name", "", "", "" );
CAF_PDM_InitField( &m_MD, "Depth", -1.0, "MD", "", "", "" );

View File

@ -37,7 +37,7 @@ CAF_PDM_SOURCE_INIT( RimWellMeasurementCollection, "WellMeasurements" );
//--------------------------------------------------------------------------------------------------
RimWellMeasurementCollection::RimWellMeasurementCollection()
{
CAF_PDM_InitObject( "Well Measurements", "", "", "" );
CAF_PDM_InitObject( "Well Measurements", ":/WellMeasurement16x16.png", "", "" );
CAF_PDM_InitFieldNoDefault( &m_measurements, "Measurements", "Well Measurements", "", "", "" );
m_measurements.uiCapability()->setUiEditorTypeName( caf::PdmUiTableViewEditor::uiEditorTypeName() );

View File

@ -29,7 +29,7 @@ CAF_PDM_SOURCE_INIT( RimWellMeasurementFilePath, "WellMeasurementFilePath" );
//--------------------------------------------------------------------------------------------------
RimWellMeasurementFilePath::RimWellMeasurementFilePath()
{
CAF_PDM_InitObject( "RimWellMeasurementFilePath", "", "", "" );
CAF_PDM_InitObject( "RimWellMeasurementFilePath", ":/WellMeasurement16x16.png", "", "" );
CAF_PDM_InitFieldNoDefault( &m_userDescription, "UserDecription", "Name", "", "", "" );
CAF_PDM_InitFieldNoDefault( &m_filePath, "FilePath", "File Path", "", "", "" );

View File

@ -47,7 +47,7 @@ CAF_PDM_SOURCE_INIT( RimWellMeasurementInView, "WellMeasurementInView" );
//--------------------------------------------------------------------------------------------------
RimWellMeasurementInView::RimWellMeasurementInView()
{
CAF_PDM_InitObject( "Well Measurement", "", "", "" );
CAF_PDM_InitObject( "Well Measurement", ":/WellMeasurement16x16.png", "", "" );
CAF_PDM_InitFieldNoDefault( &m_measurementKind, "MeasurementKind", "Measurement Kind", "", "", "" );
m_measurementKind.uiCapability()->setUiHidden( true );

View File

@ -43,7 +43,7 @@ CAF_PDM_SOURCE_INIT( RimWellMeasurementInViewCollection, "WellMeasurementsInView
//--------------------------------------------------------------------------------------------------
RimWellMeasurementInViewCollection::RimWellMeasurementInViewCollection()
{
CAF_PDM_InitObject( "Well Measurements", "", "", "" );
CAF_PDM_InitObject( "Well Measurements", ":/WellMeasurement16x16.png", "", "" );
CAF_PDM_InitFieldNoDefault( &m_measurementsInView, "MeasurementKinds", "Measurement Kinds", "", "", "" );
m_measurementsInView.uiCapability()->setUiHidden( true );

View File

@ -157,6 +157,7 @@
<file>WellLogPlot16x16.png</file>
<file>WellLogPlots16x16.png</file>
<file>WellLogTrack16x16.png</file>
<file>WellMeasurement16x16.png</file>
<file>WellTargetPoint16x16.png</file>
<file>WellTargetPointTangent16x16.png</file>
<file>WellTargets.png</file>