##// END OF EJS Templates
improvements in execution time, colorbar ok, more work to do on axes,
improvements in execution time, colorbar ok, more work to do on axes,

File last commit:

r0:5db0360e1259 default
r3:ab1c9ba54a31 default
Show More
qcolormaplegendmarker.h
34 lines | 837 B | text/x-c | CLexer
/ src / charts / legend / qcolormaplegendmarker.h
#ifndef QCOLORMAPLEGENDMARKER_H
#define QCOLORMAPLEGENDMARKER_H
#include <QtCharts/QChartGlobal>
#include <QtCharts/QLegendMarker>
#include <QtCharts/QColorMapSeries>
QT_CHARTS_BEGIN_NAMESPACE
class QColorMapLegendMarkerPrivate;
class QColorMapLegendMarker : public QLegendMarker
{
Q_OBJECT
public:
explicit QColorMapLegendMarker(QColorMapSeries *series, QLegend *legend, QObject *parent = 0);
virtual ~QColorMapLegendMarker();
virtual LegendMarkerType type() { return LegendMarkerTypeColorMap; }
// Related series
virtual QColorMapSeries* series();
protected:
QColorMapLegendMarker(QColorMapLegendMarkerPrivate &d, QObject *parent = 0);
private:
Q_DECLARE_PRIVATE(QColorMapLegendMarker)
Q_DISABLE_COPY(QColorMapLegendMarker)
};
QT_CHARTS_END_NAMESPACE
#endif // QCOLORMAPLEGENDMARKER_H