diff options
Diffstat (limited to 'qt-ui/profile/divelineitem.h')
-rw-r--r-- | qt-ui/profile/divelineitem.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/qt-ui/profile/divelineitem.h b/qt-ui/profile/divelineitem.h new file mode 100644 index 000000000..497f803eb --- /dev/null +++ b/qt-ui/profile/divelineitem.h @@ -0,0 +1,17 @@ +#ifndef DIVELINEITEM_H +#define DIVELINEITEM_H + +#include <QObject> +#include <QGraphicsLineItem> + +class DiveLineItem : public QObject, public QGraphicsLineItem { + Q_OBJECT + Q_PROPERTY(QPointF pos READ pos WRITE setPos) + Q_PROPERTY(qreal opacity READ opacity WRITE setOpacity) +public: + DiveLineItem(QGraphicsItem *parent = 0); + void animatedHide(); + void animateMoveTo(qreal x, qreal y); +}; + +#endif
\ No newline at end of file |