mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-25 22:50:25 -05:00
#12168 Allow highlight of curves based on selection of realization object
Use the first available highlighted curve as basis for display of horizontal readout value. Fallback to single realization curves. When selecting a realization in project tree, highlight all related curves Make sure zoom rect works when readout annotations are active
This commit is contained in:
1 parent
eac1c84ed4
commit
bbd79cca6a
15 files changed
+121
-49
No files matched your search
@@ -20,6 +20,7 @@
|
||||
|
||||
#include "RimPlotAxisAnnotation.h"
|
||||
#include "RiuGuiTheme.h"
|
||||
#include "RiuQwtPlotCurveDefines.h"
|
||||
|
||||
#include "cafCategoryMapper.h"
|
||||
#include "cvfMath.h"
|
||||
@@ -408,4 +409,6 @@ void RiuPlotAnnotationTool::setLineProperties( QwtPlotMarker* line,
|
||||
line->setLineStyle( QwtPlotMarker::VLine );
|
||||
line->setXValue( linePosition );
|
||||
}
|
||||
|
||||
line->setZ( RiuQwtPlotCurveDefines::zDepthForIndex( RiuQwtPlotCurveDefines::ZIndex::Z_ANNOTATION ) );
|
||||
}
|
||||
Reference in new issue
Block a user