mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#396) Handling scroll wheel event to zoom all well log trace plots
This commit is contained in:
@@ -24,7 +24,9 @@
|
||||
|
||||
class RimWellLogPlot;
|
||||
class RiuWellLogTracePlot;
|
||||
|
||||
class QHBoxLayout;
|
||||
class QWheelEvent;
|
||||
|
||||
//==================================================================================================
|
||||
//
|
||||
@@ -36,18 +38,22 @@ class RiuWellLogPlot : public QWidget
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
RiuWellLogPlot(QWidget* parent = NULL);
|
||||
RiuWellLogPlot(RimWellLogPlot* dataModelPlot, QWidget* parent = NULL);
|
||||
virtual ~RiuWellLogPlot();
|
||||
|
||||
RiuWellLogTracePlot* createTracePlot();
|
||||
|
||||
void setDepthRange(double minDepth, double maxDepth);
|
||||
|
||||
protected:
|
||||
void wheelEvent(QWheelEvent* event);
|
||||
|
||||
private:
|
||||
void setDefults();
|
||||
|
||||
private:
|
||||
QHBoxLayout* m_layout;
|
||||
QHBoxLayout* m_layout;
|
||||
QList<RiuWellLogTracePlot*> m_tracePlots;
|
||||
RimWellLogPlot* m_dataModelPlot;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user