profile: remove DiveCartesianAxis::setColor() and setTextColor()
These functions had no users. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
ae1758d4cd
commit
2615ba02bb
@ -45,11 +45,6 @@ void DiveCartesianAxis::setMinimum(double minimum)
|
||||
changed = true;
|
||||
}
|
||||
|
||||
void DiveCartesianAxis::setTextColor(const QColor &color)
|
||||
{
|
||||
textColor = color;
|
||||
}
|
||||
|
||||
DiveCartesianAxis::DiveCartesianAxis(Position position, color_index_t gridColor, double dpr, bool printMode, ProfileScene &scene) :
|
||||
printMode(printMode),
|
||||
position(position),
|
||||
@ -365,15 +360,6 @@ std::pair<double, double> DiveCartesianAxis::screenMinMax() const
|
||||
: std::make_pair(rect.top(), rect.bottom());
|
||||
}
|
||||
|
||||
void DiveCartesianAxis::setColor(const QColor &color)
|
||||
{
|
||||
QPen defaultPen = gridPen();
|
||||
defaultPen.setColor(color);
|
||||
defaultPen.setJoinStyle(Qt::RoundJoin);
|
||||
defaultPen.setCapStyle(Qt::RoundCap);
|
||||
setPen(defaultPen);
|
||||
}
|
||||
|
||||
QString DepthAxis::textForValue(double value) const
|
||||
{
|
||||
if (value == 0)
|
||||
|
||||
@ -44,8 +44,6 @@ public:
|
||||
std::pair<double, double> screenMinMax() const;
|
||||
qreal valueAt(const QPointF &p) const;
|
||||
qreal posAtValue(qreal value) const;
|
||||
void setColor(const QColor &color);
|
||||
void setTextColor(const QColor &color);
|
||||
void animateChangeLine(const QRectF &rect, int animSpeed);
|
||||
void setTextVisible(bool arg1);
|
||||
void setLinesVisible(bool arg1);
|
||||
@ -71,7 +69,6 @@ protected:
|
||||
double min;
|
||||
double max;
|
||||
double interval;
|
||||
QColor textColor;
|
||||
bool textVisibility;
|
||||
bool lineVisibility;
|
||||
double labelScale;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user