mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5837 Well Log Curves : Show icons in tree view
This commit is contained in:
parent
8c64dbeae9
commit
bc400af345
@ -171,6 +171,14 @@ QString RimWellLogCurve::wellLogChannelName() const
|
|||||||
return wellLogChannelUiName();
|
return wellLogChannelUiName();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
///
|
||||||
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
QString RimWellLogCurve::wellLogCurveIconName()
|
||||||
|
{
|
||||||
|
return ":/WellLogCurve16x16.png";
|
||||||
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
@ -72,6 +72,8 @@ public:
|
|||||||
virtual QString wellLogChannelUnits() const = 0;
|
virtual QString wellLogChannelUnits() const = 0;
|
||||||
virtual QString wellDate() const { return ""; };
|
virtual QString wellDate() const { return ""; };
|
||||||
|
|
||||||
|
static QString wellLogCurveIconName();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void updateZoomInParentPlot() override;
|
void updateZoomInParentPlot() override;
|
||||||
void updateLegendsInPlot() override;
|
void updateLegendsInPlot() override;
|
||||||
|
@ -91,7 +91,7 @@ void AppEnum<RimWellLogExtractionCurve::TrajectoryType>::setUp()
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
RimWellLogExtractionCurve::RimWellLogExtractionCurve()
|
RimWellLogExtractionCurve::RimWellLogExtractionCurve()
|
||||||
{
|
{
|
||||||
CAF_PDM_InitObject( "Well Log Curve", "", "", "" );
|
CAF_PDM_InitObject( "Well Log Curve", RimWellLogCurve::wellLogCurveIconName(), "", "" );
|
||||||
|
|
||||||
CAF_PDM_InitFieldNoDefault( &m_trajectoryType, "TrajectoryType", "Trajectory Type", "", "", "" );
|
CAF_PDM_InitFieldNoDefault( &m_trajectoryType, "TrajectoryType", "Trajectory Type", "", "", "" );
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ CAF_PDM_SOURCE_INIT( RimWellLogFileCurve, "WellLogFileCurve" );
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
RimWellLogFileCurve::RimWellLogFileCurve()
|
RimWellLogFileCurve::RimWellLogFileCurve()
|
||||||
{
|
{
|
||||||
CAF_PDM_InitObject( "Well Log File Curve", "", "", "" );
|
CAF_PDM_InitObject( "Well Log File Curve", RimWellLogCurve::wellLogCurveIconName(), "", "" );
|
||||||
|
|
||||||
CAF_PDM_InitFieldNoDefault( &m_wellPath, "CurveWellPath", "Well Path", "", "", "" );
|
CAF_PDM_InitFieldNoDefault( &m_wellPath, "CurveWellPath", "Well Path", "", "", "" );
|
||||||
m_wellPath.uiCapability()->setUiTreeChildrenHidden( true );
|
m_wellPath.uiCapability()->setUiTreeChildrenHidden( true );
|
||||||
|
@ -94,7 +94,7 @@ CAF_PDM_SOURCE_INIT( RimWellLogRftCurve, "WellLogRftCurve" );
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
RimWellLogRftCurve::RimWellLogRftCurve()
|
RimWellLogRftCurve::RimWellLogRftCurve()
|
||||||
{
|
{
|
||||||
CAF_PDM_InitObject( "Well Log RFT Curve", "", "", "" );
|
CAF_PDM_InitObject( "Well Log RFT Curve", RimWellLogCurve::wellLogCurveIconName(), "", "" );
|
||||||
|
|
||||||
CAF_PDM_InitFieldNoDefault( &m_eclipseResultCase, "CurveEclipseResultCase", "Eclipse Result Case", "", "", "" );
|
CAF_PDM_InitFieldNoDefault( &m_eclipseResultCase, "CurveEclipseResultCase", "Eclipse Result Case", "", "", "" );
|
||||||
m_eclipseResultCase.uiCapability()->setUiTreeChildrenHidden( true );
|
m_eclipseResultCase.uiCapability()->setUiTreeChildrenHidden( true );
|
||||||
|
@ -12,7 +12,7 @@ CAF_PDM_SOURCE_INIT( RimWellLogWbsCurve, "RimWellLogWbsCurve" );
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
RimWellLogWbsCurve::RimWellLogWbsCurve()
|
RimWellLogWbsCurve::RimWellLogWbsCurve()
|
||||||
{
|
{
|
||||||
CAF_PDM_InitObject( "Well Bore Stability Curve", "", "", "" );
|
CAF_PDM_InitObject( "Well Bore Stability Curve", RimWellLogCurve::wellLogCurveIconName(), "", "" );
|
||||||
|
|
||||||
CAF_PDM_InitField( &m_smoothCurve, "SmoothCurve", false, "Smooth Curve", "", "", "" );
|
CAF_PDM_InitField( &m_smoothCurve, "SmoothCurve", false, "Smooth Curve", "", "", "" );
|
||||||
CAF_PDM_InitField( &m_smoothingThreshold, "SmoothingThreshold", 0.002, "Smoothing Threshold", "", "", "" );
|
CAF_PDM_InitField( &m_smoothingThreshold, "SmoothingThreshold", 0.002, "Smoothing Threshold", "", "", "" );
|
||||||
|
@ -52,7 +52,7 @@ CAF_PDM_SOURCE_INIT( RimWellMeasurementCurve, "WellMeasurementCurve" );
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
RimWellMeasurementCurve::RimWellMeasurementCurve()
|
RimWellMeasurementCurve::RimWellMeasurementCurve()
|
||||||
{
|
{
|
||||||
CAF_PDM_InitObject( "Well Measurement Curve", "", "", "" );
|
CAF_PDM_InitObject( "Well Measurement Curve", RimWellLogCurve::wellLogCurveIconName(), "", "" );
|
||||||
|
|
||||||
CAF_PDM_InitFieldNoDefault( &m_wellPath, "CurveWellPath", "Well Path", "", "", "" );
|
CAF_PDM_InitFieldNoDefault( &m_wellPath, "CurveWellPath", "Well Path", "", "", "" );
|
||||||
m_wellPath.uiCapability()->setUiTreeChildrenHidden( true );
|
m_wellPath.uiCapability()->setUiTreeChildrenHidden( true );
|
||||||
|
Loading…
Reference in New Issue
Block a user