mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4219 Contact Pressure plots : Add color to annotation lines
This commit is contained in:
@@ -36,10 +36,14 @@ public:
|
||||
|
||||
void attachFormationNames(QwtPlot* plot, const std::vector<QString>& names, const std::vector<std::pair<double, double>> yPositions, bool showNames = true);
|
||||
void attachWellPicks(QwtPlot* plot, const std::vector<QString>& names, const std::vector<double> yPositions);
|
||||
|
||||
void attachAnnotationLine(QwtPlot* plot, const QColor& color, const QString& annotationText, const double yPosition);
|
||||
|
||||
void detachAllAnnotations();
|
||||
|
||||
private:
|
||||
static void horizontalDashedLine(QwtPlotMarker* line, const QString& name, double yValue);
|
||||
static void horizontalDashedLineWithColor(QwtPlotMarker* line, const QColor& color, const QString& name, double yValue);
|
||||
|
||||
private:
|
||||
QPointer<QwtPlot> m_plot;
|
||||
|
||||
Reference in New Issue
Block a user