aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/divepixmapitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/profile/divepixmapitem.h')
-rw-r--r--qt-ui/profile/divepixmapitem.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/qt-ui/profile/divepixmapitem.h b/qt-ui/profile/divepixmapitem.h
new file mode 100644
index 000000000..c520e40a0
--- /dev/null
+++ b/qt-ui/profile/divepixmapitem.h
@@ -0,0 +1,17 @@
+#ifndef DIVEPIXMAPITEM_H
+#define DIVEPIXMAPITEM_H
+
+#include <QObject>
+#include <QGraphicsPixmapItem>
+
+class DivePixmapItem : public QObject, public QGraphicsPixmapItem{
+ Q_OBJECT
+ Q_PROPERTY(qreal opacity WRITE setOpacity READ opacity)
+ Q_PROPERTY(QPointF pos WRITE setPos READ pos)
+ Q_PROPERTY(qreal x WRITE setX READ x)
+ Q_PROPERTY(qreal y WRITE setY READ y)
+public:
+ DivePixmapItem(QObject* parent = 0);
+};
+
+#endif \ No newline at end of file