summaryrefslogtreecommitdiffstats
path: root/profile-widget/divelineitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'profile-widget/divelineitem.h')
-rw-r--r--profile-widget/divelineitem.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/profile-widget/divelineitem.h b/profile-widget/divelineitem.h
new file mode 100644
index 000000000..ec88e9da5
--- /dev/null
+++ b/profile-widget/divelineitem.h
@@ -0,0 +1,15 @@
+#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