diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2014-01-21 10:48:26 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-01-21 09:38:46 -0800 |
commit | caba6500d63e6081565aebd9e872e48b049e5d03 (patch) | |
tree | 08038ec0647165ff208a9b8cc68f38a5b61f1267 /qt-ui/profile/divetextitem.h | |
parent | 63c1a1b3e9e631338bca59d45a21e67027799abc (diff) | |
download | subsurface-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.h | 3 |
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; }; |