summaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/divecartesianaxis.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2014-02-07 17:59:21 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-08 07:21:13 -0800
commit0ad2a69c4234e23cbcdfe4ce2c498bd0bdeee611 (patch)
tree6d436ee18f87a74a0c36d02d7ecbe594f914e883 /qt-ui/profile/divecartesianaxis.h
parented72aabde57ece6556319db5a11db34dabb73710 (diff)
downloadsubsurface-0ad2a69c4234e23cbcdfe4ce2c498bd0bdeee611.tar.gz
Show the profile again.
This patch re-enables a few items on the profile, most notably, the profile itself. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/divecartesianaxis.h')
-rw-r--r--qt-ui/profile/divecartesianaxis.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/qt-ui/profile/divecartesianaxis.h b/qt-ui/profile/divecartesianaxis.h
index 00bd9ecc3..a6e94e548 100644
--- a/qt-ui/profile/divecartesianaxis.h
+++ b/qt-ui/profile/divecartesianaxis.h
@@ -27,6 +27,8 @@ public:
void setTickSize(qreal size);
double minimum() const;
double maximum() const;
+ double tickInterval() const;
+ double tickSize() const;
qreal valueAt(const QPointF& p);
qreal percentAt(const QPointF& p);
qreal posAtValue(qreal value);
@@ -49,7 +51,7 @@ protected:
double min;
double max;
double interval;
- double tickSize;
+ double tick_size;
QColor textColor;
bool showTicks;
bool showText;