Unused code: DiveCartesianAxis::percentAt()
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
parent
d0ff3917b1
commit
a88c950738
@ -324,14 +324,6 @@ qreal DiveCartesianAxis::posAtValue(qreal value)
|
||||
return adjusted;
|
||||
}
|
||||
|
||||
qreal DiveCartesianAxis::percentAt(const QPointF &p)
|
||||
{
|
||||
qreal value = valueAt(p);
|
||||
double size = max - min;
|
||||
double percent = value / size;
|
||||
return percent;
|
||||
}
|
||||
|
||||
double DiveCartesianAxis::maximum() const
|
||||
{
|
||||
return max;
|
||||
|
||||
@ -41,7 +41,6 @@ public:
|
||||
double maximum() const;
|
||||
double fontLabelScale() const;
|
||||
qreal valueAt(const QPointF &p) const;
|
||||
qreal percentAt(const QPointF &p);
|
||||
qreal posAtValue(qreal value);
|
||||
void setColor(const QColor &color);
|
||||
void setTextColor(const QColor &color);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user