mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
63c1a1b3e9
commit
caba6500d6
4 changed files with 24 additions and 9 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue