##// END OF EJS Templates
Remove click exploding and hover highlighting from pie series API. User should always implement their own.
Remove click exploding and hover highlighting from pie series API. User should always implement their own.

File last commit:

r67:8474a34cb818
r436:b334955b5e36
Show More
chartwidget.h
28 lines | 519 B | text/x-c | CLexer
#ifndef CHARTWIDGET_H
#define CHARTWIDGET_H
#include <qchartview.h>
#include <QRubberBand>
QTCOMMERCIALCHART_USE_NAMESPACE
class ChartWidget : public QChartView
{
Q_OBJECT
public:
ChartWidget(QWidget *parent = 0);
protected:
void mousePressEvent(QMouseEvent *event);
void mouseMoveEvent(QMouseEvent *event);
void mouseReleaseEvent(QMouseEvent *event);
void keyPressEvent(QKeyEvent *event);
private:
bool rubberBandIsShown;
QRubberBand m_rubberBand;
QPoint m_origin;
};
#endif