#ifndef WIDGETS_GRAPHPLOTTER_LEGEND_H
#define WIDGETS_GRAPHPLOTTER_LEGEND_H

#include "Common.h"


// -- TDE NAMESPACE ----------------------------------------------------

namespace TDE {

// -- Widgets NAMESPACE ------------------------------------------------

namespace Widgets {

namespace Plot {


#if 0
#include <QGraphicsTextItem>

class Legend;

typedef SHARED_PTR<Legend> LegendPtr;

class Legend : public QGraphicsTextItem
{
	Q_OBJECT

public:
	Legend(GraphPlotter* plotter, QGraphicsItem *parent = 0) :
		QGraphicsTextItem(parent), m_plotter(plotter) {}

	virtual QRectF boundingRect() const;

	virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget);

private:
	GraphPlotter* m_plotter;
};
#endif


} /* end of namespace Plot */

} /* end of namespace Widgets */

} /* end of namespace TDE */

#endif /* WIDGETS_GRAPHPLOTTER_LEGEND_H */
