mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
49d0bb8406
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
16 lines
389 B
C++
16 lines
389 B
C++
// 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
|