##// 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:

r149:23a271e217e1
r436:b334955b5e36
Show More
barlabel_p.h
34 lines | 605 B | text/x-c | CLexer
#ifndef BARLABEL_H
#define BARLABEL_H
#include "chartitem_p.h"
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class BarLabel : public ChartItem
{
public:
BarLabel(QGraphicsItem* parent = 0);
void set(QString label);
void setPos(qreal x, qreal y);
// From ChartItem
void setSize(const QSizeF &size);
// From QGraphicsItem
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
QRectF boundingRect() const;
private:
QSizeF mSize;
QString mLabel;
qreal mXpos;
qreal mYpos;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif // BARLABEL_H