(#396) Added scrollbar for panning of well trace plots

This commit is contained in:
Pål Hagen
2015-09-01 14:50:26 +02:00
parent 7103b196e3
commit 2de4d0df29
9 changed files with 233 additions and 28 deletions

View File

@@ -48,6 +48,12 @@ public:
RiuWellLogPlot* viewer();
void zoomDepth(double zoomFactor);
void setDepthRange(double minimumDepth, double maximumDepth);
void updateAvailableDepthRange();
bool availableDepthRange(double* minimumDepth, double* maximumDepth);
void visibleDepthRange(double* minimumDepth, double* maximumDepth);
protected:
@@ -56,13 +62,15 @@ protected:
private:
void updateViewerWidget();
void setDepthRange(double minimumDepth, double maximumDepth);
virtual caf::PdmFieldHandle* objectToggleField();
private:
QPointer<RiuWellLogPlot> m_viewer;
caf::PdmField<double> m_minimumDepth;
caf::PdmField<double> m_maximumDepth;
caf::PdmField<double> m_minimumVisibleDepth;
caf::PdmField<double> m_maximumVisibleDepth;
double m_depthRangeMinimum;
double m_depthRangeMaximum;
};