From aafcab1e7237d3ccbc80945eb8379a985d567a53 Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Mon, 18 May 2015 13:10:34 -0300 Subject: ForceScheme now (hopefully) does not produce NaNs. Removed the Glyph class and placed all scatterplot drawing code inside the Scatterplot class. --- glyph.h | 42 ------------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 glyph.h (limited to 'glyph.h') 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 -#include - -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 -- cgit v1.2.3