mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Add RimDepthTrackPlot base class for RimWellLogPlot.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include "RiuWellLogPlot.h"
|
||||
|
||||
#include "RimDepthTrackPlot.h"
|
||||
#include "RimPlotWindow.h"
|
||||
#include "RimWellLogPlot.h"
|
||||
|
||||
#include "RiuQwtPlotWidget.h"
|
||||
#include "RiuWellLogTrack.h"
|
||||
@@ -14,7 +14,7 @@
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RiuWellLogPlot::RiuWellLogPlot( RimWellLogPlot* plotDefinition, QWidget* parent )
|
||||
RiuWellLogPlot::RiuWellLogPlot( RimDepthTrackPlot* plotDefinition, QWidget* parent )
|
||||
: RiuMultiPlotPage( plotDefinition, parent )
|
||||
{
|
||||
m_trackScrollBar = new QScrollBar( nullptr );
|
||||
@@ -30,9 +30,9 @@ RiuWellLogPlot::RiuWellLogPlot( RimWellLogPlot* plotDefinition, QWidget* parent
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimWellLogPlot* RiuWellLogPlot::wellLogPlotDefinition()
|
||||
RimDepthTrackPlot* RiuWellLogPlot::wellLogPlotDefinition()
|
||||
{
|
||||
RimWellLogPlot* wellLogPlot = dynamic_cast<RimWellLogPlot*>( m_plotDefinition.p() );
|
||||
RimDepthTrackPlot* wellLogPlot = dynamic_cast<RimDepthTrackPlot*>( m_plotDefinition.p() );
|
||||
CAF_ASSERT( wellLogPlot );
|
||||
return wellLogPlot;
|
||||
}
|
||||
|
||||
@@ -21,13 +21,13 @@
|
||||
#include "RiuMultiPlotPage.h"
|
||||
|
||||
class RiuQwtPlotWidget;
|
||||
class RimWellLogPlot;
|
||||
class RimDepthTrackPlot;
|
||||
|
||||
class RiuWellLogPlot : public RiuMultiPlotPage
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
RiuWellLogPlot( RimWellLogPlot* plotDefinition, QWidget* parent );
|
||||
RiuWellLogPlot( RimDepthTrackPlot* plotDefinition, QWidget* parent );
|
||||
|
||||
RimViewWindow* ownerViewWindow() const override;
|
||||
|
||||
@@ -41,7 +41,7 @@ protected:
|
||||
void alignScrollbar( int offset );
|
||||
|
||||
private:
|
||||
RimWellLogPlot* wellLogPlotDefinition();
|
||||
RimDepthTrackPlot* wellLogPlotDefinition();
|
||||
|
||||
private slots:
|
||||
void slotSetMinDepth( int value );
|
||||
|
||||
Reference in New Issue
Block a user