aboutsummaryrefslogtreecommitdiff
path: root/glyph.h
diff options
context:
space:
mode:
authorSamuel Fadel <samuelfadel@gmail.com>2015-05-18 13:10:34 -0300
committerSamuel Fadel <samuelfadel@gmail.com>2015-05-18 13:10:34 -0300
commitaafcab1e7237d3ccbc80945eb8379a985d567a53 (patch)
tree3d41130be33ea023d11364f276ca07bcf8bd697d /glyph.h
parent0b6df071d94ae8f7c9cdd3c96506a1420129e471 (diff)
ForceScheme now (hopefully) does not produce NaNs. Removed the Glyph class and placed all scatterplot drawing code inside the Scatterplot class.
Diffstat (limited to 'glyph.h')
-rw-r--r--glyph.h42
1 files changed, 0 insertions, 42 deletions
diff --git a/glyph.h b/glyph.h
deleted file mode 100644
index 7532d04..0000000
--- a/glyph.h
+++ /dev/null
@@ -1,42 +0,0 @@
-#ifndef GLYPH_H
-#define GLYPH_H
-
-#include <QColor>
-#include <QtQuick/QQuickItem>
-
-class Glyph : public QQuickItem
-{
- Q_OBJECT
- Q_PROPERTY(QColor color READ color WRITE setColor NOTIFY colorChanged)
- Q_PROPERTY(qreal size READ size WRITE setSize NOTIFY sizeChanged)
-
-public:
- enum GlyphType {
- GLYPH_CIRCLE,
- GLYPH_SQUARE,
- GLYPH_STAR,
- GLYPH_CROSS
- };
-
- Glyph(QQuickItem *parent = 0);
-
- QSGNode *updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData *);
-
- QColor color() const { return m_color; }
- void setColor(const QColor &color);
-
- qreal size() const { return m_size; }
- void setSize(qreal size);
-
-signals:
- void colorChanged();
- void sizeChanged();
-
-public slots:
-
-private:
- QColor m_color;
- qreal m_size;
-};
-
-#endif // GLYPH_H