mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-30 09:00:20 -05:00
CorrelationReportPlot: Add optional summary plot with ADS dock manager layout
- Add optional summary plot in upper right corner - Replace fixed grid layout with ADS dock manager for flexible layout - Show plot titles and set splitter width to 1px - Use setupBeforeSave to persist dock layout state
This commit is contained in:
1 parent
c3f5c8688d
commit
d64dcefc07
4 files changed
+194
-60
No files matched your search
@@ -642,6 +642,8 @@ bool RiuQwtPlotWidget::eventFilter( QObject* watched, QEvent* event )
|
||||
return false;
|
||||
};
|
||||
|
||||
emit plotMousePressedAt( m_plot->canvasMap( QwtAxis::XBottom ).invTransform( mouseEvent->pos().x() ) );
|
||||
|
||||
if ( !hasRecentlyBeenZoomed() )
|
||||
{
|
||||
// Avoid selecting the curve if a zoom operation has been performed recently
|
||||
|
||||
@@ -179,6 +179,7 @@ signals:
|
||||
void onKeyPressEvent( QKeyEvent* event );
|
||||
void onWheelEvent( QWheelEvent* event );
|
||||
void plotZoomed();
|
||||
void plotMousePressedAt( double xPlotCoordinate );
|
||||
|
||||
protected:
|
||||
bool eventFilter( QObject* watched, QEvent* event ) override;
|
||||
|
||||
Reference in new issue
Block a user