(#691) Added option to keep the depth range fixed

This commit is contained in:
Magne Sjaastad
2015-12-07 12:03:33 +01:00
parent dc6a50ec3c
commit 5eb38fe203
8 changed files with 39 additions and 15 deletions

View File

@@ -74,7 +74,7 @@ public:
RiuWellLogPlot* viewer();
void zoomAllDepth();
void updateDepthZoom();
void setDepthZoomByFactorAndCenter(double zoomFactor, double zoomCenter);
void panDepth(double panFactor);
void setDepthZoomMinMax(double minimumDepth, double maximumDepth);
@@ -96,13 +96,13 @@ protected:
private:
void updateViewerWidget();
void updateViewerWidgetWindowTitle();
void updateDepthZoomInQwt();
void applyZoomAllDepths();
void applyDepthZoomFromVisibleDepth();
void recreateTrackPlots();
void detachAllCurves();
void handleViewerDeletion();
private:
caf::PdmField<bool> m_showWindow;
caf::PdmField<QString> m_userName;
@@ -113,6 +113,7 @@ private:
caf::PdmField<double> m_minVisibleDepth;
caf::PdmField<double> m_maxVisibleDepth;
caf::PdmField<bool> m_isAutoScaleDepthEnabled;
double m_minAvailableDepth;
double m_maxAvailableDepth;