Add a class based on QGraphicsSimpleTextItem that handles animations.

This commit adds a class based on QGraphicsSimpleTextItem that
handls animations via animatedHide() animatedMoveTo() and a few
other QPropertyes. This is to be used in conjunction with the
DiveLineItem added in the past commit on the Coordinate Axis.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2014-01-14 15:23:57 -02:00 committed by Dirk Hohndel
parent d47456b4e8
commit 408b7dd5e5
3 changed files with 80 additions and 2 deletions

View file

@ -66,7 +66,8 @@ HEADERS = \
qt-ui/profile/profilewidget2.h \
qt-ui/profile/diverectitem.h \
qt-ui/profile/divepixmapitem.h \
qt-ui/profile/divelineitem.h
qt-ui/profile/divelineitem.h \
qt-ui/profile/divetextitem.h
SOURCES = \
deco.c \
@ -120,7 +121,8 @@ SOURCES = \
qt-ui/profile/profilewidget2.cpp \
qt-ui/profile/diverectitem.cpp \
qt-ui/profile/divepixmapitem.cpp \
qt-ui/profile/divelineitem.cpp
qt-ui/profile/divelineitem.cpp \
qt-ui/profile/divetextitem.cpp
linux*: SOURCES += linux.c
mac: SOURCES += macos.c