profile: add DiveCartesianAxis::height()

This is needed to properly layout the axes.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2021-08-28 14:25:04 +02:00 committed by Dirk Hohndel
parent 15f20961c7
commit abadbb6783
2 changed files with 12 additions and 3 deletions

View file

@ -49,7 +49,8 @@ public:
void setLineSize(qreal lineSize);
void setLine(const QLineF& line);
virtual void updateTicks(int animSpeed, color_index_t color = TIME_GRID);
double width() const;
double width() const; // only for vertical axes
double height() const; // only for horizontal axes
signals:
void sizeChanged();