mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-12 12:01:30 +00:00
17 lines
395 B
C
17 lines
395 B
C
|
#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
|