From a1956a4ff879eb2d34c7a0ca448f48ee6e64ce99 Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Tue, 1 Sep 2015 20:45:02 -0300 Subject: Improvements related to visual representation of distortions. - New continuous color scale class; - Improvements in signal handler for calculating distortions; - Implementation of the NP(k) measure. --- colorscale.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'colorscale.h') diff --git a/colorscale.h b/colorscale.h index 6e1212d..6e65012 100644 --- a/colorscale.h +++ b/colorscale.h @@ -11,12 +11,12 @@ public: ColorScale(const QColor &firstColor, const QColor &lastColor); ColorScale(std::initializer_list colors); ColorScale(const QList &colors); - ~ColorScale(); + virtual ~ColorScale(); + virtual QColor color(qreal t) const; void setExtents(qreal min, qreal max); - QColor color(qreal t) const; -private: +protected: qreal m_min, m_max; QList m_colors; }; -- cgit v1.2.3