summaryrefslogtreecommitdiffstats
path: root/profile-widget/divelineitem.h
blob: 3623beb820c560e096afa66bca36f143322e94ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: GPL-2.0
#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);
};

#endif // DIVELINEITEM_H