#3466 Add attribute items to legend by creating a new RiuQwtPlotItemGroup that combines sub-graphics

This commit is contained in:
Gaute Lindkvist
2018-10-05 15:59:19 +02:00
parent 1f9dfd67aa
commit f3a2521eda
11 changed files with 415 additions and 144 deletions

View File

@@ -54,14 +54,15 @@ public:
RimWellPathAttribute();
~RimWellPathAttribute();
AttributeType type() const;
double depthStart() const;
double depthEnd() const;
double diameterInInches() const;
QString label() const;
QString diameterLabel() const;
bool operator<(const RimWellPathAttribute& rhs) const;
void setDepthsFromWellPath(const RimWellPath* wellPath);
AttributeType type() const;
double depthStart() const;
double depthEnd() const;
double diameterInInches() const;
QString label() const;
static QString typeLabel(AttributeType type);
QString diameterLabel() const;
bool operator<(const RimWellPathAttribute& rhs) const;
void setDepthsFromWellPath(const RimWellPath* wellPath);
private:
virtual QList<caf::PdmOptionItemInfo> calculateValueOptions(const caf::PdmFieldHandle* fieldNeedingOptions, bool* useOptionsOnly) override;