Show time annotation in all sub plots (#11906)

* Prepare for more customization of annotation objects
* Move files
* Add configuration of readout lines in sub plots. The location along the time axis is based on the current mouse cursor position. The location is distributed to all sub plots. Optional support for readout of values at the current time.
This commit is contained in:
Magne Sjaastad authored and GitHub committed 2025-02-05 17:19:01 +01:00
1 parent 28d3050433
commit 2021b286ab
29 files changed
+550 -100

No files matched your search

@@ -58,9 +58,8 @@ public:
const QString& annotationText,
Qt::PenStyle penStyle,
const double position,
RiaDefines::Orientation orientation );
void attachAnnotation( QwtPlot* plot, RimPlotAxisAnnotation* annotation, RiaDefines::Orientation orientation );
RiaDefines::Orientation orientation,
Qt::Alignment horizontalAlignment );
void attachAnnotationRange( QwtPlot* plot,
const QColor& color,
@@ -83,6 +82,8 @@ public:
void detachAllAnnotations();
static Qt::Alignment textAlignment( RiaDefines::TextAlignment alignment );
private:
static Qt::Alignment trackTextAlignment( RiaDefines::TrackSpan trackSpan );