##// END OF EJS Templates
donutbreakdown example now has customized legendmarkers
donutbreakdown example now has customized legendmarkers

File last commit:

r2150:128c1c36c673
r2233:222c26d04db8
Show More
widget.h
29 lines | 417 B | text/x-c | CLexer
Marek Rosa
Added callout example (Drawing on top of chart)
r2150 #ifndef WIDGET_H
#define WIDGET_H
#include <QWidget>
#include <QChart>
class QGraphicsScene;
class QGraphicsView;
QTCOMMERCIALCHART_USE_NAMESPACE
class Widget : public QWidget
{
Q_OBJECT
public:
Widget(QWidget *parent = 0);
~Widget();
public slots:
void addCallout(QPointF point);
private:
QGraphicsScene *m_scene;
QChart *m_chart;
QGraphicsView *m_view;
};
#endif // WIDGET_H