##// END OF EJS Templates
added labels to series, intergrated with test app. minor hack to test app
added labels to series, intergrated with test app. minor hack to test app

File last commit:

r149:23a271e217e1
r167:023d2c8150a8
Show More
separator_p.h
35 lines | 636 B | text/x-c | CLexer
#ifndef SEPARATOR_H
#define SEPARATOR_H
#include "chartitem_p.h"
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class Separator : public ChartItem
{
public:
Separator(QGraphicsItem *parent = 0);
void setPos(qreal x, qreal y);
void setColor(QColor color);
// From ChartItem
void setSize(const QSizeF &size);
// From QGraphicsItem
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
QRectF boundingRect() const;
private:
QColor mColor;
qreal mXpos;
qreal mYpos;
qreal mHeight;
qreal mWidth;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif // SEPARATOR_H