mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
ccb1c33d02
* ensure include guard to every header * comment endif guard block Signed-off-by: Boris Barbulovski <bbarbulovski@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
17 lines
414 B
C++
17 lines
414 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 // DIVELINEITEM_H
|