mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
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
2 changed files with 0 additions and 17 deletions
|
@ -45,11 +45,6 @@ void DiveCartesianAxis::setMinimum(double minimum)
|
||||||
changed = true;
|
changed = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DiveCartesianAxis::setTextColor(const QColor &color)
|
|
||||||
{
|
|
||||||
textColor = color;
|
|
||||||
}
|
|
||||||
|
|
||||||
DiveCartesianAxis::DiveCartesianAxis(Position position, color_index_t gridColor, double dpr, bool printMode, ProfileScene &scene) :
|
DiveCartesianAxis::DiveCartesianAxis(Position position, color_index_t gridColor, double dpr, bool printMode, ProfileScene &scene) :
|
||||||
printMode(printMode),
|
printMode(printMode),
|
||||||
position(position),
|
position(position),
|
||||||
|
@ -365,15 +360,6 @@ std::pair<double, double> DiveCartesianAxis::screenMinMax() const
|
||||||
: std::make_pair(rect.top(), rect.bottom());
|
: 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
|
QString DepthAxis::textForValue(double value) const
|
||||||
{
|
{
|
||||||
if (value == 0)
|
if (value == 0)
|
||||||
|
|
|
@ -44,8 +44,6 @@ public:
|
||||||
std::pair<double, double> screenMinMax() const;
|
std::pair<double, double> screenMinMax() const;
|
||||||
qreal valueAt(const QPointF &p) const;
|
qreal valueAt(const QPointF &p) const;
|
||||||
qreal posAtValue(qreal value) const;
|
qreal posAtValue(qreal value) const;
|
||||||
void setColor(const QColor &color);
|
|
||||||
void setTextColor(const QColor &color);
|
|
||||||
void animateChangeLine(const QRectF &rect, int animSpeed);
|
void animateChangeLine(const QRectF &rect, int animSpeed);
|
||||||
void setTextVisible(bool arg1);
|
void setTextVisible(bool arg1);
|
||||||
void setLinesVisible(bool arg1);
|
void setLinesVisible(bool arg1);
|
||||||
|
@ -71,7 +69,6 @@ protected:
|
||||||
double min;
|
double min;
|
||||||
double max;
|
double max;
|
||||||
double interval;
|
double interval;
|
||||||
QColor textColor;
|
|
||||||
bool textVisibility;
|
bool textVisibility;
|
||||||
bool lineVisibility;
|
bool lineVisibility;
|
||||||
double labelScale;
|
double labelScale;
|
||||||
|
|
Loading…
Reference in a new issue