Support horizontally stacked curves (#8553)

* #8548 Horizontal track : Improve stacked curves
* Add horizontal track bar
* Show relevant scroll bar for horizontal and vertical plots
* Show max property value at top for horizontal plots
This commit is contained in:
Magne Sjaastad
2022-02-21 07:15:56 +01:00
committed by GitHub
parent 5c72d31cc9
commit 4ed5250d3b
5 changed files with 115 additions and 35 deletions

View File

@@ -41,13 +41,16 @@ protected:
void alignScrollbar( int offset );
private:
RimDepthTrackPlot* wellLogPlotDefinition();
RimDepthTrackPlot* depthTrackPlot();
private slots:
void slotSetMinDepth( int value );
void performUpdate() override;
private:
QPointer<QVBoxLayout> m_trackScrollBarLayout;
QScrollBar* m_trackScrollBar;
QPointer<QVBoxLayout> m_verticalTrackScrollBarLayout;
QScrollBar* m_verticalTrackScrollBar;
QPointer<QHBoxLayout> m_horizontalTrackScrollBarLayout;
QScrollBar* m_horizontalTrackScrollBar;
};