summaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/divetextitem.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2014-01-21 10:48:26 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-01-21 09:38:46 -0800
commitcaba6500d63e6081565aebd9e872e48b049e5d03 (patch)
tree08038ec0647165ff208a9b8cc68f38a5b61f1267 /qt-ui/profile/divetextitem.h
parent63c1a1b3e9e631338bca59d45a21e67027799abc (diff)
downloadsubsurface-caba6500d63e6081565aebd9e872e48b049e5d03.tar.gz
Add the dive computer text.
Added the dive computer text on the bottom left side of the new Profile. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/divetextitem.h')
-rw-r--r--qt-ui/profile/divetextitem.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/profile/divetextitem.h b/qt-ui/profile/divetextitem.h
index 6771d91d3..774693c0c 100644
--- a/qt-ui/profile/divetextitem.h
+++ b/qt-ui/profile/divetextitem.h
@@ -18,12 +18,13 @@ public:
void setBrush(const QBrush& brush);
void animatedHide();
void animateMoveTo(qreal x, qreal y);
+ const QString& text();
private:
void updateText();
int internalAlignFlags;
QGraphicsPathItem *textBackgroundItem;
QGraphicsPathItem *textItem;
- QString text;
+ QString internalText;
color_indice_t colorIndex;
QBrush brush;
};