cleanup: remove DiveCartesianAxis::fontLabelScale accessor
This was only used internally - there is no point in an accessor function. It only makes grepping more complicated. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
a14f740df0
commit
d725170914
@ -202,7 +202,7 @@ void DiveCartesianAxis::updateTicks(color_index_t color)
|
||||
DiveTextItem *label = new DiveTextItem(this);
|
||||
label->setText(textForValue(currValueText));
|
||||
label->setBrush(colorForValue(currValueText));
|
||||
label->setScale(fontLabelScale());
|
||||
label->setScale(labelScale);
|
||||
label->setZValue(1);
|
||||
labels.push_back(label);
|
||||
if (orientation == RightToLeft || orientation == LeftToRight) {
|
||||
@ -333,11 +333,6 @@ double DiveCartesianAxis::minimum() const
|
||||
return min;
|
||||
}
|
||||
|
||||
double DiveCartesianAxis::fontLabelScale() const
|
||||
{
|
||||
return labelScale;
|
||||
}
|
||||
|
||||
void DiveCartesianAxis::setColor(const QColor &color)
|
||||
{
|
||||
QPen defaultPen = gridPen();
|
||||
|
||||
@ -39,7 +39,6 @@ public:
|
||||
void setFontLabelScale(qreal scale);
|
||||
double minimum() const;
|
||||
double maximum() const;
|
||||
double fontLabelScale() const;
|
||||
qreal valueAt(const QPointF &p) const;
|
||||
qreal posAtValue(qreal value) const;
|
||||
void setColor(const QColor &color);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user