##// END OF EJS Templates
Renamed to QtCommercialChart
Renamed to QtCommercialChart

File last commit:

r30:ef99599d15b7
r30:ef99599d15b7
Show More
xygrid_p.h
31 lines | 687 B | text/x-c | CLexer
#ifndef XYGRID_H_
#define XYGRID_H_
#include <qchartglobal.h>
#include <xyplotdomain_p.h>
#include <QGraphicsItem>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class XYGrid : public QGraphicsItem
{
public:
XYGrid(QGraphicsItem* parent = 0);
virtual ~XYGrid();
//from QGraphicsItem
virtual QRectF boundingRect() const;
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
//TODO: this is just temporary interface
void setXYPlotData(const XYPlotDomain& xyPlotData);
void setSize(const QSizeF& rect);
private:
QRectF m_rect;
XYPlotDomain m_xyPlotData;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif /* XYGRID_H_ */