mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5777 Well Measurements : Add icons
This commit is contained in:
parent
00d9dda6c4
commit
8cdaf098c5
@ -69,4 +69,5 @@ void RicImportWellMeasurementsFeature::onActionTriggered( bool isChecked )
|
||||
void RicImportWellMeasurementsFeature::setupActionLook( QAction* actionToSetup )
|
||||
{
|
||||
actionToSetup->setText( "Import Measurements" );
|
||||
actionToSetup->setIcon( QIcon( ":/WellMeasurement16x16.png" ) );
|
||||
}
|
||||
|
@ -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", "", "", "" );
|
||||
|
@ -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() );
|
||||
|
@ -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", "", "", "" );
|
||||
|
@ -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 );
|
||||
|
@ -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 );
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user