mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Make the colors of the texts be prettier.
Just fixes some colors of the texts on the canvas. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
cd3867d46a
commit
edad8712b9
3 changed files with 31 additions and 3 deletions
|
@ -36,7 +36,7 @@ signals:
|
|||
void sizeChanged();
|
||||
protected:
|
||||
virtual QString textForValue(double value);
|
||||
|
||||
virtual QColor colorForValue(double value);
|
||||
Orientation orientation;
|
||||
QList<DiveTextItem*> labels;
|
||||
double min;
|
||||
|
@ -51,11 +51,13 @@ protected:
|
|||
class DepthAxis : public DiveCartesianAxis {
|
||||
protected:
|
||||
QString textForValue(double value);
|
||||
QColor colorForValue(double value);
|
||||
};
|
||||
|
||||
class TimeAxis : public DiveCartesianAxis {
|
||||
protected:
|
||||
QString textForValue(double value);
|
||||
QColor colorForValue(double value);
|
||||
};
|
||||
|
||||
class TemperatureAxis : public DiveCartesianAxis{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue