##// END OF EJS Templates
Add build stamp and git head support for debug
Add build stamp and git head support for debug

File last commit:

r677:2b967c4f6e8e
r715:f8597835a464
Show More
separator_p.h
35 lines | 640 B | text/x-c | CLexer
sauimone
refactored barcharts. layout to derived classess other funtionality to base class
r126 #ifndef SEPARATOR_H
#define SEPARATOR_H
#include "chartitem_p.h"
QTCOMMERCIALCHART_BEGIN_NAMESPACE
Michal Klocek
Refactors chartitem...
r677 class Separator : public QGraphicsItem
sauimone
refactored barcharts. layout to derived classess other funtionality to base class
r126 {
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