aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/divelineitem.h
blob: 497f803eba95f2da2982205a82a4279ab992bdd2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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